Revision 877d0386
b/hbal.1 | ||
---|---|---|
14 | 14 |
.BI "[-m " cluster "]" |
15 | 15 |
.BI "[-n " nodes-file " ]" |
16 | 16 |
.BI "[-i " instances-file "]" |
17 |
.BI "[--max-cpu " cpu-ratio "]" |
|
18 |
.BI "[--min-disk " disk-ratio "]" |
|
17 | 19 |
|
18 | 20 |
.B hbal |
19 | 21 |
.B --version |
... | ... | |
89 | 91 |
\(em |
90 | 92 |
percentage of instances living (either as primary or secondary) on |
91 | 93 |
offline nodes |
94 |
.TP |
|
95 |
\(em |
|
96 |
coefficent of variance of the ratio of virtual-to-physical cpus (for |
|
97 |
primary instaces of the node) |
|
92 | 98 |
.RE |
93 | 99 |
|
94 | 100 |
The free memory and free disk values help ensure that all nodes are |
... | ... | |
137 | 143 |
.RS 4 |
138 | 144 |
.TP 3 |
139 | 145 |
\(em |
140 |
CPU usage of instances, combined with VCPU versus PCPU count
|
|
146 |
CPU usage of instances |
|
141 | 147 |
.TP |
142 | 148 |
\(em |
143 | 149 |
Disk IO usage |
... | ... | |
194 | 200 |
.B f_dsk |
195 | 201 |
free disk |
196 | 202 |
.TP |
203 |
.B pcpu |
|
204 |
the number of physical cpus on the node |
|
205 |
.TP |
|
206 |
.B vcpu |
|
207 |
the number of virtual cpus allocated to primary instances |
|
208 |
.TP |
|
197 | 209 |
.B pri |
198 | 210 |
number of primary instances |
199 | 211 |
.TP |
... | ... | |
205 | 217 |
.TP |
206 | 218 |
.B p_fdsk |
207 | 219 |
percent of free disk |
220 |
.TP |
|
221 |
.B r_cpu |
|
222 |
ratio of virtual to physical cpus |
|
208 | 223 |
.RE |
209 | 224 |
|
210 | 225 |
.TP |
... | ... | |
298 | 313 |
automate the execution of the balancing. |
299 | 314 |
|
300 | 315 |
.TP |
316 |
.BI "--max-cpu " cpu-ratio |
|
317 |
The maximum virtual-to-physical cpu ratio, as a floating point number |
|
318 |
between zero and one. For example, specifying \fIcpu-ratio\fR as |
|
319 |
\fB2.5\fR means that, for a 4-cpu machine, a maximum of 10 virtual |
|
320 |
cpus should be allowed to be in use for primary instances. A value of |
|
321 |
one doesn't make sense though, as that means no disk space can be used |
|
322 |
on it. |
|
323 |
|
|
324 |
.TP |
|
325 |
.BI "--min-disk " disk-ratio |
|
326 |
The minimum amount of free disk space remaining, as a floating point |
|
327 |
number. For example, specifying \fIdisk-ratio\fR as \fB0.25\fR means |
|
328 |
that at least one quarter of disk space should be left free on nodes. |
|
329 |
|
|
330 |
.TP |
|
301 | 331 |
.B -v, --verbose |
302 | 332 |
Increase the output verbosity. Each usage of this option will increase |
303 | 333 |
the verbosity (currently more than 2 doesn't make sense) from the |
b/hbal.hs | ||
---|---|---|
139 | 139 |
, Option [] ["max-cpu"] |
140 | 140 |
(ReqArg (\ n opts -> opts { optMcpu = read n }) "RATIO") |
141 | 141 |
"maximum virtual-to-physical cpu ratio for nodes" |
142 |
, Option [] ["max-disk"]
|
|
142 |
, Option [] ["min-disk"]
|
|
143 | 143 |
(ReqArg (\ n opts -> opts { optMdsk = read n }) "RATIO") |
144 | 144 |
"minimum free disk space for nodes (between 0 and 1)" |
145 | 145 |
, Option ['V'] ["version"] |
b/hn1.1 | ||
---|---|---|
203 | 203 |
.B f_dsk |
204 | 204 |
free disk |
205 | 205 |
.TP |
206 |
.B pcpu |
|
207 |
the number of physical cpus on the node |
|
208 |
.TP |
|
209 |
.B vcpu |
|
210 |
the number of virtual cpus allocated to primary instances |
|
211 |
.TP |
|
206 | 212 |
.B pri |
207 | 213 |
number of primary instances |
208 | 214 |
.TP |
... | ... | |
214 | 220 |
.TP |
215 | 221 |
.B p_fdsk |
216 | 222 |
percent of free disk |
223 |
.TP |
|
224 |
.B r_cpu |
|
225 |
ratio of virtual to physical cpus |
|
217 | 226 |
.RE |
218 | 227 |
|
219 | 228 |
.TP |
b/hspace.1 | ||
---|---|---|
13 | 13 |
.BI "[--memory " mem "]" |
14 | 14 |
.BI "[--disk " disk "]" |
15 | 15 |
.BI "[--req-nodes " req-nodes "]" |
16 |
.BI "[--max-cpu " cpu-ratio "]" |
|
17 |
.BI "[--min-disk " disk-ratio "]" |
|
16 | 18 |
|
17 | 19 |
.B hspace |
18 | 20 |
.B --version |
... | ... | |
46 | 48 |
mirrored instances, while passing one means plain type instances. |
47 | 49 |
|
48 | 50 |
.TP |
51 |
.BI "--max-cpu " cpu-ratio |
|
52 |
The maximum virtual-to-physical cpu ratio, as a floating point number |
|
53 |
between zero and one. For example, specifying \fIcpu-ratio\fR as |
|
54 |
\fB2.5\fR means that, for a 4-cpu machine, a maximum of 10 virtual |
|
55 |
cpus should be allowed to be in use for primary instances. A value of |
|
56 |
one doesn't make sense though, as that means no disk space can be used |
|
57 |
on it. |
|
58 |
|
|
59 |
.TP |
|
60 |
.BI "--min-disk " disk-ratio |
|
61 |
The minimum amount of free disk space remaining, as a floating point |
|
62 |
number. For example, specifying \fIdisk-ratio\fR as \fB0.25\fR means |
|
63 |
that at least one quarter of disk space should be left free on nodes. |
|
64 |
|
|
65 |
.TP |
|
49 | 66 |
.B -p, --print-nodes |
50 | 67 |
Prints the before and after node status, in a format designed to allow |
51 | 68 |
the user to understand the node's most important parameters. |
... | ... | |
87 | 104 |
.B f_dsk |
88 | 105 |
free disk |
89 | 106 |
.TP |
107 |
.B pcpu |
|
108 |
the number of physical cpus on the node |
|
109 |
.TP |
|
110 |
.B vcpu |
|
111 |
the number of virtual cpus allocated to primary instances |
|
112 |
.TP |
|
90 | 113 |
.B pri |
91 | 114 |
number of primary instances |
92 | 115 |
.TP |
... | ... | |
98 | 121 |
.TP |
99 | 122 |
.B p_fdsk |
100 | 123 |
percent of free disk |
124 |
.TP |
|
125 |
.B r_cpu |
|
126 |
ratio of virtual to physical cpus |
|
101 | 127 |
.RE |
102 | 128 |
|
103 | 129 |
.TP |
b/hspace.hs | ||
---|---|---|
136 | 136 |
, Option [] ["max-cpu"] |
137 | 137 |
(ReqArg (\ n opts -> opts { optMcpu = read n }) "RATIO") |
138 | 138 |
"maximum virtual-to-physical cpu ratio for nodes" |
139 |
, Option [] ["max-disk"]
|
|
139 |
, Option [] ["min-disk"]
|
|
140 | 140 |
(ReqArg (\ n opts -> opts { optMdsk = read n }) "RATIO") |
141 | 141 |
"minimum free disk space for nodes (between 0 and 1)" |
142 | 142 |
, Option ['V'] ["version"] |
Also available in: Unified diff