Statistics
| Branch: | Tag: | Revision:

root / man / gnt-group.rst @ 4edc512c

History | View | Annotate | Download (2 kB)

1
gnt-group(8) Ganeti | Version @GANETI_VERSION@
2
==============================================
3

    
4
Name
5
----
6

    
7
gnt-group - Ganeti node-group administration
8

    
9
Synopsis
10
--------
11

    
12
**gnt-group** {command} [arguments...]
13

    
14
DESCRIPTION
15
-----------
16

    
17
The **gnt-group** command is used for node group administration in
18
the Ganeti system.
19

    
20
COMMANDS
21
--------
22

    
23
LIST
24
~~~~
25

    
26
| **list** [--no-headers] [--separator=*SEPARATOR*]
27
| [-o *[+]FIELD,...*] [group...]
28

    
29
Lists all existing node groups in the cluster.
30

    
31
The ``--no-headers`` option will skip the initial header line. The
32
``--separator`` option takes an argument which denotes what will be
33
used between the output fields. Both these options are to help
34
scripting.
35

    
36
The ``-o`` option takes a comma-separated list of output fields.
37
If the value of the option starts with the character ``+``, the new
38
fields will be added to the default list. This allows to quickly
39
see the default list plus a few other fields, instead of retyping
40
the entire list of fields.
41

    
42
The available fields and their meaning are:
43

    
44
name
45
    the group name
46

    
47
uuid
48
    the group's UUID
49

    
50
node_cnt
51
    the number of nodes in the node group
52

    
53
node_list
54
    the list of nodes that belong to this group
55

    
56
pinst_cnt
57
    the number of primary instances in the group (i.e., the number of
58
    primary instances nodes in this group have)
59

    
60
pinst_list
61
    the list of primary instances in the group
62

    
63
ctime
64
    the creation time of the group; note that this field contains spaces
65
    and as such it's harder to parse
66

    
67
    if this attribute is not present (e.g. when upgrading from older
68
    versions), then "N/A" will be shown instead
69

    
70
mtime
71
    the last modification time of the group; note that this field
72
    contains spaces and as such it's harder to parse
73

    
74
serial_no
75
    the so called 'serial number' of the group; this is a numeric field
76
    that is incremented each time the node is modified, and it can be
77
    used to detect modifications
78

    
79
If no group names are given, then all groups are included. Otherwise,
80
only the named groups will be listed.