Creating a FlashCopy relationship for a synchronized
set
The IBMTS2145_StorageConfigurationService
class provides the methods for establishing a FlashCopy relationship between
two IBMTS2145_StorageVolume instances and then adding it to an IBMTS2145_FlashCopySynchronizedSet.
Steps
Perform the following steps to create a FlashCopy relationship
between two IBMTS2145_StorageVolume instances and add it to an IBMTS2145_FlashCopySynchronizedSet:
- Select an IBMTS2145_StorageVolume instance as the source volume for the
desired FlashCopy relationship.
- Select an IBMTS2145_CandidateVolume instance as the target volume.
Make sure that the source IBMTS2145_StorageVolume and target IBMTS2145_CandidateVolume
instances are the same size.
- Retrieve the IBMTS2145_StorageConfigurationService instance associated
with the IBMTS2145_Cluster to which the selected IBMTS2145_StorageVolume instances
belong.
- Invoke the IBMTS2145_StorageConfigurationService.CreateFlashCopySynchronization()
method with the following parameter specifications:
- Set SystemElement to the reference (CIMObjectPath) of the source IBMTS2145_StorageVolume.
- Set SyncedElement to the reference (CIMObjectPath) of the target IBMTS2145_CandidateVolume.
- Optionally set ElementName to the name of the synchronization.
- Optionally set BackgroundCopyRate to the desired priority of the background
copy rate in percent (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.
The source IBMTS2145_StorageVolume and target IBMTS2145_CandidateVolume
instances are now connected through the IBMTS2145_FlashCopyStorageSynchronized
association.
- Create an IBMTS2145_FlashCopySynchronizedSet instance by invoking the
IBMTS2145_StorageConfigurationService.CreateSynchronizedSet() method with
the following parameter specifications:
- Set CopyType to 4 (flash).
- Optionally set ElementName to the name of the newly created IBMTS2145_FlashCopySynchronizedSet.
- Add the IBMTS2145_FlashCopyStorageSynchronized instance to the IBMTS2145_FlashCopySynchronizedSet
by invoking the IBMTS2145_StorageConfigurationService.ModifySynchronizedSet()
method with the Operation parameter set to 2 (add).
The synchronization
must belong to the same cluster as the hosting service.
Related topics