Statistics
| Branch: | Tag: | Revision:

root / Ganeti / HTools @ 306cccd5

Name Size
CLI.hs 15 kB
Cluster.hs 33.9 kB
Container.hs 2.8 kB
ExtLoader.hs 4.6 kB
IAlloc.hs 6.4 kB
Instance.hs 6.1 kB
Loader.hs 8.3 kB
Luxi.hs 5.6 kB
Node.hs 18.5 kB
PeerMap.hs 2.8 kB
QC.hs 25.9 kB
Rapi.hs 4.9 kB
Simu.hs 2.2 kB
Text.hs 5.4 kB
Types.hs 5.9 kB
Utils.hs 6.6 kB
Version.hs.in 201 Bytes

Latest revisions

# Date Author Comment
306cccd5 11/09/2010 09:37 am Iustin Pop

Fix tag exclusion weight

Currently, the tag exclusion metric has a weight of one, which means
there might be cases where we won't move instances around because it
upsets the cluster metrics. However, we do want to make a higher effort
for cleaning up tag collisions, so we increase the weight to an...

e3ae9508 10/07/2010 03:42 pm Iustin Pop

Fix some warnings in unittests

03c6d8fa 10/06/2010 03:56 pm Iustin Pop

Improve the error message for tiered alloc option

848b65c9 09/03/2010 06:02 pm Iustin Pop

Use the mingain options in the balancing algorithm

Also adds them in hbal.

4f807a57 09/03/2010 03:35 pm Iustin Pop

Add new CLI options for min gain during balancing

Recent hbal seems to run many steps for small improvements (< 1e-3), so
we should stop early in this case.

We add a new option (-g), that will be used for the minimum gain during
balancing. This check will only become active when the cluster score is...

adc5c176 09/02/2010 03:43 pm Iustin Pop

Add some more debugging functions

These are just variations of the standard debug, but are provided for
simpler code, since lazyness is something causing non-computation of
debug statements.

74e89a14 09/02/2010 03:43 pm Iustin Pop

Fix ReplaceSecondary moves for offline nodes

The addition of a new secondary on a node is doing two memory tests:
- in strict mode, reject if we get into N+1 failure
- reject if the new instance memory is greater than the free memory (not
available memory) on the node...

94d08202 08/30/2010 12:12 pm Iustin Pop

Change iterateAlloc to return the instance list

The Cluster.iterateAlloc and tieredAlloc functions are changed to also
return the updated instance list, since it is needed to have a “full”
cluster view.

4a273e97 08/30/2010 12:12 pm Iustin Pop

Abstract the cluster serialization from hscan.hs

This is currently hardcoded in an internal function in hscan.hs, and we
move it to Text.hs for later use.

02da9d07 08/25/2010 07:40 pm Iustin Pop

Add a new option --save-cluster

This option will in the future be used to serialize the cluster state in
hbal and hspace after the rebalance/allocation steps.

View revisions

Also available in: Atom