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.StorwizeSVCReplicationStretchedCluster

Support 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.

UUID_LEN = 36
asyncmirror = True
create_relationship(vref, target_vol_name)
delete_target_volume(vref)
establish_target_partnership()
extend_target_volume(target_vol_name, amount)
failover_volume_host(context, vref, secondary)
get_relationship_status(volume)
replication_failback(volume)
volume_replication_setup(context, vref)
class StorwizeSVCReplicationMetroMirror(driver, replication_target=None, target_helpers=None)

Bases: cinder.volume.drivers.ibm.storwize_svc.replication.StorwizeSVCReplicationGlobalMirror

Support 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.StorwizeSVCReplication

Support 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)

Previous topic

The cinder.volume.drivers.ibm.ibm_storage Module

Next topic

The cinder.volume.drivers.ibm.storwize_svc.storwize_svc_common Module

Project Source

This Page