CreateSynchronization() Extrinsic methods CreateSynchronizedSet()

You can use the CreateSynchronization() method to create a FlashCopy or synchronous copy relationship between two IBMTS2145_StorageVolume instances, or an IBMTS2145_StorageVolume instance and an IBMTS2145_CandidateVolume instance. The CreateSynchronization() method belongs to the IBMTS2145_StorageConfigurationService class.

Parameters

Table 238 shows the parameters you can specify for the CreateSynchronization() method:

Table 238. CreateSynchronization() parameters
Parameter Type Description
SystemElement String Defines the source IBMTS2145_StorageVolume instance
SyncedElement String Defines the target IBMTS2145_StorageVolume instance
CopyType Uint16 Specifies the type of the copy relationship (3 for synchronous; 4 for FlashCopy)
[ElementName] String Defines the name of the IBMTS2145_StorageSynchronized association
[Set] String Defines the name of the IBMTS2145_SynchronizedSet instance
CopyRelation String Specifies the IBMTS2145_FlashCopyStorageSynchronized or IBMTS2145_SyncCopyStorageSynchronized instance
Return values

The CreateSynchronization() method returns one of the following error codes:

(C) Copyright International Business Machines Corporation 2003, 2004