openstack-manuals/doc/install-guide/section_object-storage-post-install.xml
Diane Fleming 64b6c9261e Folder rename, file rename, flattening of directories
Current folder name	New folder name	        Book title
----------------------------------------------------------
basic-install 	        DELETE
cli-guide	        DELETE
common	                common
NEW	                admin-guide-cloud	Cloud Administrators Guide
docbkx-example	        DELETE
openstack-block-storage-admin 	DELETE
openstack-compute-admin 	DELETE
openstack-config 	config-reference	OpenStack Configuration Reference
openstack-ha 	        high-availability-guide	OpenStack High Availabilty Guide
openstack-image	        image-guide	OpenStack Virtual Machine Image Guide
openstack-install 	install-guide	OpenStack Installation Guide
openstack-network-connectivity-admin 	admin-guide-network 	OpenStack Networking Administration Guide
openstack-object-storage-admin 	DELETE
openstack-security 	security-guide	OpenStack Security Guide
openstack-training 	training-guide	OpenStack Training Guide
openstack-user 	        user-guide	OpenStack End User Guide
openstack-user-admin 	user-guide-admin	OpenStack Admin User Guide
glossary	        NEW        	OpenStack Glossary

bug: #1220407

Change-Id: Id5ffc774b966ba7b9a591743a877aa10ab3094c7
author: diane fleming
2013-09-08 15:15:50 -07:00

76 lines
4.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<section xml:id="object-storage-post-install"
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">
<title>OpenStack Object Storage Post Installation</title>
<xi:include href="section_object-storage-verifying-install.xml" />
<section xml:id="adding-proxy-server">
<title>Adding an Additional Proxy Server</title>
<para>For reliability&#8217;s sake you may want to
have more than one proxy server. You can set
up the additional proxy node in the same
manner that you set up the first proxy node
but with additional configuration
steps.</para>
<para>Once you have more than two proxies, you also
want to load balance between the two, which
means your storage endpoint (what clients use
to connect to your storage) also changes. You
can select from different strategies for load
balancing. For example, you could use round
robin dns, or a software or hardware load
balancer (like pound) in front of the two
proxies, and point your storage url to the
load balancer.</para>
<para>Configure an initial proxy node for the initial
setup, and then follow these additional steps
for more proxy servers.</para>
<orderedlist>
<listitem>
<para>Update the list of memcache
servers in
<filename>/etc/swift/proxy-server.conf</filename> for
all the added proxy servers. If you
run multiple memcache servers, use
this pattern for the multiple
IP:port listings:
<literallayout class="monospaced">10.1.2.3:11211,10.1.2.4:11211</literallayout>
in each proxy server&#8217;s conf
file.:</para>
<para>
<literallayout class="monospaced">
[filter:cache]
use = egg:swift#memcache
memcache_servers = &lt;PROXY_LOCAL_NET_IP&gt;:11211
</literallayout>
</para>
</listitem>
<listitem>
<para>Next, copy all the ring
information to all the nodes,
including your new proxy nodes, and
ensure the ring info gets to all
the storage nodes as well.</para>
</listitem>
<listitem>
<para>After you sync all the nodes,
make sure the admin has the keys in
<filename>/etc/swift</filename> and the ownership for
the ring file is correct.</para>
</listitem>
</orderedlist>
<note>
<title>Note</title>
<para>If you are using swauth in preference to the
OpenStack Identity service, there are additional steps
to follow for the addition of a second proxy server.
Please follow the <link xlink:href="http://gholt.github.com/swauth/stable/">swauth documentation</link>
Installation section, paying close attention to the
<literal>default_swift_cluster</literal> variable.
</para>
</note>
</section>
</section>