255880f3da
Update Object Storage information for Juno by adding systemctl information. Change-Id: Id73b800583ad1276b5a41aebf0f2c71d709b4ff0
41 lines
2.9 KiB
XML
41 lines
2.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<section 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"
|
|
xml:id="start-storage-node-services">
|
|
<?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"><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 \
|
|
systemctl enable $service.service; systemctl start $service.service; done</userinput></screen>
|
|
<para os="sles">On SLES:</para>
|
|
<screen os="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>
|
|
<para os="opensuse">On openSUSE:</para>
|
|
<screen os="opensuse"><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 \
|
|
systemctl enable $service.service; systemctl start $service.service; 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>
|