]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Replication V2 for Pure Storage
authorDaniel Wilson <daniel.wilson@purestorage.com>
Mon, 17 Aug 2015 22:46:13 +0000 (15:46 -0700)
committerPatrick East <patrick.east@purestorage.com>
Thu, 28 Jan 2016 14:10:28 +0000 (14:10 +0000)
commitf9f7a89fcadc4d266e7e189b5bef13e835fc190c
tree5830ad69c0b582e97fcab2246f5f14a3c3f5d791
parentd3fe19cd3b6ae78c81b4c317c49e8e8d579714b1
Replication V2 for Pure Storage

This implementation utilizes Pure Storage Protection Groups to
replicate volumes natively between Pure Storage backends.

Replication schedules can be set via config file options.
Replication targets are also set via config file options.

For example,
[puredriver-1]
volume_backend_name = puredriver-1
...
replication_device = target_device_id:<unique_array_id>,
                     managed_backend_name:puredriver-2,
                     san_ip:<ip_address>,
                     api_token:<authentication_token>
pure_replica_interval_default = 900
pure_replica_retention_short_term_default = 14400
pure_replica_retention_long_term_per_day_default = 3
pure_replica_retention_long_term_default = 7

replication_device describes the target array for replication. This can
be either another managed cinder backend or one not managed by cinder.

The above settings will cause a protection group to be created between
the two flash arrays. It will replicate any volumes placed in it with
settings that cause a volume to be replicated every 15 mins (900s).  All
snapshots will be kept for 4 hours (14400s).  Then 3 snapshots per day
will be kept for 7 days.

Note that replication-failover is supported from primary to any of
multiple secondary arrays, but subsequent replication-failover is
only supported back to the original primary.

DocImpact
Implements: bp pure-v2-replication
Change-Id: I69e567143b65e92f89969ff5036c4f242c17a1dd
cinder/tests/unit/test_pure.py
cinder/volume/drivers/pure.py
releasenotes/notes/pure-v2-replication-0246223caaa8a9b5.yaml [new file with mode: 0644]