Merge branch 'stable-2.6' into stable-2.6-ippool-hotplug-esi
[ganeti-local] / man / hcheck.rst
1 HCHECK(1) Ganeti | Version @GANETI_VERSION@
2 ===========================================
3
4 NAME
5 ----
6
7 hcheck \- Cluster checker
8
9 SYNOPSIS
10 --------
11
12 **hcheck** {backend options...} [algorithm options...] [reporting options...]
13
14 **hcheck** \--version
15
16
17 Backend options:
18
19 { **-m** *cluster* | **-L[** *path* **] | **-t** *data-file* |
20 **-I** *path* }
21
22 Algorithm options:
23
24 **[ \--no-simulation ]**
25 **[ \--max-cpu *cpu-ratio* ]**
26 **[ \--min-disk *disk-ratio* ]**
27 **[ -l *limit* ]**
28 **[ -e *score* ]**
29 **[ -g *delta* ]** **[ \--min-gain-limit *threshold* ]**
30 **[ -O *name...* ]**
31 **[ \--no-disk-moves ]**
32 **[ \--no-instance-moves ]**
33 **[ -U *util-file* ]**
34 **[ \--evac-mode ]**
35 **[ \--select-instances *inst...* ]**
36 **[ \--exclude-instances *inst...* ]**
37
38 Reporting options:
39
40 **[\--machine-readable**[=*CHOICE*] **]**
41 **[ -p[ *fields* ] ]**
42 **[ \--print-instances ]**
43 **[ -v... | -q ]**
44
45
46 DESCRIPTION
47 -----------
48
49 hcheck is the cluster checker. It prints information about cluster's
50 health and checks whether a rebalance done using **hbal** would help.
51
52 This information can be presented in both human-readable and
53 machine-readable way.
54
55 Note that it does not take any action, only performs a rebalance
56 simulation if necessary.
57
58 For more information about the algorithm details check **hbal(1)**.
59
60 OPTIONS
61 -------
62
63 \--no-simulation
64   Only perform checks based on current cluster state, without trying
65   to simulate rebalancing.
66
67 For a detailed description about the options listed above have a look at
68 **htools(7)**, **hspace(1)** and **hbal(1)**.
69
70 .. vim: set textwidth=72 :
71 .. Local Variables:
72 .. mode: rst
73 .. fill-column: 72
74 .. End: