Fixes the swift Service start Command.

Added swift-init command.

Closes-Bug: #1251531

Change-Id: I81ceee4b8455407b0766e10e6fa95fdc594cc998
backport: havana
This commit is contained in:
Chandan kumar 2013-11-15 13:36:48 +05:30
parent b47e34efb0
commit 33c3a7e475

@ -8,7 +8,7 @@
<para>Now that the ring files are on each storage node, you can
start the services. On each storage node, run the following
commands:</para>
<screen><prompt>#</prompt> <userinput>service swift-object start</userinput>
<screen os="ubuntu;debian"><prompt>#</prompt> <userinput>service swift-object start</userinput>
<prompt>#</prompt> <userinput>service swift-object-replicator start</userinput>
<prompt>#</prompt> <userinput>service swift-object-updater start</userinput>
<prompt>#</prompt> <userinput>service swift-object-auditor start</userinput>
@ -19,12 +19,29 @@
<prompt>#</prompt> <userinput>service swift-account start</userinput>
<prompt>#</prompt> <userinput>service swift-account-replicator start</userinput>
<prompt>#</prompt> <userinput>service swift-account-reaper start</userinput>
<prompt>#</prompt> <userinput>service swift-account-auditor start</userinput>
<prompt>#</prompt> <userinput>service rsyslog restart</userinput>
<prompt>#</prompt> <userinput>service swift-account-auditor start</userinput></screen>
<screen os="fedora;rhel;centos;opensuse;sles"><prompt>#</prompt> <userinput>service openstack-swift-object start</userinput>
<prompt>#</prompt> <userinput>service openstack-swift-object-replicator start</userinput>
<prompt>#</prompt> <userinput>service openstack-swift-object-updater start</userinput>
<prompt>#</prompt> <userinput>service openstack-swift-object-auditor start</userinput>
<prompt>#</prompt> <userinput>service openstack-swift-container start</userinput>
<prompt>#</prompt> <userinput>service openstack-swift-container-replicator start</userinput>
<prompt>#</prompt> <userinput>service openstack-swift-container-updater start</userinput>
<prompt>#</prompt> <userinput>service openstack-swift-container-auditor start</userinput>
<prompt>#</prompt> <userinput>service openstack-swift-account start</userinput>
<prompt>#</prompt> <userinput>service openstack-swift-account-replicator start</userinput>
<prompt>#</prompt> <userinput>service openstack-swift-account-reaper start</userinput>
<prompt>#</prompt> <userinput>service openstack-swift-account-auditor start</userinput></screen>
<note>
<para>To start all swift services at once, run the command:</para>
<screen><prompt>#</prompt> <userinput>swift-init main 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>
<screen><prompt>#</prompt> <userinput>service rsyslog restart</userinput>
<prompt>#</prompt> <userinput>service memcached restart</userinput></screen>
<note os="fedora;rhel;centos">
<para>On Fedora, you might need to use <command>systemctl
restart
<replaceable>service</replaceable></command>.</para>
<para>On Fedora, you might need to use <command>systemctl restart
<replaceable>service</replaceable></command>.</para>
</note>
</section>