Revision 919852da man/gnt-group.rst

b/man/gnt-group.rst
29 29
| {*group*}
30 30

  
31 31
Creates a new group with the given name. The node group will be
32
initially empty.
32
initially empty; to add nodes to it, use ``gnt-group assign-nodes``.
33 33

  
34 34
The ``--node-parameters`` option allows you to set default node
35 35
parameters for nodes in the group. Please see **ganeti**(7) for more
......
52 52
    (this is the default). Note that prioritization among groups in this
53 53
    state will be deferred to the iallocator plugin that's being used.
54 54

  
55
ASSIGN-NODES
56
~~~~~~~~~~~~
57

  
58
| **assign-nodes**
59
| [--force]
60
| {*group*} {*node*...}
61

  
62
Assigns one or more nodes to the specified group, moving them from their
63
original group (or groups).
64

  
65
By default, this command will refuse to proceed if the move would split
66
between groups any instance that was not previously split (a split
67
instance is an instance with a mirrored disk template, e.g. DRBD, that
68
has the primary and secondary nodes in different node groups). You can
69
force the operation with ``--force``.
55 70

  
56 71
MODIFY
57 72
~~~~~~

Also available in: Unified diff