CreateReplica() Extrinsic methods CreateSynchronization()

You can use the CreateReplica() method to create a replica of the source volume for a copy relationship. The CreateReplica() method belongs to the IBMTS2145_StorageConfigurationService class.

Parameters

Table 237 shows the parameters you can specify for the CreateReplica() method:

Table 237. CreateReplica() parameters
Parameter Type Description
Job String Defines the object used to monitor and terminate the copy process
SourceElement String Specifies the source volume for the replica
TargetElement String Specifies the target volume for the replica
TargetSettingGoal String Specifies the StorageSetting object to be matched by the replica
TargetPool String Specify the IBMTS2145_StoragePool instance into which the replica will be allocated
CopyType Uint16 Defines the type of the copy relationship. Possible values are 3 (synchronous copy) or 4 (FlashCopy).
Return values

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

(C) Copyright International Business Machines Corporation 2003, 2004