[Openstack] [Swift] Geo replication vs Storage policies

Samuel Merritt sam at swiftstack.com
Wed Jul 30 17:57:07 UTC 2014


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.






More information about the Openstack mailing list