Revision aafee533 man/gnt-node.rst

b/man/gnt-node.rst
87 87
~~~~~~~~
88 88

  
89 89
**evacuate** [-f] [--early-release] [--iallocator *NAME* \|
90
--new-secondary *destination\_node*] {*node*...}
90
--new-secondary *destination\_node*]
91
[--primary-only \| --secondary-only] [--early-release] {*node*}
91 92

  
92
This command will move all secondary instances away from the given
93
node(s). It works only for instances having a drbd disk template.
93
This command will move instances away from the given node. If
94
``--primary-only`` is given, only primary instances are evacuated, with
95
``--secondary-only`` only secondaries. If neither is given, all
96
instances are evacuated. It works only for instances having a drbd disk
97
template.
94 98

  
95 99
The new location for the instances can be specified in two ways:
96 100

  
......
101 105
  parameter, so each instance will be in turn placed on the (per the
102 106
  script) optimal node
103 107

  
104

  
105 108
The ``--early-release`` changes the code so that the old storage on
106 109
node being evacuated is removed early (before the resync is
107 110
completed) and the internal Ganeti locks are also released for both

Also available in: Unified diff