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

The IBMTS2145_StorageConfigurationService class provides the methods for creating a synchronous copy relationship between a source IBMTS2145_StorageVolume and a target IBMTS2145_StorageVolume or a source IBMTS2145_StorageVolume and a target IBMTS2145_CandidateVolume in the same IBMTS2145_Cluster.

Steps

Perform the following steps to create the synchronous copy relationship:

  1. Select an IBMTS2145_StorageVolume instance as the source volume for the desired synchronous copy relationship.
  2. Select an IBMTS2145_StorageVolume instance or an IBMTS2145_CandidateVolume instance as the target volume.
  3. Obtain the reference (CIMObjectPath) of the IBMTS2145_StorageConfigurationService instance associated with the IBMTS2145_Cluster to which the selected volumes belong.
  4. Invoke the IBMTS2145_StorageConfigurationService.CreateSyncCopySynchronization() method with the following parameter specifications:
    • Set SystemElement to the reference (CIMObjectPath) of the source IBMTS2145_StorageVolume instance.
    • Set SyncedElement to the reference (CIMObjectPath) of the target IBMTS2145_StorageVolume or IBMTS2145_CandidateVolume instance.
    • 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%).
    • Set Synchronized totrue (so the newly created mapping will be created in a consistent state).

    The source IBMTS2145_StorageVolume instance and the target IBMTS2145_StorageVolume or IBMTS2145_CandidateVolume instance (whichever you selected) are now connected through the IBMTS2145_SyncCopyStorageSynchronized association.

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

(C) Copyright International Business Machines Corporation 2003, 2004