HP 3PAR CIM API Programming Reference (OS 3.1.2 MU2) (QL226-97015, June 2013)

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 VolumeCreate VolumeOperations/Parameters
New name of volume; NULL means
no change in volume name.
Name of VolumeElementName
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.
NULLTheElement
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
FormatCLI EquivalentCIM Property TypeDisk Pattern CIM Property
Name (from
TPD_StorageSetting
class)
<item>-ndString arrayDiskPrimPathNodes
<item>-stString arrayDiskPrimPathPCISlots
<item>-ptString arrayDiskPrimPathPorts
<item>-cgString arrayDiskCages
<item>-mgString arrayDiskMagazines
<item>-pnString arrayDiskMagPositions
<item>-dkString arrayDiskIDs
an integer-tc_gtSigned Integer arrayDiskTotalChunkletGT
an integer-tc_ltSigned Integer arrayDiskTotalChunkletLT
an integer-fc_gtSigned Integer arrayDiskFreeChunkletGT
Block Services Package 37