When doing dynamic balancing, it might be desirable to not balance based on static information if dynamic information is missing. Add an option to support this. While there, also make sure that the Xen CPU collector stops reporting about instances that moved away in a reasonable time after the move (we use a time equal to that for a reliable value to be available on the new node; in this way continous balancing is possible).
Klaus Aehlig (6): Make queryAllMonDDCs return if it succeeded Add an option --exit-on-missing-mond-data Make ExtLoader honor --exit-on-missing-mond-data Add --exit-on-missing-mond-data to hbal Document --exit-on-missing-mond-data in hbal man page Clean out old instances in Xen CPU load man/hbal.rst | 6 ++++++ src/Ganeti/DataCollectors/XenCpuLoad.hs | 10 ++++++++-- src/Ganeti/HTools/Backend/MonD.hs | 24 +++++++++++++++--------- src/Ganeti/HTools/CLI.hs | 11 +++++++++++ src/Ganeti/HTools/ExtLoader.hs | 7 ++++--- src/Ganeti/HTools/Program/Hail.hs | 5 +++-- src/Ganeti/HTools/Program/Hbal.hs | 1 + 7 files changed, 48 insertions(+), 16 deletions(-) -- 2.2.0.rc0.207.ga3a616c
