Removed whitespaces from swift-ring-builder manpage
Change-Id: I25cf69f8d963ba84df4c59129d72ee39ec341bd3
This commit is contained in:
parent
c40de1cbc8
commit
334140a543
@ -14,10 +14,10 @@
|
|||||||
.\" implied.
|
.\" implied.
|
||||||
.\" See the License for the specific language governing permissions and
|
.\" See the License for the specific language governing permissions and
|
||||||
.\" limitations under the License.
|
.\" limitations under the License.
|
||||||
.\"
|
.\"
|
||||||
.TH swift-ring-builder 1 "8/26/2011" "Linux" "OpenStack Swift"
|
.TH swift-ring-builder 1 "8/26/2011" "Linux" "OpenStack Swift"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
.LP
|
.LP
|
||||||
.B swift-ring-builder
|
.B swift-ring-builder
|
||||||
\- Openstack-swift ring builder
|
\- Openstack-swift ring builder
|
||||||
@ -27,13 +27,13 @@
|
|||||||
.B swift-ring-builder
|
.B swift-ring-builder
|
||||||
<builder_file> <commands> <arguments> <...>
|
<builder_file> <commands> <arguments> <...>
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.PP
|
.PP
|
||||||
The swift-ring-builder utility is used to create, search and manipulate
|
The swift-ring-builder utility is used to create, search and manipulate
|
||||||
the swift storage ring. The ring-builder assigns partitions to devices and
|
the swift storage ring. The ring-builder assigns partitions to devices and
|
||||||
writes an optimized Python structure to a gzipped, pickled file on disk for
|
writes an optimized Python structure to a gzipped, pickled file on disk for
|
||||||
shipping out to the servers. The server processes just check the modification
|
shipping out to the servers. The server processes just check the modification
|
||||||
time of the file occasionally and reload their in-memory copies of the ring
|
time of the file occasionally and reload their in-memory copies of the ring
|
||||||
structure as needed. Because of how the ring-builder manages changes to the
|
structure as needed. Because of how the ring-builder manages changes to the
|
||||||
ring, using a slightly older ring usually just means one of the three replicas
|
ring, using a slightly older ring usually just means one of the three replicas
|
||||||
for a subset of the partitions will be incorrect, which can be easily worked around.
|
for a subset of the partitions will be incorrect, which can be easily worked around.
|
||||||
@ -59,7 +59,7 @@ needs to interact with the rings manually.
|
|||||||
|
|
||||||
|
|
||||||
.SH SEARCH
|
.SH SEARCH
|
||||||
.PD 0
|
.PD 0
|
||||||
|
|
||||||
.IP "\fB<search-value>\fR"
|
.IP "\fB<search-value>\fR"
|
||||||
.RS 5
|
.RS 5
|
||||||
@ -81,12 +81,12 @@ needs to interact with the rings manually.
|
|||||||
.IP "[::1] Matches devices in any zone with the ip ::1"
|
.IP "[::1] Matches devices in any zone with the ip ::1"
|
||||||
.IP "z1-[::1]:5678 Matches devices in zone 1 with ip ::1 and port 5678"
|
.IP "z1-[::1]:5678 Matches devices in zone 1 with ip ::1 and port 5678"
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
Most specific example:
|
Most specific example:
|
||||||
|
|
||||||
.RS 3
|
.RS 3
|
||||||
d74z1-1.2.3.4:5678/sdb1_"snet: 5.6.7.8"
|
d74z1-1.2.3.4:5678/sdb1_"snet: 5.6.7.8"
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
Nerd explanation:
|
Nerd explanation:
|
||||||
|
|
||||||
@ -94,7 +94,7 @@ Nerd explanation:
|
|||||||
.IP "All items require their single character prefix except the ip, in which case the - is optional unless the device id or zone is also included."
|
.IP "All items require their single character prefix except the ip, in which case the - is optional unless the device id or zone is also included."
|
||||||
.RE
|
.RE
|
||||||
.RE
|
.RE
|
||||||
.PD
|
.PD
|
||||||
|
|
||||||
|
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
@ -104,12 +104,12 @@ Assume a yes response to all questions
|
|||||||
|
|
||||||
.SH COMMANDS
|
.SH COMMANDS
|
||||||
|
|
||||||
.PD 0
|
.PD 0
|
||||||
|
|
||||||
|
|
||||||
.IP "\fB<builder_file>\fR"
|
.IP "\fB<builder_file>\fR"
|
||||||
.RS 5
|
.RS 5
|
||||||
Shows information about the ring and the devices within.
|
Shows information about the ring and the devices within.
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
|
|
||||||
@ -143,7 +143,7 @@ the devices matching the search values given. The first column is the
|
|||||||
assigned partition number and the second column is the number of device
|
assigned partition number and the second column is the number of device
|
||||||
matches for that partition. The list is ordered from most number of matches
|
matches for that partition. The list is ordered from most number of matches
|
||||||
to least. If there are a lot of devices to match against, this command
|
to least. If there are a lot of devices to match against, this command
|
||||||
could take a while to run.
|
could take a while to run.
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
|
|
||||||
@ -198,8 +198,8 @@ Just runs the validation routines on the ring.
|
|||||||
|
|
||||||
.IP "\fBwrite_ring\fR"
|
.IP "\fBwrite_ring\fR"
|
||||||
.RS 5
|
.RS 5
|
||||||
Just rewrites the distributable ring file. This is done automatically after
|
Just rewrites the distributable ring file. This is done automatically after
|
||||||
a successful rebalance, so really this is only useful after one or more 'set_info'
|
a successful rebalance, so really this is only useful after one or more 'set_info'
|
||||||
calls when no rebalance is needed but you want to send out the new device information.
|
calls when no rebalance is needed but you want to send out the new device information.
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
@ -208,18 +208,18 @@ calls when no rebalance is needed but you want to send out the new device inform
|
|||||||
set_min_part_hours set_weight validate write_ring
|
set_min_part_hours set_weight validate write_ring
|
||||||
|
|
||||||
\fBExit codes:\fR 0 = ring changed, 1 = ring did not change, 2 = error
|
\fBExit codes:\fR 0 = ring changed, 1 = ring did not change, 2 = error
|
||||||
.PD
|
.PD
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.SH DOCUMENTATION
|
.SH DOCUMENTATION
|
||||||
.LP
|
.LP
|
||||||
More in depth documentation about the swift ring and also Openstack-Swift as a
|
More in depth documentation about the swift ring and also Openstack-Swift as a
|
||||||
whole can be found at
|
whole can be found at
|
||||||
.BI http://swift.openstack.org/overview_ring.html,
|
.BI http://swift.openstack.org/overview_ring.html,
|
||||||
.BI http://swift.openstack.org/admin_guide.html#managing-the-rings
|
.BI http://swift.openstack.org/admin_guide.html#managing-the-rings
|
||||||
and
|
and
|
||||||
.BI http://swift.openstack.org
|
.BI http://swift.openstack.org
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user