From 73e032049ffb9b371f30d5230472b920446d08f4 Mon Sep 17 00:00:00 2001 From: Paul Dardeau Date: Fri, 23 Oct 2015 18:20:25 +0000 Subject: [PATCH] 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 --- doc/source/admin_guide.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/source/admin_guide.rst b/doc/source/admin_guide.rst index d75900532f..c2236e9508 100644 --- a/doc/source/admin_guide.rst +++ b/doc/source/admin_guide.rst @@ -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-:6002/sdb1 1 - swift-ring-builder account.builder add z2-:6002/sdb1 1 + swift-ring-builder account.builder add r1z1-:6002/sdb1 1 + swift-ring-builder account.builder add r1z2-:6002/sdb1 1 swift-ring-builder account.builder rebalance You need to replace the values of , @@ -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::