From 54ed0842344b6b06d5d874a297754fefcd993585 Mon Sep 17 00:00:00 2001 From: Mohit Motiani Date: Fri, 20 May 2016 16:26:15 +0000 Subject: [PATCH] Add region in swift-ring-builder add In the swift deployment guide, region is missing from the syntax of adding a new device to the swift-ring-builder. This patch adds region in the syntax. Change-Id: I43e247c92d461efd530c0f82ca3daddcb9e2ba5b Closes-Bug: #1584127 --- doc/source/deployment_guide.rst | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/doc/source/deployment_guide.rst b/doc/source/deployment_guide.rst index 1935df7cd0..b07a3fce18 100644 --- a/doc/source/deployment_guide.rst +++ b/doc/source/deployment_guide.rst @@ -114,17 +114,18 @@ specific partition can be moved in succession (24 is a good value for this). Devices can be added to the ring with:: - swift-ring-builder add z-:/_ + swift-ring-builder add rz-:/_ This will add a device to the ring where is the name of the -builder file that was created previously, is the number of the zone -this device is in, is the ip address of the server the device is in, - is the port number that the server is running on, is -the name of the device on the server (for example: sdb1), is a string -of metadata for the device (optional), and is a float weight that -determines how many partitions are put on the device relative to the rest of -the devices in the cluster (a good starting point is 100.0 x TB on the drive). -Add each device that will be initially in the cluster. +builder file that was created previously, is the number of the region +the zone is in, is the number of the zone this device is in, is +the ip address of the server the device is in, is the port number that +the server is running on, is the name of the device on the server +(for example: sdb1), is a string of metadata for the device (optional), +and is a float weight that determines how many partitions are put on +the device relative to the rest of the devices in the cluster (a good starting +point is 100.0 x TB on the drive).Add each device that will be initially in the +cluster. Once all of the devices are added to the ring, run::