Multi Server Configuration

asked 2010-10-06 20:48:24 -0600

ryan-rodd gravatar image

Now that I've put my single server setup through the paces with Swift (and the default configurations), and its time to add another. The new server is now hosting account, container, and object services - configured identically to the first. I've added the new IP address and devices to the ring via swift-ring-builder [builder file] add ... and rebalanced on the original server with (seemingly) no errors.

Of course the deployment guide says that the configuration defaults are not tuned for multiple servers and some cloud operations are now failing (containers can't be found or listed) . Do you guys have a quick summary or simple run down of what should be changed configuration-wise to account for additional servers? I'd like to get them talking but no intuitive options really stand out.


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2010-10-07 15:11:23 -0600

cthier gravatar image

The Swift All In One (SAIO) installation is mainly meant as a development setup. It emulates running four swift servers on one single server. This is not the type of configuration that you would want to run for a production like cluster.

If you are wanting to setup swift in a more production like environment with several machines. It is recommended as an absolute minimum to have 4 machines (each representing one zone), running the swift proxy, object, container, and account servers. The DevAuth server should be run on just one machine. Sample configs for each of the servers can be found in the swift repository under swift/etc.

Once all the services are running and working, you will want to start tuning the system. The main thing to do here is to set the number of workers. A good starting point is to set it to the number of workers to the number of cores available.

All of this can vary greatly depending on how you would like to eventually set up swift, but hopefully this is a start in the right direction. The deployment guide is a start to documenting some of this, but we still need a lot more.

If you have more questions, please come find me on irc at #openstack and we can discuss more.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2010-10-06 20:48:24 -0600

Seen: 104 times

Last updated: Oct 07 '10