[Openstack] [Swift] Geo replication vs Storage policies

John Dickinson me at not.mn
Wed Jul 30 18:11:54 UTC 2014


On Jul 30, 2014, at 10:57 AM, Samuel Merritt <sam at swiftstack.com> wrote:

> On 7/30/14, 10:18 AM, Shrinand Javadekar wrote:
>> Hi,
>> 
>> Swift v1 allowed for geo replication using read and write affinity
>> rules. Now, Swift v2 allows setting storage policies (which can affect
>> replication) per container. I wanted to know if/how these two
>> intersect. Some of the following are straight-forward questions, just
>> wanted to get a confirmation.
>> 
>> 1. If I have Swift v2.0 installation, can I enable geo replication
>> without having a separate storage policy?
> 
> Yes.
> 
>> 2. How does a user enable both geo replication and have storage policies?
> 
> Enable geo-replication with the read_affinity and write_affinity settings as usual, then define some storage policies.
> 
>> 3. Are there plans of consolidating geo replication and storage policies?
> 
> No; they're orthogonal.

But geo-clusters and storage policies go very well together, since polices allows you to have some data geographically distributed and other data in specific different locations.

--John




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140730/f4f0da23/attachment.sig>


More information about the Openstack mailing list