The branch, master has been updated
via 2922d2c576d85983eb5f6ac82982b641aacc954b (commit)
from 4f511a131138c8c6158d66cd14c115b4547dc54a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2922d2c576d85983eb5f6ac82982b641aacc954b
Author: René Nussbaumer <r...@google.com>
Date: Mon Feb 27 10:33:08 2012 +0100
hinfo: Adding basic skeleton based on hbal
It prints the information which hbal prints in a nice formatted manner and of
course without doing any actions. An example output looks like this:
$ hinfo -m xen.example.com
Loaded 4 nodes, 2 instances
Cluster has 1 node group(s)
Cluster coefficients:
Field Value Weight
free_mem_cv 0.00195342 x1.00
free_disk_cv 0.00000000 x1.00
n1_cnt 0.00000000 x1.00
reserved_mem_cv 0.00195342 x1.00
offline_all_cnt 0.00000000 x4.00
offline_pri_cnt 0.00000000 x16.00
vcpu_ratio_cv 0.12500000 x1.00
cpu_load_cv 0.50000000 x1.00
mem_load_cv 0.50000000 x1.00
disk_load_cv 0.00000000 x1.00
net_load_cv 0.50000000 x1.00
pri_tags_score 0.00000000 x2.00
Cluster score: 1.62890685
Signed-off-by: René Nussbaumer <r...@google.com>
Reviewed-by: Iustin Pop <ius...@google.com>
-----------------------------------------------------------------------
Summary of changes:
Makefile.am | 3 +-
htools/Ganeti/HTools/Cluster.hs | 15 +++--
htools/Ganeti/HTools/Program.hs | 2 +
htools/Ganeti/HTools/Program/Hbal.hs | 8 +-
htools/Ganeti/HTools/Program/Hinfo.hs | 111 ++++++++++++++++++++++++++++++++
htools/Ganeti/HTools/Program/Hspace.hs | 4 +-
6 files changed, 131 insertions(+), 12 deletions(-)
create mode 100644 htools/Ganeti/HTools/Program/Hinfo.hs
hooks/post-receive
--
Ganeti core