The cinder.volume.drivers.ibm.storwize_svc.replication Module¶
-
class
StorwizeSVCReplication(driver)¶ Bases:
object-
create_replica(ctxt, volume)¶
-
static
factory(driver)¶ Use replication methods for the requested mode.
-
get_replication_info()¶
-
get_replication_status(volume)¶
-
is_replicated(volume)¶
-
promote_replica(volume)¶
-
reenable_replication(volume)¶ Enable the replication between the primary and secondary volumes.
This is not implemented in the StorwizeSVCReplicationStretchedCluster, as the Storwize backend is responsible for automatically resuming mirroring when stopped.
-
test_replica(tgt_volume, src_volume)¶
-
-
class
StorwizeSVCReplicationGlobalMirror(driver, replication_target=None, target_helpers=None)¶ Bases:
cinder.volume.drivers.ibm.storwize_svc.replication.StorwizeSVCReplicationStretchedClusterSupport for Storwize/SVC global mirror mode replication.
Global Mirror establishes a Global Mirror relationship between two volumes of equal size. The volumes in a Global Mirror relationship are referred to as the master (source) volume and the auxiliary (target) volume. This mode is dedicated to the asynchronous volume replication.
-
asyncmirror= True¶
-
failover_volume_host(context, vref)¶
-
replication_failback(volume)¶
-
volume_replication_setup(context, vref)¶
-
-
class
StorwizeSVCReplicationManager(driver, replication_target=None, target_helpers=None)¶ Bases:
object-
establish_target_partnership()¶
-
get_replica_obj(rep_type)¶
-
get_target_helpers()¶
-
-
class
StorwizeSVCReplicationMetroMirror(driver, replication_target=None, target_helpers=None)¶ Bases:
cinder.volume.drivers.ibm.storwize_svc.replication.StorwizeSVCReplicationGlobalMirrorSupport for Storwize/SVC metro mirror mode replication.
Metro Mirror establishes a Metro Mirror relationship between two volumes of equal size. The volumes in a Metro Mirror relationship are referred to as the master (source) volume and the auxiliary (target) volume.
-
asyncmirror= False¶
-
-
class
StorwizeSVCReplicationStretchedCluster(driver, replication_target=None)¶ Bases:
cinder.volume.drivers.ibm.storwize_svc.replication.StorwizeSVCReplicationSupport for Storwize/SVC stretched cluster mode replication.
This stretched cluster mode implements volume replication in terms of adding a copy to an existing volume, which changes a nonmirrored volume into a mirrored volume.
-
create_replica(ctxt, volume, vol_type=None)¶
-
delete_replica(volume)¶
-
get_replication_info()¶
-
get_replication_status(volume)¶
-
promote_replica(volume)¶
-
test_replica(tgt_volume, src_volume)¶
-