CreateSyncCopySynchronizedSet()
You can use the CreateSyncCopySynchronizedSet()
method to create a SyncCopySynchronizedSet for aggregating IBMTS2145_SyncCopyStorageSynchronized
associations. The CreateSyncCopySynchronizedSet() method belongs to the IBMTS2145_StorageConfigurationService
class.
Parameters
Table 241 shows the parameters you can specify for the
CreateSyncCopySynchronizedSet() method:
Table 241. CreateSyncCopySynchronizedSet() parameters
|
Parameter |
Type |
Description |
| CopyType |
Uint16 |
Specifies the copy relationship type (3 for synchronous;
4 for FlashCopy) |
| [ElementName] |
String |
Defines the name of the copy relationship |
| [Set] |
String |
Defines the name of the SynchronizedSet |
| [RemoteCluster] |
String |
Specifies the remote cluster |
Return values
The CreateSyncCopySynchronizedSet() method returns one of the following
error codes:
- 0: The SyncCopySynchronizedSet was successfully created.
- 4: An unexpected error occurred.
- 5: The number or type of parameters that have been passed is incorrect.
- 6: A copy type other than 3 or 4 was passed in.
- 7: A StorageSynchronized association is not in the set.
- 8: A StorageSynchronized association is already in the set.
- 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.