1 gnt-group(8) Ganeti | Version @GANETI_VERSION@
2 ==============================================
7 gnt-group - Ganeti node-group administration
12 **gnt-group** {command} [arguments...]
17 The **gnt-group** command is used for node group administration in
28 Creates a new group with the given name. The node group will be
34 | **remove** {*group*}
36 Deletes the indicated node group, which must be empty.
41 | **list** [--no-headers] [--separator=*SEPARATOR*]
42 | [-o *[+]FIELD,...*] [group...]
44 Lists all existing node groups in the cluster.
46 The ``--no-headers`` option will skip the initial header line. The
47 ``--separator`` option takes an argument which denotes what will be
48 used between the output fields. Both these options are to help
51 The ``-o`` option takes a comma-separated list of output fields.
52 If the value of the option starts with the character ``+``, the new
53 fields will be added to the default list. This allows to quickly
54 see the default list plus a few other fields, instead of retyping
55 the entire list of fields.
57 The available fields and their meaning are:
66 the number of nodes in the node group
69 the list of nodes that belong to this group
72 the number of primary instances in the group (i.e., the number of
73 primary instances nodes in this group have)
76 the list of primary instances in the group
79 the creation time of the group; note that this field contains spaces
80 and as such it's harder to parse
82 if this attribute is not present (e.g. when upgrading from older
83 versions), then "N/A" will be shown instead
86 the last modification time of the group; note that this field
87 contains spaces and as such it's harder to parse
90 the so called 'serial number' of the group; this is a numeric field
91 that is incremented each time the node is modified, and it can be
92 used to detect modifications
94 If no group names are given, then all groups are included. Otherwise,
95 only the named groups will be listed.
100 | **rename** {*oldname*} {*newname*}
102 Renames a given group from *oldname* to *newname*.