33c3a7e475
Added swift-init command. Closes-Bug: #1251531 Change-Id: I81ceee4b8455407b0766e10e6fa95fdc594cc998 backport: havana
48 lines
3.2 KiB
XML
48 lines
3.2 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
|
|
commands:</para>
|
|
<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>
|
|
<prompt>#</prompt> <userinput>service swift-container start</userinput>
|
|
<prompt>#</prompt> <userinput>service swift-container-replicator start</userinput>
|
|
<prompt>#</prompt> <userinput>service swift-container-updater start</userinput>
|
|
<prompt>#</prompt> <userinput>service swift-container-auditor start</userinput>
|
|
<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></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>
|
|
</note>
|
|
</section>
|