Fixed swift issues in installation guide
I fixed the following swift issues in the installation guide: 1) Install the keystone middleware package on proxy nodes to resolve dependency on standalone proxy nodes that don't run the keystone service. 2) Separate configuration for account-server.conf, container-server.conf, and object-server.conf files due due to unique port value for each service. Change-Id: Ice5b5b6baa3488acc8b86f587c1efd728f034f8c Closes-Bug: #1394025 Closes-Bug: #1394640 backport: juno
This commit is contained in:
parent
55c1830f89
commit
b7034ee42a
|
@ -100,9 +100,12 @@
|
|||
<para>Complete OpenStack environments already include some of these
|
||||
packages.</para>
|
||||
</note>
|
||||
<screen os="ubuntu;debian"><prompt>#</prompt> <userinput>apt-get install swift swift-proxy python-swiftclient python-keystoneclient memcached</userinput></screen>
|
||||
<screen os="rhel;centos;fedora"><prompt>#</prompt> <userinput>yum install openstack-swift-proxy python-swiftclient python-keystone-auth-token memcached</userinput></screen>
|
||||
<screen os="sles;opensuse"><prompt>#</prompt> <userinput>zypper install openstack-swift-proxy python-swiftclient python-keystoneclient memcached python-xml</userinput></screen>
|
||||
<screen os="ubuntu;debian"><prompt>#</prompt> <userinput>apt-get install swift swift-proxy python-swiftclient python-keystoneclient \
|
||||
python-keystonemiddleware memcached</userinput></screen>
|
||||
<screen os="rhel;centos;fedora"><prompt>#</prompt> <userinput>yum install openstack-swift-proxy python-swiftclient python-keystone-auth-token \
|
||||
python-keystonemiddleware memcached</userinput></screen>
|
||||
<screen os="sles;opensuse"><prompt>#</prompt> <userinput>zypper install openstack-swift-proxy python-swiftclient python-keystoneclient \
|
||||
python-keystonemiddleware python-xml memcached</userinput></screen>
|
||||
</step>
|
||||
<step os="ubuntu;debian">
|
||||
<para>Create the <literal>/etc/swift</literal> directory.</para>
|
||||
|
|
|
@ -199,9 +199,7 @@ lock file = /var/lock/object.lock</programlisting>
|
|||
</step>
|
||||
<step>
|
||||
<para>Edit the
|
||||
<filename>/etc/swift/account-server.conf</filename>,
|
||||
<filename>/etc/swift/container-server.conf</filename>, and
|
||||
<filename>/etc/swift/object-server.conf</filename> files and
|
||||
<filename>/etc/swift/account-server.conf</filename> file and
|
||||
complete the following actions:</para>
|
||||
<substeps>
|
||||
<step>
|
||||
|
@ -237,6 +235,90 @@ pipeline = healthcheck recon account-server</programlisting>
|
|||
the recon (metrics) cache directory:</para>
|
||||
<programlisting language="ini">[filter:recon]
|
||||
...
|
||||
recon_cache_path = /var/cache/swift</programlisting>
|
||||
</step>
|
||||
</substeps>
|
||||
</step>
|
||||
<step>
|
||||
<para>Edit the
|
||||
<filename>/etc/swift/container-server.conf</filename> file and
|
||||
complete the following actions:</para>
|
||||
<substeps>
|
||||
<step>
|
||||
<para>In the <literal>[DEFAULT]</literal> section, configure the
|
||||
bind IP address, bind port, user, configuration directory, and
|
||||
mount point directory:</para>
|
||||
<programlisting language="ini">[DEFAULT]
|
||||
...
|
||||
bind_ip = <replaceable>MANAGEMENT_INTERFACE_IP_ADDRESS</replaceable>
|
||||
bind_port = 6001
|
||||
user = swift
|
||||
swift_dir = /etc/swift
|
||||
devices = /srv/node</programlisting>
|
||||
<para>Replace
|
||||
<replaceable>MANAGEMENT_INTERFACE_IP_ADDRESS</replaceable>
|
||||
with the IP address of the management network on the storage
|
||||
node.</para>
|
||||
</step>
|
||||
<step>
|
||||
<para>In the <literal>[pipeline:main]</literal> section, enable
|
||||
the appropriate modules:</para>
|
||||
<programlisting language="ini">[pipeline:main]
|
||||
pipeline = healthcheck recon account-server</programlisting>
|
||||
<note>
|
||||
<para>For more information on other modules that enable
|
||||
additional features, see the
|
||||
<link xlink:href="http://docs.openstack.org/developer/swift/deployment_guide.html"
|
||||
>Deployment Guide</link>.</para>
|
||||
</note>
|
||||
</step>
|
||||
<step>
|
||||
<para>In the <literal>[filter:recon]</literal> section, configure
|
||||
the recon (metrics) cache directory:</para>
|
||||
<programlisting language="ini">[filter:recon]
|
||||
...
|
||||
recon_cache_path = /var/cache/swift</programlisting>
|
||||
</step>
|
||||
</substeps>
|
||||
</step>
|
||||
<step>
|
||||
<para>Edit the
|
||||
<filename>/etc/swift/object-server.conf</filename> file and
|
||||
complete the following actions:</para>
|
||||
<substeps>
|
||||
<step>
|
||||
<para>In the <literal>[DEFAULT]</literal> section, configure the
|
||||
bind IP address, bind port, user, configuration directory, and
|
||||
mount point directory:</para>
|
||||
<programlisting language="ini">[DEFAULT]
|
||||
...
|
||||
bind_ip = <replaceable>MANAGEMENT_INTERFACE_IP_ADDRESS</replaceable>
|
||||
bind_port = 6000
|
||||
user = swift
|
||||
swift_dir = /etc/swift
|
||||
devices = /srv/node</programlisting>
|
||||
<para>Replace
|
||||
<replaceable>MANAGEMENT_INTERFACE_IP_ADDRESS</replaceable>
|
||||
with the IP address of the management network on the storage
|
||||
node.</para>
|
||||
</step>
|
||||
<step>
|
||||
<para>In the <literal>[pipeline:main]</literal> section, enable
|
||||
the appropriate modules:</para>
|
||||
<programlisting language="ini">[pipeline:main]
|
||||
pipeline = healthcheck recon account-server</programlisting>
|
||||
<note>
|
||||
<para>For more information on other modules that enable
|
||||
additional features, see the
|
||||
<link xlink:href="http://docs.openstack.org/developer/swift/deployment_guide.html"
|
||||
>Deployment Guide</link>.</para>
|
||||
</note>
|
||||
</step>
|
||||
<step>
|
||||
<para>In the <literal>[filter:recon]</literal> section, configure
|
||||
the recon (metrics) cache directory:</para>
|
||||
<programlisting language="ini">[filter:recon]
|
||||
...
|
||||
recon_cache_path = /var/cache/swift</programlisting>
|
||||
</step>
|
||||
</substeps>
|
||||
|
|
Loading…
Reference in New Issue