CreateSynchronization()
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:
- 0: The copy relationship was established successfully.
- 4: An unexpected error occurred.
- 5: The number or type of parameters that have been passed is incorrect.
- 6: The copy type is not supported.
- 0x8100: One of the parameters was out of the cluster scope.
- 0x9000 to 0x9FFF: This range represents various SAN Volume Controller return
codes and messages.