Adds commands to Create initial rings section
The setup creates only 1 zone, despite the fact that there are 3 disks. This is not a good practice. Each disk should be its own zone instead. Based on the described example, added command variations to account ring, container ring, and object ring sections. Change-Id: I9c3f503501718fa12e2cdbf2ca9e59d705fd64cb Closes-Bug: #1437183
This commit is contained in:
parent
f69739531d
commit
6e6f31745c
@ -46,8 +46,11 @@
|
||||
<literal>/dev/sdb1</literal> storage device and weight of 100:</para>
|
||||
<screen><prompt>#</prompt> <userinput>swift-ring-builder account.builder add r1z1-10.0.0.51:6002/sdb1 100</userinput></screen>
|
||||
<para>Repeat this command for each storage device on each storage
|
||||
node. The example architecture requires four variations of this
|
||||
command.</para>
|
||||
node. In the example architecture, use the command in four variations:</para>
|
||||
<screen><prompt>#</prompt> <userinput>swift-ring-builder account.builder add r1z1-10.0.0.51:6002/sdb1 100</userinput>
|
||||
<prompt>#</prompt> <userinput>swift-ring-builder account.builder add r1z2-10.0.0.51:6002/sdc1 100</userinput>
|
||||
<prompt>#</prompt> <userinput>swift-ring-builder account.builder add r1z3-10.0.0.52:6002/sdb1 100</userinput>
|
||||
<prompt>#</prompt> <userinput>swift-ring-builder account.builder add r1z4-10.0.0.52:6002/sdc1 100</userinput></screen>
|
||||
</step>
|
||||
<step>
|
||||
<para>Verify the ring contents:</para>
|
||||
@ -101,8 +104,11 @@ Devices: id region zone ip address port replication ip replication
|
||||
<literal>/dev/sdb1</literal> storage device and weight of 100:</para>
|
||||
<screen><prompt>#</prompt> <userinput>swift-ring-builder container.builder add r1z1-10.0.0.51:6001/sdb1 100</userinput></screen>
|
||||
<para>Repeat this command for each storage device on each storage
|
||||
node. The example architecture requires four variations of this
|
||||
command.</para>
|
||||
node. In the example architecture, use the command in four variations:</para>
|
||||
<screen><prompt>#</prompt> <userinput>swift-ring-builder container.builder add r1z1-10.0.0.51:6001/sdb1 100</userinput>
|
||||
<prompt>#</prompt> <userinput>swift-ring-builder container.builder add r1z2-10.0.0.51:6001/sdc1 100</userinput>
|
||||
<prompt>#</prompt> <userinput>swift-ring-builder container.builder add r1z3-10.0.0.52:6001/sdb1 100</userinput>
|
||||
<prompt>#</prompt> <userinput>swift-ring-builder container.builder add r1z4-10.0.0.52:6001/sdc1 100</userinput></screen>
|
||||
</step>
|
||||
<step>
|
||||
<para>Verify the ring contents:</para>
|
||||
@ -155,8 +161,11 @@ Devices: id region zone ip address port replication ip replication
|
||||
<literal>/dev/sdb1</literal> storage device and weight of 100:</para>
|
||||
<screen><prompt>#</prompt> <userinput>swift-ring-builder object.builder add r1z1-10.0.0.51:6000/sdb1 100</userinput></screen>
|
||||
<para>Repeat this command for each storage device on each storage
|
||||
node. The example architecture requires four variations of this
|
||||
command.</para>
|
||||
node. In the example architecture, use the command in four variations:</para>
|
||||
<screen><prompt>#</prompt> <userinput>swift-ring-builder object.builder add r1z1-10.0.0.51:6000/sdb1 100</userinput>
|
||||
<prompt>#</prompt> <userinput>swift-ring-builder object.builder add r1z2-10.0.0.51:6000/sdc1 100</userinput>
|
||||
<prompt>#</prompt> <userinput>swift-ring-builder object.builder add r1z3-10.0.0.52:6000/sdb1 100</userinput>
|
||||
<prompt>#</prompt> <userinput>swift-ring-builder object.builder add r1z4-10.0.0.52:6000/sdc1 100</userinput></screen>
|
||||
</step>
|
||||
<step>
|
||||
<para>Verify the ring contents:</para>
|
||||
|
Loading…
x
Reference in New Issue
Block a user