The IBMTSSVC_StorageConfigurationService class provides the methods for creating a new
FlashCopy relationship between IBMTSSVC_StorageVolume
and target IBMTSSVC_StorageVolume instances, which are connected through an
IBMTSSVC_FlashCopyStorageSynchronized association.
A new target StorageVolume is a replica of the source
StorageVolume.
- Select an IBMTSSVC_StorageVolume instance as the source
volume for the preferredFlashCopy relationship.
- Retrieve the IBMTSSVC_StorageConfigurationService instance
that is associated with the IBMTSSVC_Cluster instance to which the
selected IBMTSSVC_StorageVolume instances belong.
- Start the IBMTSSVC_StorageConfigurationService.CreateReplica() method with the following
parameter specifications:
- Set SourceElement to the reference (CIMObjectPath) of the source IBMTSSVC_StorageVolume.
- Optionally set TargetSettingGoal to the reference (CIMObjectPath) of the target setting goal
IBMTSSVC_StorageVolumeSetting. CIM client can create a thinly provisioned target volume replica or
thinly provisioned compressed target volume replica by setting the relevant reference of
IBMTSSVC_StorageVolumeSetting. If TargetSettingGoal is null, a target storage volume with the same
properties as source storage volume is created.
- Optionally set ElementName to the name of the synchronization.
- Optionally set TargetPool to the reference (CIMObjectPath) of the target storage pool
IBMTSSVC_ConcreteStoragePool from which the target storage volume is created.
- Optionally set CopyType to 5. This sets AutoDelete to true, which automatically deletes the
FlashCopy mapping after the background copy is complete.
Tip: If you do not want to automatically delete FlashCopy mappings, Set CopyType to 4.
The target storage volume is returned to CIM client by TargetElement.
The source IBMTSSVC_LocalStorageSynchronized association
now connects the IBMTSSVC_StorageVolume and target IBMTSSVC_StorageVolume
instances.