Creating A Cpg; Cpg Creation Success; Cpg Detailedstate Enumeration; Message Body Json Objects For Cpg Creation And Modification - HP 3PAR StoreServ 7200 2-node Manual

Hp 3par web service api 1.2 developer's guide (qr482-96192, june 2013)
Hide thumbs Also See for 3PAR StoreServ 7200 2-node:
Table of Contents

Advertisement

Table 17 CPG DetailedState Enumeration
Symbol
SA_LIMIT_REACHED
SD_LIMIT_REACHED
SA_GROW_FAILED
SD_GROW_FAILED
SA_WARN_REACHED
SD_WARN_REACHED

Creating a CPG

To create a CPG, use the HTTP POST method in the URI:
https://<storage system>:8080/api/v1/cpgs
with message body members as shown in
NOTE:
Any user with Super or Edit role, or any role granted the cpg_create right, can perform
this operation. Access to all domains is required for this operation.
Table 18 Message Body JSON Objects for CPG Creation and Modification
Member
name
growthIncrementMiB
growthLimitMiB
usedLDWarningAlertMiB
domain
LDLayout

CPG Creation Success

A successful operation returns the HTTP status code 201 Created. There is no message body.
Upon successful creation of the CPG, the location portion of the response header contains the URI
for the newly created CPG in the following format:
/api/v1/cpgs/<cpg name>
Value
1
2
3
4
5
6
Table 18 (page
JSON Type
API Type
string
name31
number
igint32
number
igint32
number
igint32
string
name31
object
LDLayout
object
Description
Admin space at limit.
Copy space at limit.
Admin space grow failed.
Copy space grow failed.
Admin space at warning level.
Copy space at warning level.
33).
Ignored Values
None
Zero and negative values
In WSAPI 1.2, 0 and
negative values are
ignored.
Negative values
In WSAPI 1.2, zero and
negative values are
ignored.
Negative values
In WSAPI 1.2, zero and
negative values are
ignored.
Null
Null
Description
Specifies the name of the
CPG.
For CPG creation only.
Specifies the growth
increment, in MiB, the amount
of logical disk storage created
on each auto-grow operation.
Specifies that the auto-grow
operation is limited to the
specified storage amount, in
MiB, that sets the growth limit.
Specifies that the threshold of
used logical disk space, in
MiB, when exceeded results
in a warning alert.
Specifies the name of the
domain in which the object
will reside.
For CPG creation only.
Specifies Logical Disk types
to be used for this CPG.
Creating a CPG
33

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents