The cinder.volume.drivers.ibm.ibm_storage.ds8k_replication
Module¶
-
class
MetroMirrorManager
(source, target)¶ Bases:
object
Manage metro mirror for replication.
-
check_physical_links
()¶
-
create_pprc_pairs
(lun)¶
-
create_pprc_path
(pool_lss_pair)¶
-
delete_pprc_pairs
(lun)¶
-
do_pprc_failback
(luns, backend_id)¶
-
do_pprc_failover
(luns, backend_id)¶
-
find_from_pprc_paths
(specified_lss=None, excluded_lss=None)¶ find lss from existing pprc paths and pool id for it.
the format of pool_lss_pair returned is as below: {‘source’: (pid, lss), ‘target’: (pid, lss)}
-
is_target_alive
()¶
-
switch_source_and_target
()¶
-
-
class
Replication
(source_helper, target_device)¶ Bases:
object
Metro Mirror and Global Mirror will be used by it.
-
check_connection_type
()¶
-
check_physical_links
()¶
-
create_pprc_pairs
(lun)¶
-
create_replica
(*args, **kwargs)¶
-
delete_pprc_pairs
(lun)¶
-
delete_replica
(*args, **kwargs)¶
-
do_pprc_failover
(luns, backend_id)¶
-
enable_replication
(*args, **kwargs)¶
-
extend_replica
(lun, param)¶
-
failover_unreplicated_volume
(*args, **kwargs)¶
-
find_new_lss_for_source
(*args, **kwargs)¶
-
find_new_lss_for_target
(*args, **kwargs)¶
-
find_pool_lss_pair
(*args, **kwargs)¶
-
start_pprc_failback
(*args, **kwargs)¶
-
switch_source_and_target
(secondary_id, luns=None)¶
-