Revision fcdb582d man/gnt-node.rst
b/man/gnt-node.rst | ||
---|---|---|
175 | 175 |
The ``-o`` option takes a comma-separated list of output fields. |
176 | 176 |
The available fields and their meaning are: |
177 | 177 |
|
178 |
|
|
179 |
name |
|
180 |
the node name |
|
181 |
|
|
182 |
pinst_cnt |
|
183 |
the number of instances having this node as primary |
|
184 |
|
|
185 |
pinst_list |
|
186 |
the list of instances having this node as primary, comma separated |
|
187 |
|
|
188 |
sinst_cnt |
|
189 |
the number of instances having this node as a secondary node |
|
190 |
|
|
191 |
sinst_list |
|
192 |
the list of instances having this node as a secondary node, comma |
|
193 |
separated |
|
194 |
|
|
195 |
pip |
|
196 |
the primary ip of this node (used for cluster communication) |
|
197 |
|
|
198 |
sip |
|
199 |
the secondary ip of this node (used for data replication in dual-ip |
|
200 |
clusters, see gnt-cluster(8) |
|
201 |
|
|
202 |
dtotal |
|
203 |
total disk space in the volume group used for instance disk |
|
204 |
allocations |
|
205 |
|
|
206 |
dfree |
|
207 |
available disk space in the volume group |
|
208 |
|
|
209 |
mtotal |
|
210 |
total memory on the physical node |
|
211 |
|
|
212 |
mnode |
|
213 |
the memory used by the node itself |
|
214 |
|
|
215 |
mfree |
|
216 |
memory available for instance allocations |
|
217 |
|
|
218 |
bootid |
|
219 |
the node bootid value; this is a linux specific feature that |
|
220 |
assigns a new UUID to the node at each boot and can be use to |
|
221 |
detect node reboots (by tracking changes in this value) |
|
222 |
|
|
223 |
tags |
|
224 |
comma-separated list of the node's tags |
|
225 |
|
|
226 |
serial_no |
|
227 |
the so called 'serial number' of the node; this is a numeric field |
|
228 |
that is incremented each time the node is modified, and it can be |
|
229 |
used to detect modifications |
|
230 |
|
|
231 |
ctime |
|
232 |
the creation time of the node; note that this field contains spaces |
|
233 |
and as such it's harder to parse |
|
234 |
|
|
235 |
if this attribute is not present (e.g. when upgrading from older |
|
236 |
versions), then "N/A" will be shown instead |
|
237 |
|
|
238 |
mtime |
|
239 |
the last modification time of the node; note that this field |
|
240 |
contains spaces and as such it's harder to parse |
|
241 |
|
|
242 |
if this attribute is not present (e.g. when upgrading from older |
|
243 |
versions), then "N/A" will be shown instead |
|
244 |
|
|
245 |
uuid |
|
246 |
Show the UUID of the node (generated automatically by Ganeti) |
|
247 |
|
|
248 |
ctotal |
|
249 |
the toal number of logical processors |
|
250 |
|
|
251 |
cnodes |
|
252 |
the number of NUMA domains on the node, if the hypervisor can |
|
253 |
export this information |
|
254 |
|
|
255 |
csockets |
|
256 |
the number of physical CPU sockets, if the hypervisor can export |
|
257 |
this information |
|
258 |
|
|
259 |
master_candidate |
|
260 |
whether the node is a master candidate or not |
|
261 |
|
|
262 |
drained |
|
263 |
whether the node is drained or not; the cluster still communicates |
|
264 |
with drained nodes but excludes them from allocation operations |
|
265 |
|
|
266 |
offline |
|
267 |
whether the node is offline or not; if offline, the cluster does |
|
268 |
not communicate with offline nodes; useful for nodes that are not |
|
269 |
reachable in order to avoid delays |
|
270 |
|
|
271 |
role |
|
272 |
A condensed version of the node flags; this field will output a |
|
273 |
one-character field, with the following possible values: |
|
274 |
|
|
275 |
- *M* for the master node |
|
276 |
|
|
277 |
- *C* for a master candidate |
|
278 |
|
|
279 |
- *R* for a regular node |
|
280 |
|
|
281 |
- *D* for a drained node |
|
282 |
|
|
283 |
- *O* for an offline node |
|
284 |
|
|
285 |
master_capable |
|
286 |
whether the node can become a master candidate |
|
287 |
|
|
288 |
vm_capable |
|
289 |
whether the node can host instances |
|
290 |
|
|
291 |
group |
|
292 |
the name of the node's group, if known (the query is done without |
|
293 |
locking, so data consistency is not guaranteed) |
|
294 |
|
|
295 |
group.uuid |
|
296 |
the UUID of the node's group |
|
297 |
|
|
178 |
@QUERY_FIELDS_NODE@ |
|
298 | 179 |
|
299 | 180 |
If the value of the option starts with the character ``+``, the new |
300 | 181 |
fields will be added to the default list. This allows to quickly |
Also available in: Unified diff