Creating a new FlashCopy relationship between storage volumes Copy Services 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 that are the same size and belong to the same IBMTS2145_Cluster.

Steps

Perform the following steps to create a FlashCopy relationship between two IBMTS2145_StorageVolume instances:

  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 and belong to the same IBMTS2145_Cluster.

  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.

Related topics Copy Services Creating a FlashCopy relationship for a synchronized set

(C) Copyright International Business Machines Corporation 2003, 2004