Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Add To Replication Group

PUT /vdc/data-service/vpools/{id}/addvarrays

Adds one or more storage pools (as VDC:storage pool tuples) to the specified replication group.

idReplication group identifier for which storage pool needs to be added

Required Roles

  • SYSTEM_ADMIN


Prerequisites

The following conditions must be met in order to call this operation.

  • Replication group should exist


Request Payload

All parameters are required unless otherwise stated.

Field Description Type Notes
data_service_vpool_varrays
mappings     0-* Elements
name Virtual data center id String
value Storage pool id String
is_replication_target is replication target Boolean Valid Values:
  •  Optional [true | false]

Response Body

Response indicating Success or Failure to add virtual array to replication group


Examples

Request
PUT https://192.168.0.0:4443/vdc/data-service/vpools/urn:storageos:ReplicationGroupInfo:b3bf2d47-d732-457c-bb9b-d260eb53a76b:global/addarrays HTTP/1.1

Content-Type: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>

<data_service_vpool_varrays>
   <mappings>
      <name>vdc_id</name>
      <value>StoragePool_Id</value>
   </mappings>
</data_service_vpool_varrays>
Response
HTTP/1.1 200 OK
Content-Type: application/xml