On Fri, Jan 7, 2011 at 16:02 +0000, Michael Hanselmann <[email protected]>
wrote:
> Am 7. Januar 2011 15:49 schrieb Adeodato Simo <[email protected]>:
> > --- a/man/gnt-group.rst
> > +++ b/man/gnt-group.rst
> > @@ -29,7 +29,7 @@ ADD
> > | {*group*}
> > Creates a new group with the given name. The node group will be
> > -initially empty.
> > +initially empty; to add nodes to it, use ``gnt-group assign-nodes``.
> Could you please document this command separately, too?
Absolutely. It was as a "pending task" in my head, but I managed to
forget about it.
--- a/man/gnt-group.rst
+++ b/man/gnt-group.rst
@@ -52,6 +52,21 @@ preferred
(this is the default). Note that prioritization among groups in this
state will be deferred to the iallocator plugin that's being used.
+ASSIGN-NODES
+~~~~~~~~~~~~
+
+| **assign-nodes**
+| [--force]
+| {*group*} {*node*...}
+
+Assigns one or more nodes to the specified group, moving them from their
+original group (or groups).
+
+By default, this command will refuse to proceed if the move would split
+between groups any instance that was not previously split (a split
+instance is an instance with a mirrored disk tempalte, e.g. DRBD, that
+has the primary and secondary nodes in different node groups). You can
+force the operation with ``--force``.
MODIFY
~~~~~~
--
Adeodato Simo | [email protected]
Corp Computing Services SRE (Dublin)