Getting information about a specific copy group (Volume Migration)

REST API Reference Guide for Virtual Storage Platform 5000, Virtual Storage Platform E Series, and Virtual Storage Platform G/F Series

Version
93-07-0x
90-09-0x
88-08-10
Audience
anonymous
Part Number
MK-98RD9014-17
The following request acquires information about the specified copy group and about the pairs within that copy group that are to be used for Volume Migration. This operation allows you to check the status of the pairs and to acquire their pair configuration information.
Important:
  • If the target copy group contains a pair that was created or deleted by using another REST API server or software other than the REST API, correct information about that pair might not be obtained. To obtain the most recent information about such pairs, use the API for obtaining a list of pairs.
  • If the copy group name, device group name, or copy pair name contains spaces, the information cannot be obtained.

Execution permission

Storage Administrator (View Only)

Request line

GET base-URL/v1/objects/local-clone-copygroups/object-ID

Request message

Object ID

Specify the localCloneCopygroupId value obtained by getting the list of copy groups. You can also specify the following attributes and connect them with commas:

copyGroupName,pvolDeviceGroupName,svolDeviceGroupName

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) Specifies the device group name for the P-VOL (source volume). Value should not exceed 31 characters. The name is case sensitive.

svolDeviceGroupName

string

(Required) Specifies the device group name for the S-VOL (target volume). Value should not exceed 31 characters. The name is case sensitive.

Query parameters
None.
Body
None.

Response message

Body
{
  "localCloneCopygroupId" : "vm-cg,dgp,dgs",
  "copyGroupName" : "vm-cg",
  "pvolDeviceGroupName" : "dgp",
  "svolDeviceGroupName" : "dgs",
  "copyPairs" : [ {
    "localCloneCopypairId" : "vm-cg,dgp,dgs,p0",
    "copyGroupName" : "vm-cg",
    "copyPairName" : "p0",
    "replicationType" : "SI",
    "copyMode" : "NotSynchronized",
    "pvolLdevId" : 40970,
    "pvolStatus" : "SMPL",
    "svolLdevId" : 40960,
    "svolStatus" : "SMPL",
    "pvolMuNumber" : 0,
    "pvolProcessingStatus": "N",
    "svolProcessingStatus": "N"
  }, {
    "localCloneCopypairId" : "vm-cg,dgp,dgs,p1",
    "copyGroupName" : "vm-cg",
    "copyPairName" : "p1",
    "replicationType" : "SI",
    "copyMode" : "NotSynchronized",
    "pvolLdevId" : 40971,
    "pvolStatus" : "SMPL",
    "svolLdevId" : 40961,
    "svolStatus" : "SMPL",
    "pvolMuNumber" : 0,
    "pvolProcessingStatus": "N",
    "svolProcessingStatus": "N"
  } ]
}

Attribute

Type

Description

copyGroupName

string

Copy group name

pvolDeviceGroupName

string

Device group name for the P-VOL

svolDeviceGroupName

string

Device group name for the S-VOL

localCloneCopygroupId

string

Object ID of the copy group that contains a pair

The following attributes are output, separated by commas:

  • copyGroupName
  • pvolDeviceGroupName
  • svolDeviceGroupName

copyPairs

object[]

The following attributes about the pairs included in the copy group:

  • copyGroupName (string)

    Copy group name

  • copyPairName (string)

    Pair name

  • replicationType (string)

    Pair type

    Outputs SI .

  • copyMode (string)

    Copy mode

    • NotSynchronized: Pairs created for the purpose of performing migration
    • VolumeMigration: Pairs for which migration is in progress or for which migration is complete

    Other values are displayed for pairs that do not meet either of the preceding conditions.

  • copyProgressRate (int)

    Copy progress rate (%)

    This attribute is not output if no information can be obtained.

  • pvolLdevId (int)

    LDEV number of the P-VOL

  • svolLdevId (int)

    LDEV number of the S-VOL

  • pvolStatus (string)

    Pair volume status of the P-VOL

    For details, see the section describing the pair status (Volume Migration).

    This attribute is not output if no information can be obtained.

  • svolStatus (string)

    Pair volume status of the S-VOL

    For details, see the section describing the pair status (Volume Migration).

    This attribute is not output if no information can be obtained.

  • localCloneCopypairId (string)

    Object ID of the pair

  • pvolMuNumber (int)

    MU number of the P-VOL

  • pvolProcessingStatus (string)

    Processing status of the pair

    • E: The expansion processing is in progress.
    • N: The expansion processing is not in progress.

    The same value as that of svolProcessingStatus is output.

  • svolProcessingStatus (string)

    Processing status of the pair

    • E: The expansion processing is in progress.
    • N: The expansion processing is not in progress.

    The same value as that of pvolProcessingStatus is output.

Status codes

The following table describes the meaning of the status code of the request for this operation. For details on other status codes, see the section explaining HTTP status codes.

Status code

Message

Description

404

Not Found

No copy group can be obtained, or no pair was included in the copy group that was obtained.

Coding example

curl -v -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization:Session d7b673af189048468c5af9bcf3bbbb6f" -X GET https://192.0.2.100/ConfigurationManager/v1/objects/local-clone-copypairs?localCloneCopyGroupId=vm-cg,dgp,dgs