Revision 0ec2ce46 man/ganeti.rst

b/man/ganeti.rst
110 110
    document.
111 111

  
112 112

  
113
Hypervisor State Parameters
114
~~~~~~~~~~~~~~~~~~~~~~~~~~~
115

  
116
Using ``--hypervisor-state`` you can set hypervisor specific states as
117
pointed out in ``Ganeti Resource Model <design-resource-model.rst>``.
118

  
119
The format is: ``hypervisor:option=value``.
120

  
121
Currently we support the following hypervisor state values:
122

  
123
mem_total
124
  Total node memory, as discovered by this hypervisor
125
mem_node
126
  Memory used by, or reserved for, the node itself; note that some
127
  hypervisors can report this in an authoritative way, other not
128
mem_hv
129
  Memory used either by the hypervisor itself or lost due to instance
130
  allocation rounding; usually this cannot be precisely computed, but
131
  only roughly estimated
132
cpu_total
133
  Total node cpu (core) count; usually this can be discovered
134
  automatically
135
cpu_node
136
  Number of cores reserved for the node itself; this can either be
137
  discovered or set manually. Only used for estimating how many VCPUs
138
  are left for instances
139

  
140

  
141
Disk State Parameters
142
~~~~~~~~~~~~~~~~~~~~~
143

  
144
Using ``--disk-state`` you can set disk specific states as pointed out
145
in ``Ganeti Resource Model <design-resource-model.rst>``.
146

  
147
The format is: ``storage_type/identifier:option=value``. Where we
148
currently just support ``lvm`` as storage type. The identifier in this
149
case is the LVM volume group. By default this is ``xenvg``.
150

  
151
Currently we support the following hypervisor state values:
152

  
153
disk_total
154
  Total disk size (usually discovered automatically)
155
disk_reserved
156
  Reserved disk size; this is a lower limit on the free space, if such a
157
  limit is desired
158
disk_overhead
159
  Disk that is expected to be used by other volumes (set via
160
  ``reserved_lvs``); usually should be zero
161

  
162

  
113 163
Cluster configuration
114 164
~~~~~~~~~~~~~~~~~~~~~
115 165

  

Also available in: Unified diff