← Back to team overview

openstack team mailing list archive

Re: PoC Swift

 

You can run your swift cluster with 2 replicas. This is set when the ring is first created. You can use `swift-ring-builder` (ie with no arguments) to get usage help. Note that there is not (yet) an easy way to change your replica count once the ring has been created.

If you have more than one drive for swift in each of your two machines, you can make three replicas. Swift will ensure that the two replicas on one machine are on different drives.

--John





On Nov 19, 2012, at 10:19 AM, Emilio García <emilio.garcia@xxxxxxxxxxxxxxxx> wrote:

> Good day everyone,
> 
> I want to set up a PoC for Swift. But we are willing to make it a little bit more complicated than just trivial. So we have two spare machines to dedicate to it. I was thinking we could just set up proxy and data node in the same machines. And have two data replicas (one per machine). Is this possible or do I need to have at least 3 data copies? If that is the case, or we want to make things a little bit more realistic but without adding extra servers I guess I can have duplicated copies by having more than just one data disk per server (so two data copies per machine). Is that assumption ok too?
> 
> Thanks.

Attachment: smime.p7s
Description: S/MIME cryptographic signature


References