Merge "Update admin guide with region."
This commit is contained in:
commit
0453730f93
@ -110,8 +110,8 @@ You can create scripts to create the account and container rings and rebalance.
|
|||||||
cd /etc/swift
|
cd /etc/swift
|
||||||
rm -f account.builder account.ring.gz backups/account.builder backups/account.ring.gz
|
rm -f account.builder account.ring.gz backups/account.builder backups/account.ring.gz
|
||||||
swift-ring-builder account.builder create 18 3 1
|
swift-ring-builder account.builder create 18 3 1
|
||||||
swift-ring-builder account.builder add z1-<account-server-1>:6002/sdb1 1
|
swift-ring-builder account.builder add r1z1-<account-server-1>:6002/sdb1 1
|
||||||
swift-ring-builder account.builder add z2-<account-server-2>:6002/sdb1 1
|
swift-ring-builder account.builder add r1z2-<account-server-2>:6002/sdb1 1
|
||||||
swift-ring-builder account.builder rebalance
|
swift-ring-builder account.builder rebalance
|
||||||
|
|
||||||
You need to replace the values of <account-server-1>,
|
You need to replace the values of <account-server-1>,
|
||||||
@ -121,7 +121,8 @@ You can create scripts to create the account and container rings and rebalance.
|
|||||||
6002, and have a storage device called "sdb1" (this is a directory
|
6002, and have a storage device called "sdb1" (this is a directory
|
||||||
name created under /drives when we setup the account server). The
|
name created under /drives when we setup the account server). The
|
||||||
"z1", "z2", etc. designate zones, and you can choose whether you
|
"z1", "z2", etc. designate zones, and you can choose whether you
|
||||||
put devices in the same or different zones.
|
put devices in the same or different zones. The "r1" designates
|
||||||
|
the region, with different regions specified as "r1", "r2", etc.
|
||||||
|
|
||||||
2. Make the script file executable and run it to create the account ring file::
|
2. Make the script file executable and run it to create the account ring file::
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user