The IBMTS2145_StorageConfigurationService class provides the methods for creating a synchronous copy relationship between a source IBMTS2145_StorageVolume instance and a target IBMTS2145_CandidateVolume instance belonging to different IBMTS2145_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:
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.
The -R parameter optionally specifies the identifier or name of a remote cluster. However, in this example, the -R parameter is required because you are working with a local and a remote cluster.
The two volumes located on the IBMTS2145_Cluster and the IBMTS2145_RemoteCluster are now connected through the IBMTS2145_SyncCopyStorageSynchronized association.
| Note: The IBMTS2145_CandidateVolume and IBMTS2145_CandidateCluster are available only when not in a relationship. Once they are part of a mapping, they are no longer available as candidates. |