Install Guide: Swift update for openSUSE/SLES
With current OS versions, we can merge the descriptions. Since we can use rsyncd directly on openSUSE/SLES instead of via xinetd, adjust package install list as well. Partially implements bp installguide-kilo Change-Id: I4ef2d9013caf7388079063dc27cdd2cf28b20973
This commit is contained in:
parent
7656aa9e9d
commit
222748778b
@ -63,15 +63,7 @@ default = yes</programlisting>
|
||||
<para>On the controller node and any other nodes running the proxy
|
||||
service, start the Object Storage proxy service including its
|
||||
dependencies and configure them to start when the system boots:</para>
|
||||
<screen os="rhel;centos;fedora"><prompt>#</prompt> <userinput>systemctl enable openstack-swift-proxy.service memcached.service</userinput>
|
||||
<prompt>#</prompt> <userinput>systemctl start openstack-swift-proxy.service memcached.service</userinput></screen>
|
||||
<para os="sles">On SLES:</para>
|
||||
<screen os="sles"><prompt>#</prompt> <userinput>service memcached start</userinput>
|
||||
<prompt>#</prompt> <userinput>service openstack-swift-proxy start</userinput>
|
||||
<prompt>#</prompt> <userinput>chkconfig memcached on</userinput>
|
||||
<prompt>#</prompt> <userinput>chkconfig openstack-swift-proxy on</userinput></screen>
|
||||
<para os="opensuse">On openSUSE:</para>
|
||||
<screen os="opensuse"><prompt>#</prompt> <userinput>systemctl enable openstack-swift-proxy.service memcached.service</userinput>
|
||||
<screen><prompt>#</prompt> <userinput>systemctl enable openstack-swift-proxy.service memcached.service</userinput>
|
||||
<prompt>#</prompt> <userinput>systemctl start openstack-swift-proxy.service memcached.service</userinput></screen>
|
||||
</step>
|
||||
<step os="ubuntu;debian">
|
||||
@ -84,40 +76,10 @@ default = yes</programlisting>
|
||||
storage node.</para>
|
||||
</note>
|
||||
</step>
|
||||
<step os="rhel;centos;fedora">
|
||||
<step os="rhel;centos;fedora;opensuse;sles">
|
||||
<para>On the storage nodes, start the Object Storage services and
|
||||
configure them to start when the system boots:</para>
|
||||
<screen os="rhel;centos;fedora"><prompt>#</prompt> <userinput>systemctl enable openstack-swift-account.service openstack-swift-account-auditor.service \
|
||||
openstack-swift-account-reaper.service openstack-swift-account-replicator.service</userinput>
|
||||
<prompt>#</prompt> <userinput>systemctl start openstack-swift-account.service openstack-swift-account-auditor.service \
|
||||
openstack-swift-account-reaper.service openstack-swift-account-replicator.service</userinput>
|
||||
<prompt>#</prompt> <userinput>systemctl enable openstack-swift-container.service openstack-swift-container-auditor.service \
|
||||
openstack-swift-container-replicator.service openstack-swift-container-updater.service</userinput>
|
||||
<prompt>#</prompt> <userinput>systemctl start openstack-swift-container.service openstack-swift-container-auditor.service \
|
||||
openstack-swift-container-replicator.service openstack-swift-container-updater.service</userinput>
|
||||
<prompt>#</prompt> <userinput>systemctl enable openstack-swift-object.service openstack-swift-object-auditor.service \
|
||||
openstack-swift-object-replicator.service openstack-swift-object-updater.service</userinput>
|
||||
<prompt>#</prompt> <userinput>systemctl start openstack-swift-object.service openstack-swift-object-auditor.service \
|
||||
openstack-swift-object-replicator.service openstack-swift-object-updater.service</userinput></screen>
|
||||
</step>
|
||||
<step os="sles;opensuse">
|
||||
<para>On the storage nodes, start the Object Storage services and
|
||||
configure them to start when the system boots:</para>
|
||||
<para os="sles">On SLES:</para>
|
||||
<screen os="sles"><prompt>#</prompt> <userinput>for service in \
|
||||
openstack-swift-account openstack-swift-account-auditor \
|
||||
openstack-swift-account-reaper openstack-swift-account-replicator; do \
|
||||
service $service start; chkconfig $service on; done</userinput>
|
||||
<prompt>#</prompt> <userinput>for service in \
|
||||
openstack-swift-container openstack-swift-container-auditor \
|
||||
openstack-swift-container-replicator openstack-swift-container-updater; do \
|
||||
service $service start; chkconfig $service on; done</userinput>
|
||||
<prompt>#</prompt> <userinput>for service in \
|
||||
openstack-swift-object openstack-swift-object-auditor \
|
||||
openstack-swift-object-replicator openstack-swift-object-updater; do \
|
||||
service $service start; chkconfig $service on; done</userinput></screen>
|
||||
<para os="opensuse">On openSUSE:</para>
|
||||
<screen os="opensuse"><prompt>#</prompt> <userinput>systemctl enable openstack-swift-account.service openstack-swift-account-auditor.service \
|
||||
<screen><prompt>#</prompt> <userinput>systemctl enable openstack-swift-account.service openstack-swift-account-auditor.service \
|
||||
openstack-swift-account-reaper.service openstack-swift-account-replicator.service</userinput>
|
||||
<prompt>#</prompt> <userinput>systemctl start openstack-swift-account.service openstack-swift-account-auditor.service \
|
||||
openstack-swift-account-reaper.service openstack-swift-account-replicator.service</userinput>
|
||||
|
@ -81,7 +81,7 @@
|
||||
<para>Install the supporting utility packages:</para>
|
||||
<screen os="ubuntu;debian"><prompt>#</prompt> <userinput>apt-get install xfsprogs rsync</userinput></screen>
|
||||
<screen os="rhel;centos;fedora"><prompt>#</prompt> <userinput>yum install xfsprogs rsync</userinput></screen>
|
||||
<screen os="sles;opensuse"><prompt>#</prompt> <userinput>zypper install xfsprogs rsync xinetd</userinput></screen>
|
||||
<screen os="sles;opensuse"><prompt>#</prompt> <userinput>zypper install xfsprogs rsync</userinput></screen>
|
||||
</step>
|
||||
<step>
|
||||
<para>Format the <literal>/dev/sdb1</literal> and
|
||||
@ -147,32 +147,17 @@ lock file = /var/lock/object.lock</programlisting>
|
||||
the <systemitem role="service">rsync</systemitem> service:</para>
|
||||
<programlisting language="ini">RSYNC_ENABLE=true</programlisting>
|
||||
</step>
|
||||
<step os="sles;opensuse">
|
||||
<para>Edit the <filename>/etc/xinetd.d/rsync</filename> file and enable
|
||||
the <systemitem role="service">rsync</systemitem> service:</para>
|
||||
<programlisting language="ini">disable = no</programlisting>
|
||||
</step>
|
||||
<step os="ubuntu;debian">
|
||||
<para>Start the <systemitem class="service">rsync</systemitem>
|
||||
service:</para>
|
||||
<screen><prompt>#</prompt> <userinput>service rsync start</userinput></screen>
|
||||
</step>
|
||||
<step os="rhel;centos;fedora">
|
||||
<step os="rhel;centos;fedora;opensuse;sles">
|
||||
<para>Start the <systemitem class="service">rsyncd</systemitem> service
|
||||
and configure it to start when the system boots:</para>
|
||||
<screen><prompt>#</prompt> <userinput>systemctl enable rsyncd.service</userinput>
|
||||
<prompt>#</prompt> <userinput>systemctl start rsyncd.service</userinput></screen>
|
||||
</step>
|
||||
<step os="sles;opensuse">
|
||||
<para>Start the <systemitem class="service">xinetd</systemitem> service
|
||||
and configure it to start when the system boots:</para>
|
||||
<para os="sles">On SLES:</para>
|
||||
<screen os="sles"><prompt>#</prompt> <userinput>service xinetd start</userinput>
|
||||
<prompt>#</prompt> <userinput>chkconfig xinetd on</userinput></screen>
|
||||
<para os="opensuse">On openSUSE:</para>
|
||||
<screen os="opensuse"><prompt>#</prompt> <userinput>systemctl enable xinetd.service</userinput>
|
||||
<prompt>#</prompt> <userinput>systemctl start xinetd.service</userinput></screen>
|
||||
</step>
|
||||
</procedure>
|
||||
<procedure>
|
||||
<title>Install and configure storage node components</title>
|
||||
|
Loading…
x
Reference in New Issue
Block a user