Multi Server Configuration

Asked by Ryan Rodd

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.

Cheers!

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Chuck Thier (cthier) said :
#1

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.

Can you help with this problem?

Provide an answer of your own, or ask Ryan Rodd for more information if necessary.

To post a message you must log in.