After copying the data by successfully executing the API request for performing migration, execute the API request for deleting a pair to change the pair status of the source volume and the target volume to SMPL.
Execution permission
Storage Administrator (Provisioning)
Request line
POST base-URL/v1/objects/local-clone-copypairs/object-ID/actions/migrate/invoke
Request message
- Object ID
-
Specify the localCloneCopypairId value obtained by getting the pair information. You can also specify the following attributes and connect them with commas:
copyGroupName,pvolDeviceGroupName,svolDeviceGroupName,copyPairName
Attribute
Type
Description
copyGroupName
string
(Required) Specify the copy group name. Value should not exceed 31 characters. The name is case sensitive.
pvolDeviceGroupName
string
(Required) Specify the P-VOL (source volume) device group name. Value should not exceed 31 characters. The name is case sensitive.
svolDeviceGroupName
string
(Required) Specify the S-VOL (target volume) device group name. Value should not exceed 31 characters. The name is case sensitive.
copyPairName
string
(Required) Specify the name of the pair. Value should not exceed 31 characters. The name is case sensitive.
Response message
- Body
-
A job object is returned. See the description for the job object. affectedResources is not displayed for this API. To check whether the migration was successful, execute the API request for obtaining information about a pair. The possible pair statuses are as follows:
- If the migration was successful: PSUS
- If the migration failed: PSUE
Action template
None.
Status codes
For details on the status codes of the request for this operation, see the description on HTTP status codes.
Coding example
curl -v -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization:Session d7b673af189048468c5af9bcf3bbbb6f" -X POST -d "" https://192.0.2.100/ConfigurationManager/v1/objects/local-clone-copypairs/vm-cg,dgp,dgs,p1/actions/migrate/invoke