Ask Your Question
1

what is the best practice of providing weight and keeping balance at 0.00 for creating rings?

asked 2013-07-19 13:28:51 -0500

ebyenjoys gravatar image

updated 2013-07-19 16:09:34 -0500

smaffulli gravatar image

what is the best practice of providing weight and keeping balance at 0.00 for creating rings?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-07-20 10:18:40 -0500

clayg gravatar image

AFAIK almost all deployments follow the recommendation of using the size of the disk as the weight:

http://docs.openstack.org/developer/swift/overview_ring.html#list-of-devices

When adding large capacity there's a bit of a cargo cult built up around gradual ring adjustment.

If you have 24 servers in four zones and you're adding six more in zone five, you might want to add their devices with 25% capacity initially and monitor your replication traffic on those machines network interfaces or the replication cycle times (logs, statsd, or recon). After things settle down you can add in another 25% (or just put in the rest...)

Sometimes I think it's just as many connections wether you add 25% or 100% because the rebalance is going to pull partitions from everywhere in the cluster. But I think it really all depends on your cluster size.

There's commercial solutions to help with ring management and also one of the devops at Rackspace has published:

https://github.com/pandemicsyn/swift-ring-master

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

Stats

Asked: 2013-07-19 13:28:51 -0500

Seen: 167 times

Last updated: Jul 20 '13