HP 3PAR StoreServ 7200 2-node HP 3PAR Web Service API 1.2 Developer's - Page 29

Working with Common Provisioning Groups, CPG Enumeration and Configuration Objects

Page 29 highlights

3 Working with Common Provisioning Groups You can use a common provisioning group (CPG) to create a virtual pool of logical disks that allows virtual volumes to share the resources of the CPG and allocates space on demand. You can create fully-provisioned virtual volumes (FPVVs) and thinly-provisioned virtual volumes (TPVVs) that draw space from the logical disk pool. You can use this chapter to: • Create a CPG • Modify a CPG • Remove a CPG • Query a CPG CPG Enumeration and Configuration Objects Many of the CPG operation objects have enumerations or contain sub-objects, as described in the following sections. CPG LDLayout JSON Objects LDLayout is a sub-object of the CPG object for creation and modification. It is also returned within the CPG's SAGrowth and SDGrowth objects upon query of CPGs. See Table 8 (page 29). Table 8 JSON Objects for CPG LDLayout Member RAIDType setSize HA JSON Type number API Type RAIDType enum Ignored Values Negative values number igint32 Negative values number HA enum Negative values chunkletPosPref number diskPatterns array of objects chunkletPosPref enum array of diskPatterns objects Negative values None Description Specifies the RAID type for the logical disk. Specifies the set size in the number of chunklets. Specifies that the layout must support the failure of one port pair, one cage, or one magazine. Specifies the chunklet location preference characteristics. Specifies patterns for candidate disks. CPG RAIDType Enumeration Upon creation, modification, and query, the RAID type is specified as an enumeration as shown in Table 9 (page 29). Table 9 CPG RAIDType Enumeration Symbol R0 R1 R5 R6 Value 1 2 3 4 Description RAID level 0 RAID level 1 RAID level 5 RAID level 6 CPG Enumeration and Configuration Objects 29

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107

3 Working with Common Provisioning Groups
You can use a common provisioning group (CPG) to create a virtual pool of logical disks that
allows virtual volumes to share the resources of the CPG and allocates space on demand. You can
create fully-provisioned virtual volumes (FPVVs) and thinly-provisioned virtual volumes (TPVVs) that
draw space from the logical disk pool.
You can use this chapter to:
Create a CPG
Modify a CPG
Remove a CPG
Query a CPG
CPG Enumeration and Configuration Objects
Many of the CPG operation objects have enumerations or contain sub-objects, as described in the
following sections.
CPG
LDLayout
JSON Objects
LDLayout
is a sub-object of the CPG object for creation and modification. It is also returned within
the CPG’s
SAGrowth
and
SDGrowth
objects upon query of CPGs. See
Table 8 (page 29)
.
Table 8 JSON Objects for CPG
LDLayout
Description
Ignored Values
API Type
JSON Type
Member
Specifies the RAID type for the
logical disk.
Negative values
RAIDType enum
number
RAIDType
Specifies the set size in the
number of chunklets.
Negative values
igint32
number
setSize
Specifies that the layout must
support the failure of one port
Negative values
HA enum
number
HA
pair, one cage, or one
magazine.
Specifies the chunklet location
preference characteristics.
Negative values
chunkletPosPref
enum
number
chunkletPosPref
Specifies patterns for candidate
disks.
None
array of
diskPatterns
objects
array of
objects
diskPatterns
CPG
RAIDType
Enumeration
Upon creation, modification, and query, the RAID type is specified as an enumeration as shown
in
Table 9 (page 29)
.
Table 9 CPG
RAIDType
Enumeration
Description
Value
Symbol
RAID level 0
1
R0
RAID level 1
2
R1
RAID level 5
3
R5
RAID level 6
4
R6
CPG Enumeration and Configuration Objects
29