The IBMTSSVC_StorageConfigurationService class provides
the methods for creating a synchronous copy relationship between a
source IBMTSSVC_StorageVolume and a target IBMTSSVC_StorageVolume.
- Select an IBMTSSVC_StorageVolume instance as the source
volume for the preferredsource volume.
- Select an IBMTSSVC_StorageVolume instance as the target
volume.
- Obtain the reference (CIMObjectPath) of the IBMTSSVC_StorageConfigurationService
instance that is associated with the IBMTSSVC_Cluster instance to
which the selected volumes belong.
- Invoke the IBMTSSVC_StorageConfigurationService.AttachReplica()
method with the following parameter specifications:
- Set SourceElement to the reference (CIMObjectPath) of
the source IBMTSSVC_StorageVolume instance.
- Set TargetElement to the reference (CIMObjectPath) of
the target IBMTSSVC_StorageVolume.
- Optionally set ElementName to the name of the synchronization.
- 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.