cinder.volume.drivers.ibm.ibm_storage.ds8k_replication Module¶MetroMirrorManager(source_helper, target_helper)¶Bases: object
Manage metro mirror for replication.
check_physical_links()¶create_pprc_pairs(lun)¶create_pprc_path(lun, is_group=False)¶delete_pprc_pairs(lun)¶do_pprc_failback(luns, is_group=False)¶do_pprc_failover(luns, is_group=False)¶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)}
get_pprc_pair_ids(luns, switch=False)¶is_target_alive()¶switch_source_and_target()¶Replication(source_helper, target_device)¶Bases: object
Metro Mirror and Global Mirror will be used by it.
Version history:
1.0.0 - initial revision.
2.1.0 - ignore exception during cleanup when creating or deleting
replica failed.
2.1.1 - Adding support for replication consistency group.
VERSION = '2.1.1'¶check_connection_type()¶check_physical_links()¶create_pprc_pairs(lun)¶create_replica(*args, **kwargs)¶delete_pprc_pairs(lun)¶delete_replica(*args, **kwargs)¶disable_replication(*args, **kwargs)¶enable_replication(*args, **kwargs)¶establish_replication(*args, **kwargs)¶extend_replica(lun, param)¶find_new_lss_for_source(*args, **kwargs)¶find_new_lss_for_target(*args, **kwargs)¶find_pool_lss_pair(*args, **kwargs)¶get_source_helper()¶get_target_helper()¶start_group_pprc_failback(*args, **kwargs)¶start_group_pprc_failover(luns, backend_id)¶start_host_pprc_failback(*args, **kwargs)¶start_host_pprc_failover(luns, backend_id)¶switch_source_and_target_client()¶
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.