ModifySynchronization()
You can use the ModifySynchronization()
method to modify a FlashCopy or synchronous copy relationship between two
IBMTS2145_StorageVolume instances based on the specified type of operation.
The ModifySynchronization() method belongs to the IBMTS2145_StorageConfigurationService
class.
Parameters
Table 265 shows the parameters you can specify for the
ModifySynchronization() method:
Table 265. ModifySynchronization() parameters
|
Parameter |
Type |
Description |
| Operation |
Uint16 |
If set to Resync Replica (3), start a FlashCopy or synchronous
copy synchronization; if set to Fracture Replica (2), stop a FlashCopy or
synchronous copy synchronization; if set to Prepare (5), prepare a FlashCopy
synchronization; if set to Switch (0x8000), switches the primary copy relationship |
| Job |
String |
Defines the object used to monitor and terminate the
copy process |
| Synchronization |
String |
Specifies the copy relationship to be modified |
Return values
The ModifySynchronization() method returns one of the following error codes:
- 0: The FlashCopy mapping was successfully established.
- 5: The number or type of parameters that have been passed is incorrect.
- 6: The Synchronization that was passed in is a member of a SynchronizedSet.
- 0x1000: The CLI copy command ran and a job object was returned.
- 0x8100: One of the parameters was out of the cluster scope.
- 0x9000 to 0x9FFF: SAN Volume Controller return codes and messages.