Revision 294bb337 man/hspace.rst
b/man/hspace.rst | ||
---|---|---|
29 | 29 |
|
30 | 30 |
Request options: |
31 | 31 |
|
32 |
**[--memory** *mem* **]** |
|
33 |
**[--disk** *disk* **]** |
|
34 | 32 |
**[--disk-template** *template* **]** |
35 |
**[--vcpus** *vcpus* **]** |
|
36 |
**[--tiered-alloc** *spec* **]** |
|
33 |
|
|
34 |
**[--standard-alloc** *disk,ram,cpu* **]** |
|
35 |
|
|
36 |
**[--tiered-alloc** *disk,ram,cpu* **]** |
|
37 | 37 |
|
38 | 38 |
Output options: |
39 | 39 |
|
... | ... | |
201 | 201 |
|
202 | 202 |
The options that can be passed to the program are as follows: |
203 | 203 |
|
204 |
--memory *mem* |
|
205 |
The memory size of the instances to be placed (defaults to |
|
206 |
4GiB). Units can be used (see below for more details). |
|
207 |
|
|
208 |
--disk *disk* |
|
209 |
The disk size of the instances to be placed (defaults to |
|
210 |
100GiB). Units can be used. |
|
211 |
|
|
212 | 204 |
--disk-template *template* |
213 | 205 |
The disk template for the instance; one of the Ganeti disk templates |
214 | 206 |
(e.g. plain, drbd, so on) should be passed in. |
215 | 207 |
|
216 |
--vcpus *vcpus* |
|
217 |
The number of VCPUs of the instances to be placed (defaults to 1). |
|
218 |
|
|
219 | 208 |
--max-cpu=*cpu-ratio* |
220 | 209 |
The maximum virtual to physical cpu ratio, as a floating point number |
221 | 210 |
greater than or equal to one. For example, specifying *cpu-ratio* as |
... | ... | |
284 | 273 |
overriding the cluster data with a simulated cluster. For details |
285 | 274 |
about the description, see the man page **htools**(1). |
286 | 275 |
|
287 |
--tiered-alloc *spec* |
|
288 |
Besides the standard, fixed-size allocation, also do a tiered |
|
289 |
allocation scheme where the algorithm starts from the given |
|
290 |
specification and allocates until there is no more space; then it |
|
291 |
decreases the specification and tries the allocation again. The |
|
292 |
decrease is done on the matric that last failed during |
|
293 |
allocation. The specification given is similar to the *--simulate* |
|
294 |
option and it holds: |
|
276 |
--standard-alloc *disk,ram,cpu* |
|
277 |
This option specifies the instance size for the *standard* allocation |
|
278 |
mode, where we simply allocate instances of the same, fixed size until |
|
279 |
the cluster runs out of space. |
|
280 |
|
|
281 |
The specification given is similar to the *--simulate* option and it |
|
282 |
holds: |
|
295 | 283 |
|
296 | 284 |
- the disk size of the instance (units can be used) |
297 | 285 |
- the memory size of the instance (units can be used) |
298 | 286 |
- the vcpu count for the insance |
299 | 287 |
|
300 |
An example description would be *100G,4g,2* describing an initial |
|
301 |
starting specification of 100GB of disk space, 4GiB of memory and 2 |
|
302 |
VCPUs. |
|
288 |
An example description would be *100G,4g,2* describing an instance |
|
289 |
specification of 100GB of disk space, 4GiB of memory and 2 VCPUs. |
|
290 |
|
|
291 |
--tiered-alloc *disk,ram,cpu* |
|
292 |
Besides the standard, fixed-size allocation, also do a tiered |
|
293 |
allocation scheme where the algorithm starts from the given |
|
294 |
specification and allocates until there is no more space; then it |
|
295 |
decreases the specification and tries the allocation again. The |
|
296 |
decrease is done on the metric that last failed during allocation. The |
|
297 |
argument should have the same format as for ``-standard-alloc``. |
|
303 | 298 |
|
304 | 299 |
Also note that the normal allocation and the tiered allocation are |
305 | 300 |
independent, and both start from the initial cluster state; as such, |
Also available in: Unified diff