Statistics
| Branch: | Tag: | Revision:

root / man / gnt-group.rst @ 667dbd6b

History | View | Annotate | Download (1.5 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
If no group names are given, then all groups are included. Otherwise,
64
only the named groups will be listed.