Revision 7e9366f7 man/gnt-instance.sgml
b/man/gnt-instance.sgml | ||
---|---|---|
1082 | 1082 |
|
1083 | 1083 |
<cmdsynopsis> |
1084 | 1084 |
<command>replace-disks</command> |
1085 |
<arg choice="req">-p</arg> |
|
1086 |
<arg choice="req"><replaceable>instance</replaceable></arg> |
|
1087 |
</cmdsynopsis> |
|
1085 | 1088 |
|
1086 |
<group choice="req"> |
|
1087 |
<arg>--iallocator <replaceable>name</replaceable></arg> |
|
1088 |
<arg>--new-secondary <replaceable>NODE</replaceable></arg> |
|
1089 |
</group> |
|
1090 |
<sbr> |
|
1089 |
<cmdsynopsis> |
|
1090 |
<command>replace-disks</command> |
|
1091 | 1091 |
|
1092 |
<arg choice="opt">-s</arg>
|
|
1092 |
<arg choice="req">-s</arg>
|
|
1093 | 1093 |
<arg choice="req"><replaceable>instance</replaceable></arg> |
1094 | 1094 |
</cmdsynopsis> |
1095 | 1095 |
|
1096 | 1096 |
<cmdsynopsis> |
1097 | 1097 |
<command>replace-disks</command> |
1098 | 1098 |
|
1099 |
<group> |
|
1100 |
<arg choice="req">-s</arg>
|
|
1101 |
<arg choice="req">-p</arg>
|
|
1099 |
<group choice="req">
|
|
1100 |
<arg>--iallocator <replaceable>name</replaceable></arg>
|
|
1101 |
<arg>--new-secondary <replaceable>NODE</replaceable></arg>
|
|
1102 | 1102 |
</group> |
1103 |
|
|
1103 | 1104 |
<arg choice="req"><replaceable>instance</replaceable></arg> |
1104 | 1105 |
</cmdsynopsis> |
1105 | 1106 |
|
... | ... | |
1110 | 1111 |
</para> |
1111 | 1112 |
|
1112 | 1113 |
<para> |
1113 |
The first form will do a secondary node change, while the
|
|
1114 |
second form will replace the disks on either the primary
|
|
1115 |
(<option>-p</option>) or the secondary (<option>-s</option>)
|
|
1116 |
node of the instance only, without changing the node.
|
|
1114 |
The first form (when passing the <option>-p</option> option)
|
|
1115 |
will replace the disks on the primary, while the second form
|
|
1116 |
(when passing the <option>-s</option> option will replace
|
|
1117 |
the disks on the secondary node.
|
|
1117 | 1118 |
</para> |
1118 | 1119 |
|
1119 | 1120 |
<para> |
1120 |
Specifying <option>--iallocator</option> enables secondary node |
|
1121 |
replacement and and makes the new secondary be selected automatically |
|
1122 |
by the specified allocator plugin. |
|
1121 |
The third form (when passing either the |
|
1122 |
<option>--iallocator</option> or the |
|
1123 |
<option>--new-secondary</option> option) is designed to |
|
1124 |
change secondary node of the instance. Specifying |
|
1125 |
<option>--iallocator</option> makes the new secondary be |
|
1126 |
selected automatically by the specified allocator plugin, |
|
1127 |
otherwise the new secondary node will be the one chosen |
|
1128 |
manually via the <option>--new-secondary</option> option. |
|
1123 | 1129 |
</para> |
1124 | 1130 |
</refsect3> |
1125 | 1131 |
|
Also available in: Unified diff