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:
- Identify an IBMTSSVC_Cluster instance as the source cluster for
the desired synchronous copy relationship.
- Obtain the reference (CIMObjectPath) of the IBMTSSVC_StorageConfigurationService
instance that is associated with the source cluster.
- Identify the IBMTSSVC_RemoteCluster on which you want the synchronous
copy to reside by traversing the IBMTSSVC_ClusterScopeRemoteCluster association.
- Invoke the IBMTSSVC_StorageConfigurationService.CreateRemoteClusterPartnerShip()
method with the following parameter specifications:
- Set RemoteCluster to the reference (CIMObjectPath) of the IBMTSSVC_RemoteCluster
instance.
- 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.
- Select an IBMTSSVC_StorageVolume as the source volume from the
source IBMTSSVC_Cluster.
- 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.
- 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_RemoteVolume.
- Optionally set ElementName to the name of the synchronization.
- 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.