Revision a24aed2a man/gnt-cluster.rst
b/man/gnt-cluster.rst | ||
---|---|---|
44 | 44 |
COMMAND |
45 | 45 |
~~~~~~~ |
46 | 46 |
|
47 |
**command** [-n *node*] [-g *group*] {*command*} |
|
47 |
**command** [-n *node*] [-g *group*] [-M] {*command*}
|
|
48 | 48 |
|
49 | 49 |
Executes a command on all nodes. If the option ``-n`` is not given, |
50 | 50 |
the command will be executed on all nodes, otherwise it will be |
... | ... | |
58 | 58 |
|
59 | 59 |
# gnt-cluster command -g default date |
60 | 60 |
|
61 |
The ``-M`` option can be used to prepend the node name to all output |
|
62 |
lines. |
|
63 |
|
|
61 | 64 |
The command is executed serially on the selected nodes. If the |
62 | 65 |
master node is present in the list, the command will be executed |
63 | 66 |
last on the master. Regarding the other nodes, the execution order |
Also available in: Unified diff