Revision 4677a909 man/gnt-instance.sgml

b/man/gnt-instance.sgml
77 77
            </group>
78 78
          </arg>
79 79
          <sbr>
80
          <arg choice="req">-n <replaceable>node</replaceable></arg>
80
          <arg choice="req">-n <replaceable>node<optional>:secondary-node</optional></replaceable></arg>
81 81
          <arg choice="req"><replaceable>instance</replaceable></arg>
82 82
        </cmdsynopsis>
83 83
        <para>
......
155 155
              <term>remote_raid1</term>
156 156
              <listitem>
157 157
                <para>
158
                  Disk devices will be md raid1 arrays with one
159
                  component (so it's not actually raid1): a drbd device
160
                  between the instance's primary node and the node given
161
                  by the option <option>--secondary-node</option>.
158
                  Disk devices will be md raid1 arrays with one component (so
159
                  it's not actually raid1): a drbd device between the
160
                  instance's primary node and the node given by the second
161
                  value of the <option>--node</option> option.
162 162
                </para>
163 163
              </listitem>
164 164
            </varlistentry>
......
166 166
        </para>
167 167

  
168 168
        <para>
169
          The <option>--secondary-node</option> option is used with
170
          the remote raid disk template type and specifies the remote
171
          node.
169
          The optional second value of the <option>--node</option> is used for
170
          the remote raid template type and specifies the remote node.
172 171
        </para>
173 172

  
174 173
        <para>
......
177 176
          option.
178 177
        </para>
179 178

  
180

  
181 179
        <para>
182 180
          Example:
183 181
          <screen>
184 182
# gnt-instance add -t plain -s 30g -m 512 -o debian-etch \
185 183
  -n node1.example.com instance1.example.com
186
# gnt-instance add -t remote_raid1 --secondary-node node3.example.com \
187
  -s 30g -m 512 -o debian-etch \
188
  -n node1.example.com instance2.example.com
184
# gnt-instance add -t remote_raid1 -s 30g -m 512 -o debian-etch \
185
  -n node1.example.com:node2.example.com instance2.example.com
189 186
          </screen>
190 187
        </para>
191

  
192 188
      </refsect3>
193 189

  
194 190
      <refsect3>
......
275 271
            <varlistentry>
276 272
              <term>snodes</term>
277 273
              <listitem>
278
                <simpara>comma-separated list of secondary-nodes for the
274
                <simpara>comma-separated list of secondary nodes for the
279 275
                  instance; usually this will be just one node</simpara>
280 276
              </listitem>
281 277
            </varlistentry>

Also available in: Unified diff