Creating A Storage Volume; Creating Base Volumes; Message Body Json Objects For Base-Volume Creation - 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

Creating a Storage Volume

This section contains information on creating volumes, and includes the following topics:
Create base volumes
Create snapshot volumes
NOTE:
Any user with Super or Edit role, or any role granted the vv_create right (for base
volumes) or sv_create (for snapshot volumes), can create a volume.

Creating Base Volumes

To create a storage volume, use the HTTP POST method in the URI:
https://<storage system>:8080/api/v1/volumes
NOTE:
The <storage system> parameter will be replaced with the actual storage system's
host name or IP address.
Message Body Members
The message body is a JSON object with the members shown in
Most of the message-body JSON object members are optional. The definition of members can be
found in the HP 3PAR Command Line Interface Reference or in the column help for the CLI command
createvv.
Table 31 Message Body JSON Objects for Base-volume Creation
Member
name
cpg
sizeMiB
id
comment
policies
snapCPG
ssSpcAllocWarningPct
JSON Type
API Type
string
name31
string
name31
number
uint32
number
igint32
string
print51 1
object
policies object
string
name31
number
igint32
Table 31 (page
Ignored Values
Description
None (Required)
Specifies a VV name up
to 31 characters in
length.
None (Required)
Specifies the name of the
CPG from which the
volume user space will
be allocated.
None (Required)
Specifies the size for the
volume in MiB. The
volume size is rounded
up to the next multiple of
256 MiB.
Negative values
Specifies the ID of the
volume. If not specified,
the next available ID is
chosen.
None
Specifies any additional
information up to 51 1
characters for the
volume.
None, except caching
Specifies virtual volume
and system, which are
policies.
ignored if false.
None
Specifies the name of the
CPG from which the
snapshot space will be
allocated.
Negative values
Enables a snapshot
space allocation
Creating a Storage Volume
41).
41

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents