Creating a synchronous copy relationship between volumes in different clusters

The IBMTSSVC_StorageConfigurationService class provides the methods for creating a synchronous copy relationship between a source IBMTSSVC_StorageVolume instance and a target IBMTSSVC_RemoteStorageVolume instance belonging to different IBMTSSVC_Cluster instances.

Perform the following steps to create a synchronous copy relationship between two volumes with the source located in a local cluster and the target located in a remote cluster:

  1. Identify an IBMTSSVC_Cluster instance as the source cluster for the desired synchronous copy relationship.
  2. Obtain the reference (CIMObjectPath) of the IBMTSSVC_StorageConfigurationService instance that is associated with the source cluster.
  3. Identify the IBMTSSVC_RemoteCluster on which you want the synchronous copy to reside by traversing the IBMTSSVC_ClusterScopeRemoteCluster association.
  4. Invoke the IBMTSSVC_StorageConfigurationService.CreateRemoteClusterPartnerShip() method with the following parameter specifications:
    1. Set RemoteCluster to the reference (CIMObjectPath) of the IBMTSSVC_RemoteCluster instance.
    2. Optionally set Bandwidth to the desired bandwidth in megabytes (MB).

    Make sure to issue the method from both the source and candidate clusters to establish a fully configured partnership; otherwise, the synchronous copy relationship cannot be established.

  5. Select an IBMTSSVC_StorageVolume as the source volume from the source IBMTSSVC_Cluster.
  6. Select an IBMTSSVC_RemoteVolume as the target volume from the IBMTSSVC_RemoteCluster. (IBMTSSVC_StorageVolume instances on the remote cluster are seen on the local cluster as IBMTSSVC_RemoteVolume instance). To determine a candidate volume, use the IBMTSSVC_CopyCandidate association from the Source Volume.
  7. Invoke the IBMTSSVC_StorageConfigurationService.AttachReplica() method with the following parameter specifications:
    1. Set SourceElement to the reference (CIMObjectPath) of the source IBMTSSVC_StorageVolume instance.
    2. Set TargetElement to the reference (CIMObjectPath) of the target IBMTSSVC_RemoteVolume.
    3. Optionally set ElementName to the name of the synchronization.
    4. Set CopyType to 3.

The source IBMTSSVC_StorageVolume instance and the target IBMTSSVC_StorageVolume or IBMTSSVC_RemoteVolume instance are now connected through the IBMTSSVC_SyncCopyStorageSynchronizedSet association.

Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.