Update admin guide with region.

Added region prefix to example commands for adding devices to ring.
Also updates description to include region prefix.

Change-Id: Ie6d6485b497cea973e37909b5b19b44946c8aa89
This commit is contained in:
Paul Dardeau 2015-10-23 18:20:25 +00:00
parent a094560f0c
commit 73e032049f

View File

@ -110,8 +110,8 @@ You can create scripts to create the account and container rings and rebalance.
cd /etc/swift
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 add z1-<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 r1z1-<account-server-1>:6002/sdb1 1
swift-ring-builder account.builder add r1z2-<account-server-2>:6002/sdb1 1
swift-ring-builder account.builder rebalance
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
name created under /drives when we setup the account server). The
"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::