Add to configure bind_ip on the storage nodes

The bind_ip under [DEFAULT] section of account-server.conf,
container-server.conf,object-server.conf files under /etc/swift of the
storage nodes need to be changed to the STORAGE_LOCAL_NET_IP.

Change-Id: Icfb92294466d5f38ae5abc80e2e6165802aec58f
Closes-Bug: #1364268
This commit is contained in:
Hidekazu Nakamura 2014-09-13 12:44:25 +00:00
parent bb3656eb0a
commit 5759cac6d9

View File

@ -107,6 +107,23 @@ lock file = /var/lock/object.lock</programlisting>
run it on a local, private network.</para>
</note>
</step>
<step>
<para>Set the <option>bind_ip</option> configuration option to
<replaceable>STORAGE_LOCAL_NET_IP</replaceable>.</para>
<para>Edit the <filename>account-server.conf</filename>,
<filename>acontainer-server.conf</filename> and
<filename>object-server.conf</filename> files in the
<filename>/etc/swift</filename> directory. In each file,
update the <literal>[DEFAULT]</literal> section as follows:
<programlisting language="ini">[DEFAULT]
bind_ip = <replaceable>STORAGE_LOCAL_NET_IP</replaceable>
...</programlisting>
</para>
</step>
<step>
<para>Make sure the swift user owns all configuration files:</para>
<screen><prompt>#</prompt> <userinput>chown -R swift:swift /etc/swift</userinput></screen>
</step>
<step>
<para>Create the swift recon cache directory and set its
permissions:</para>