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 that belongs to different IBMTSSVC_Cluster
instances.
This procedure creates a synchronous copy relationship between two volumes with the source that
is located in a local clustered system and the target that is located in a remote
clustered system.
- Identify an IBMTSSVC_Cluster instance as the source clustered system for the preferred synchronous copy
relationship.
- Obtain the reference (CIMObjectPath) of the IBMTSSVC_StorageConfigurationService
instance that is associated with the source clustered system.
- Identify the IBMTSSVC_RemoteCluster on which you want the
synchronous copy to reside by traversing the IBMTSSVC_RemotePartnership
association.
- Create a remote clustered system partnership by
invoking the IBMTSSVC_CascadingAllocationService.Allocate() method
with the following parameter specifications:
- Set RemoteCluster to the reference (CIMObjectPath) of
the IBMTSSVC_RemoteCluster instance.
- Optionally set Bandwidth to the preferred bandwidth
in megabytes (MB).
Make sure to issue the method from both the source and candidate clustered systems 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_CandidateVolume as the target volume
from the IBMTSSVC_RemoteCluster. To determine a candidate volume,
use the IBMTSSVC_CopyCandidate association from the source volume.
Note: IBMTSSVC_StorageVolume instances on the remote clustered
system are seen on the local clustered system as a IBMTSSVC_CandidateVolume
instance.
- 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_CandidateVolume.
- 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 or IBMTSSVC_RemoteStorageVolume instance are
now connected through the IBMTSSVC_MasterRemoteStorageSynchronized
association.