Creating a synchronous copy relationship between volumes in the same clustered system

The IBMTSSVC_StorageConfigurationService class provides the methods for creating a synchronous copy relationship between a source IBMTSSVC_StorageVolume and a target IBMTSSVC_StorageVolume.

  1. Select an IBMTSSVC_StorageVolume instance as the source volume for the preferred source volume.
  2. Select an IBMTSSVC_StorageVolume instance as the target volume.
  3. Obtain the reference (CIMObjectPath) of the IBMTSSVC_StorageConfigurationService instance that is associated with the IBMTSSVC_Cluster instance to which the selected volumes belong.
  4. 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_StorageVolume.
    3. Optionally set ElementName to the name of the synchronization.
    4. Set CopyType to 3 for Synchronous and 2 for Asynchronous.

The source IBMTSSVC_StorageVolume instance and the target IBMTSSVC_StorageVolume are now connected through the RemoteStorageSynchronized association.