Skip to content

Adding a new proxy node

Cristi Pufu edited this page Nov 6, 2015 · 2 revisions

You now want to add a new proxy node to your storage cluster for backup or load balancing.

In order to achieve that, please follow this tutorial - Proxy node configuration.


After you're finished, you need to update the previous proxy nodes:

  • Update the list of memcache servers in /etc/swift/proxy-server.conf for all proxy nodes:
[filter:cache]
use = egg:swift#memcache
memcache_servers = <ip_proxy_node_1>:11211,<ip_proxy_node_2>:11211,<ip_proxy_node_3>:11211
  • If your adding a new node for load balacing, you have to set or change the storage url to point to the load balancer url for all proxy nodes:
[filter:tempauth]
use = egg:swift#tempauth
user_system_root = testpass .admin http://<ip_load_balancer>:<port>/v1/AUTH_system
  • Sync your nodes: don't forget to copy the swift config file (/etc/swift/swift.conf) and the rings (*.ring.gz). Also make sure they are owned by the swift user!

  • Start the proxy service:

swift-init proxy start