CreateFlashCopySynchronization()
You can use the CreateFlashCopySynchronization()
method to create a FlashCopy relationship between two IBMTS2145_StorageVolume
instances. The CreateFlashCopySynchronization() method belongs to the IBMTS2145_StorageConfigurationService
class.
Parameters
Table 232 shows the parameters you can specify
for the CreateFlashCopySynchronization() method:
Table 232. CreateFlashCopySynchronization() parameters
|
Parameter |
Type |
Description |
| SystemElement |
String |
Defines the source IBMTS2145_StorageVolume instance |
| SyncedElement |
String |
Defines the target IBMTS2145_StorageVolume instance |
| [BackgroundCopyRate] |
Uint16 |
Specifies the priority of the background copy rate (%) |
| [ElementName] |
String |
Defines the IBMTS2145_StorageSynchronized association |
| [Set] |
String |
Defines the IBMTS2145_SynchronizedSet |
| CopyRelation |
String |
Specifies the IBMTS2145_FlashCopyStorageSynchronized
or IBMTS2145_SyncCopyStorageSynchronized instance |
Return values
The CreateFlashCopySynchronization() method returns one of the following
error codes:
- 0: The FlashCopy mapping was established successfully.
- 4: An unexpected error occurred.
- 5: The number or type of parameters that have been passed is incorrect.
- 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.