]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
LeftHand: Update replication to v2.1
authorAlex O'Rourke <alex.orourke@hpe.com>
Tue, 1 Mar 2016 00:42:16 +0000 (16:42 -0800)
committerAlex O'Rourke <alex.orourke@hpe.com>
Tue, 1 Mar 2016 23:40:05 +0000 (15:40 -0800)
commit12de30a4dd821f049869ea337056936bdc5f2ebe
treec02e711f014e43e3851a77b61f329ccb22dcea57
parent5be8ba1586440d274cf34111659802ed5adaf9df
LeftHand: Update replication to v2.1

This patch updates replication to match the v2.1 spec. This makes it
so an entire backend can be replicated, and upon failover, all
replicated volumes will be failed over together.

cinder.conf should have the replication config group:

[lefthandrep]
hpelefthand_api_url = https://10.10.10.10:8081/lhos
hpelefthand_username = user
hpelefthand_password = pass
hpelefthand_clustername = vsa-12-5-mgmt1-vip
volume_backend_name = lefthandrep
volume_driver = cinder.volume.drivers.hpe.hpe_lefthand_iscsi.\
                HPELeftHandISCSIDriver
replication_device = backend_id:lh-id,
                     hpelefthand_api_url:https://11.11.11.11:8081/lhos,
                     hpelefthand_username:user2,
                     hpelefthand_password:pass2,
                     hpelefthand_clustername:vsa-12-5-mgmt2-vip

Change-Id: I5dcf09fb337490e36d89654e3e3850a5a5cbdc6e
Closes-Bug: #1542079
cinder/tests/unit/test_hpelefthand.py
cinder/volume/drivers/hpe/hpe_lefthand_iscsi.py
releasenotes/notes/replication-v2.1-lefthand-745b72b64e5944c3.yaml [new file with mode: 0644]