Creating a synchronous copy relationship between volumes in different clusters Copy Services

The IBMTS2145_StorageConfigurationService class provides the methods for creating a synchronous copy relationship between a source IBMTS2145_StorageVolume instance and a target IBMTS2145_CandidateVolume instance belonging to different IBMTS2145_Cluster instances.

Steps

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 IBMTS2145_Cluster as the source cluster for the desired synchronous copy relationship.
  2. Obtain the reference (CIMObjectPath) of the IBMTS2145_StorageConfigurationService instance associated with the source cluster.
  3. Identify the IBMTS2145_CandidateCluster on which you want the synchronous copy to reside by traversing the IBMTS2145_ClusterScopeRemoteCluster association.
  4. Invoke the IBMTS2145_StorageConfigurationService.CreateRemoteClusterPartnerShip() method with the following parameter specifications:
    • Set RemoteCluster to the reference (CIMObjectPath) of the IBMTS2145_CandidateCluster.
    • 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 IBMTS2145_StorageVolume as the source volume from the source IBMTS2145_Cluster.
  6. Select an IBMTS2145_CandidateVolume as the target volume from the IBMTS2145_RemoteCluster. (IBMTS2145_StorageVolumes on the remote cluster are seen on the local cluster as IBMTS2145_CandidateVolumes).
  7. Invoke the IBMTS2145_StorageConfigurationService.CreateSyncCopySynchronization() method with the following parameter specifications:
    • Set -R to the identifier or name of the IBMTS2145_CandidateCluster.

      The -R parameter optionally specifies the identifier or name of a remote cluster. However, in this example, the -R parameter is required because you are working with a local and a remote cluster.

    • Set SystemElement to the reference (CIMObjectPath) of the source volume.
    • Set SyncedElement to the reference (CIMObjectPath) of the target volume.
    • Optionally set ElementName to the name of the synchronization.
    • Optionally set BackgroundCopyRate to the desired priority of the background copy rate in percent (0-100%).
    • Optionally set Synchronized to true so the newly created mapping will be created in a synchronized state.

    The two volumes located on the IBMTS2145_Cluster and the IBMTS2145_RemoteCluster are now connected through the IBMTS2145_SyncCopyStorageSynchronized association.

    Note:Note: The IBMTS2145_CandidateVolume and IBMTS2145_CandidateCluster are available only when not in a relationship. Once they are part of a mapping, they are no longer available as candidates.
Related topics Copy Services

(C) Copyright International Business Machines Corporation 2003, 2004