Skip to content
Snippets Groups Projects
hcheck.rst 1.59 KiB

HCHECK(1) Ganeti | Version @GANETI_VERSION@

NAME

hcheck - Cluster checker

SYNOPSIS

hcheck {backend options...} [algorithm options...] [reporting options...]

hcheck --version

Backend options:

{ -m cluster | -L[ path ] | **-t data-file | -I path }

Algorithm options:

[ --no-simulation ] [ --max-cpu *cpu-ratio* ] [ --min-disk *disk-ratio* ] [ -l *limit* ] [ -e *score* ] [ -g *delta* ] [ --min-gain-limit *threshold* ] [ -O *name...* ] [ --no-disk-moves ] [ --no-instance-moves ] [ -U *util-file* ] [ --evac-mode ] [ --select-instances *inst...* ] [ --exclude-instances *inst...* ]

Reporting options:

[--machine-readable**[=*CHOICE*] **] [ -p[ *fields* ] ] [ --print-instances ] [ -v... | -q ]

DESCRIPTION

hcheck is the cluster checker. It prints information about cluster's health and checks whether a rebalance done using hbal would help.

This information can be presented in both human-readable and machine-readable way.

Note that it does not take any action, only performs a rebalance simulation if necessary.

For more information about the algorithm details check hbal(1).

OPTIONS

--no-simulation
Only perform checks based on current cluster state, without trying to simulate rebalancing.

For a detailed description about the options listed above have a look at htools(7), hspace(1) and hbal(1).