openstack-manuals/doc/install-guide/object-storage/section_start-storage-node-services.xml
Andreas Jaeger bbab391aeb Fix usage of $/# prompts
Use # prompt for root and $ for user actions.

Change-Id: Ia241921d4f3d072cf4d7459557a5d78d31d7049c
2014-03-14 08:30:08 +01:00

28 lines
1.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<section xml:id="start-storage-node-services"
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0">
<?dbhtml-stop-chunking?>
<title>Start services on the storage nodes</title>
<para>Now that the ring files are on each storage node, you can
start the services. On each storage node, run the following
command:</para>
<screen os="ubuntu;debian"><prompt>#</prompt> <userinput>for service in \
swift-object swift-object-replicator swift-object-updater swift-object-auditor \
swift-container swift-container-replicator swift-container-updater swift-container-auditor \
swift-account swift-account-replicator swift-account-reaper swift-account-auditor; do \
service $service start; done</userinput></screen>
<screen os="fedora;rhel;centos;opensuse;sles"><prompt>#</prompt> <userinput>for service in \
openstack-swift-object openstack-swift-object-replicator openstack-swift-object-updater openstack-swift-object-auditor \
openstack-swift-container openstack-swift-container-replicator openstack-swift-container-updater openstack-swift-container-auditor \
openstack-swift-account openstack-swift-account-replicator openstack-swift-account-reaper openstack-swift-account-auditor; do \
service $service start; chkconfig $service on; done</userinput></screen>
<note>
<para>To start all swift services at once, run the command:</para>
<screen><prompt>#</prompt> <userinput>swift-init all start</userinput></screen>
<para>To know more about <literal>swift-init</literal> command, run:</para>
<screen><prompt>$</prompt> <userinput>man swift-init</userinput></screen>
</note>
</section>