Creating a FlashCopy relationship for a synchronized set Copy Services Creating a synchronous copy relationship between volumes in the same cluster

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:

  1. Select an IBMTS2145_StorageVolume instance as the source volume for the desired FlashCopy relationship.
  2. 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.

  3. Retrieve the IBMTS2145_StorageConfigurationService instance associated with the IBMTS2145_Cluster to which the selected IBMTS2145_StorageVolume instances belong.
  4. 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.

  5. 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.
  6. 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 Copy Services Creating a synchronous copy relationship between volumes in the same cluster

(C) Copyright International Business Machines Corporation 2003, 2004