HP 3PAR StoreServ 7200 2-node HP 3PAR CIM API Programming Reference (OS 3.1.2 - Page 37

Creating a Volume with Disk Pattern Filtering

Page 37 highlights

4. You can optionally call DeleteInstance on the TPD_StorageSetting instance from step 1 or 2 to delete it. Table 35 Parameters for the CreateOrModifyElementFromStoragePool Method Operations/Parameters ElementName ElementType Create Volume Name of Volume 2 (Storage Volume) 5 (Thinly Provisioned Storage Volume) Grow/Set Volume New name of volume; NULL means no change in volume name. 2 5 (Thinly Provisioned Storage Volume). Goal Size (bytes) InPool TheElement Reference to either fixed TPD_StorageSetting or one created through the CreateSetting option; defaults to fixed RAID-10 if NULL Reference to a TPD_StorageSetting instance containing new parameter values; NULL means no change in StorageSetting parameters. Minimum 268435456 (256 MB) Must be larger than the current volume size; NULL means the volume is not grown. Reference to all-FC, all-NL, all-SSD pool or DynamicStoragePool; defaults to all-FC pool if NULL NULL. NULL Reference to an existing TPD_StorageVolume. Creating a Volume with Disk Pattern Filtering Disk pattern filtering can be achieved using the 3PAR extension properties to the TPD_StorageSetting class (refer to the following table). Each of these properties are defined as an array, with each array set representing a set of patterns, so for example if a client wants to provide for two sets of patterns, the array size of these properties must all be 2. Properties that are not applicable must be set to either empty string for string type or -1 for integer type. The format for the string is the same as that for the CLI as described in the Table 36 (page 37): Table 36 Disk Pattern CIM Properties Disk Pattern CIM Property Name (from TPD_StorageSetting class) DiskPrimPathNodes DiskPrimPathPCISlots DiskPrimPathPorts DiskCages DiskMagazines DiskMagPositions DiskIDs DiskTotalChunkletGT DiskTotalChunkletLT DiskFreeChunkletGT CIM Property Type String array String array String array String array String array String array String array Signed Integer array Signed Integer array Signed Integer array CLI Equivalent -nd -st -pt -cg -mg -pn -dk -tc_gt -tc_lt -fc_gt Format an integer an integer an integer Block Services Package 37

  • 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
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274
  • 275
  • 276
  • 277
  • 278
  • 279
  • 280
  • 281
  • 282
  • 283
  • 284
  • 285
  • 286
  • 287
  • 288
  • 289
  • 290
  • 291
  • 292
  • 293
  • 294
  • 295
  • 296
  • 297
  • 298
  • 299
  • 300
  • 301
  • 302
  • 303
  • 304
  • 305
  • 306
  • 307
  • 308
  • 309

4.
You can optionally call
DeleteInstance
on the
TPD_StorageSetting
instance from
step 1 or 2 to delete it.
Table 35 Parameters for the CreateOrModifyElementFromStoragePool Method
Grow/Set Volume
Create Volume
Operations/Parameters
New name of volume; NULL means
no change in volume name.
Name of Volume
ElementName
2
5 (Thinly Provisioned Storage
Volume).
2 (Storage Volume)
5 (Thinly Provisioned Storage
Volume)
ElementType
Reference to a
TPD_StorageSetting
instance
containing new parameter values;
NULL means no change in
StorageSetting
parameters.
Reference to either fixed
TPD_StorageSetting
or one
created through the
CreateSetting
option; defaults
to fixed RAID-10 if NULL
Goal
Must be larger than the current
volume size; NULL means the volume
is not grown.
Minimum 268435456 (256 MB)
Size (bytes)
NULL.
Reference to
all-FC
,
all-NL
,
all-SSD
pool or
DynamicStoragePool
; defaults
to
all-FC
pool if NULL
InPool
Reference to an existing
TPD_StorageVolume.
NULL
TheElement
Creating a Volume with Disk Pattern Filtering
Disk pattern filtering can be achieved using the 3PAR extension properties to the
TPD_StorageSetting
class (refer to the following table). Each of these properties are defined
as an array, with each array set representing a set of patterns, so for example if a client wants to
provide for two sets of patterns, the array size of these properties must all be 2. Properties that are
not applicable must be set to either empty string for string type or –1 for integer type.
The format for the string is the same as that for the CLI as described in the
Table 36 (page 37)
:
Table 36 Disk Pattern CIM Properties
Format
CLI Equivalent
CIM Property Type
Disk Pattern CIM Property
Name (from
TPD_StorageSetting
class)
<item>
-nd
String array
DiskPrimPathNodes
<item>
-st
String array
DiskPrimPathPCISlots
<item>
-pt
String array
DiskPrimPathPorts
<item>
-cg
String array
DiskCages
<item>
-mg
String array
DiskMagazines
<item>
-pn
String array
DiskMagPositions
<item>
-dk
String array
DiskIDs
an integer
-tc_gt
Signed Integer array
DiskTotalChunkletGT
an integer
-tc_lt
Signed Integer array
DiskTotalChunkletLT
an integer
-fc_gt
Signed Integer array
DiskFreeChunkletGT
Block Services Package
37