cinder.volume.drivers.dell_emc.vnx.replication Modulecinder.volume.drivers.dell_emc.vnx.replication Module¶ReplicationAdapter(client=None, config=None)¶Bases: object
add_volumes_to_group_replication(group, volumes)¶append_replication_stats(stats)¶build_mirror_view(configuration, failover=True)¶Builds a mirror view operation class.
| Parameters: |
|
|---|
cleanup_lun_replication(volume)¶create_group_replication(group)¶delete_group_replication(group)¶disable_replication(context, group, volumes)¶Disable the group replication.
Note: This will not disable the replication on individual LUNs.
do_setup()¶enable_replication(context, group, volumes)¶Enable the group replication.
Note: this will not interfere with the replication on individual LUNs.
failover_host(context, volumes, secondary_backend_id, groups)¶Fails over the volume back and forth.
Driver needs to update following info for failed-over volume: 1. provider_location: update serial number and lun id 2. replication_status: new status for replication-enabled volume
failover_replication(context, group, volumes, secondary_backend_id)¶“Fail-over the consistent mirror group.
get_replication_error_status(context, groups)¶The failover only happens manually, no need to update the status.
remove_volumes_from_group_replication(group, volumes)¶setup_lun_replication(volume, primary_lun_id)¶Setup replication for LUN, this only happens in primary system.
validate_backend_id(backend_id)¶
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.