Ask Your Question
0

How to configure two proxy-auth node

asked 2010-11-18 17:10:10 -0500

spiccolo gravatar image

I've installed openstack in a multiserver environment: 1 proxy-auth node, 5 storage node in 5 different zones that runs Account, Container, and Object services. I'd like to have another proxy-auth node for my environment: is it possible? How can I configure this scenario? I've to install the second proxy-auth node as the first?

edit retag flag offensive close merge delete

8 answers

Sort by ยป oldest newest most voted
0

answered 2010-11-22 15:27:13 -0500

spiccolo gravatar image

And so ... if I've millions of storage node, I've to copy the *ring.gz to all nodes?

edit flag offensive delete link more
0

answered 2010-11-22 15:51:08 -0500

spiccolo gravatar image

Ok, I understand. I only hope in more doc for installation with multiple proxy in the bugs section.

edit flag offensive delete link more
0

answered 2010-11-22 15:39:25 -0500

cthier gravatar image

Yes.

Though I use copy very loosely here. Some quick options off the top of my head are:

  1. Write a script that will scp the rings to all of the nodes
  2. Set up some cron jobs on the nodes that rsync the rings from somewhere
  3. Set up a simple web server that serves the rings so that you can do a wget on the storage nodes to pull new rings.

etc. etc.

edit flag offensive delete link more
0

answered 2010-11-22 15:24:47 -0500

cthier gravatar image

Rings should be administered on one node, and then distributed to every node (proxy and storage node). Every node will have the same rings.

edit flag offensive delete link more
0

answered 2010-11-18 17:19:51 -0500

cthier gravatar image

There are two questions.

  1. Adding another auth node? The dev auth is not meant for production, and thus not written to run on more than one server, so you should only run auth on run server.

  2. Adding another proxy node? Yes, you can set up the proxy node in the same manner that you set up the first proxy node. I think the only proxy config change that you will need to make is to update the list of memcache servers in your proxy-server.conf on both proxies. Once you have more than two proxies, you will also want to load balance between the two, which means your storage endpoint will also change. You will need to change the default_cluster_url in your auth-server.conf for the auth server to point to the load balanced url, rather than the first proxy server you created.

edit flag offensive delete link more
0

answered 2010-11-18 17:34:38 -0500

spiccolo gravatar image

So I can have only one auth node, right? Instead, I may have 2 proxy node with memcache listed in proxy-server.conf on both. How can I manage the load balanced url?

edit flag offensive delete link more
0

answered 2010-11-18 17:44:20 -0500

cthier gravatar image

Yes there can be only one auth node. And you are correct about the proxy servers. The are a lot of strategies for load balancing, for example you could use round robin dns, or an actual load balancer (like pound) in front of the two proxies, and point your storage url to the load balancer.

edit flag offensive delete link more
0

answered 2010-11-22 09:04:59 -0500

spiccolo gravatar image

I've another question about the configuration of two or more proxy node. When I configure a proxy node I've to copy the account.ring.gz, container.ring.gz, and object.ring.gz files to each of the Proxy and Storage nodes in /etc/swift. With more proxy-node, which account.ring.gz, container.ring.gz, and object.ring.gz files copy? I've see that these files changed in the proxy ... but they remain the same on other nodes ... is it correct?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2010-11-18 17:10:10 -0500

Seen: 41 times

Last updated: Nov 22 '10