The IBMTSSVC_StorageConfigurationService class provides
the methods for establishing a FlashCopy relationship between two IBMTSSVC_StorageVolume instances
that are the same size and belong to the same IBMTSSVC_Cluster instance.
- Select an IBMTSSVC_StorageVolume instance as the source
volume for the preferredFlashCopy relationship.
- Select a valid IBMTSSVC_StorageVolume as a target.
Make sure that the source IBMTSSVC_StorageVolume and target
IBMTSSVC_StorageVolume instances belong to the same IBMTSSVC_Cluster
instance.
- Retrieve the IBMTSSVC_StorageConfigurationService instance
that is associated with the IBMTSSVC_Cluster instance to which the
selected IBMTSSVC_StorageVolume instances belong.
- Invoke the IBMTSSVC_StorageConfigurationService.AttachReplica()
method with the following parameter specifications:
- Set SourceElement to the reference (CIMObjectPath) of
the source IBMTSSVC_StorageVolume.
- Set TargetElement to the reference (CIMObjectPath) of
the target IBMTSSVC_StorageVolume.
- Optionally set ElementName to the name of the synchronization.
- Optionally set BackgroundCopyRate to the preferred priority
of the background copy rate (0 - 100).
- Optionally specify Set to add the newly created FlashCopySynchronization
to the set. If you specify a null value, the newly created FlashCopySynchronization
will not be a member of a synchronized set.
- Optionally set CopyType to 5. This sets AutoDelete to
true, which automatically deletes the FlashCopy mapping after the background
copy is complete.
- If you do not want to automatically delete FlashCopy mappings, Set CopyType to 4.
The source IBMTSSVC_StorageVolume and target IBMTSSVC_StorageVolume
instances are now connected through the IBMTSSVC_LocalStorageSynchronized
association.