3PAR CIM API Programming Reference for InForm OS 2.3.1 (320-200164 Rev B, February 2010)

5.35
Block Services Package
CIM API Programming Reference
Table 5-25 shows the possible return values for CreateSetting():
5.9.5.4 Creating a Volume with a Default Setting
A volume can be created using one of the fixed StorageSetting from the four available
RAID types. The volume is then created with the default values associated with each RAID type.
If no StorageSetting reference is passed into CreateOrModifyElementFromStoragePool,
then a volume with default RAID-10 properties are created. To create a volume with FC drives,
use reference to FC StoragePool as the InPool parameter. To create a volume with NL drives,
use reference to NL StoragePool as the InPool parameter. To create a legacy volume with
SSD’s, use reference to SSD StoragePool as the InPool parameter [3.1.1]. To create a thinly
provisioned volume or a fully provisioned volume that allocates from a DynamicStoragepool,
use reference to DynamicStoragePool as the
InPool parameter; for TPVV, the ElementType
parameter should be set to ThinlyProvisionedStorageVolume(5). For fully provisioned
volume, the
ElementType parameter should be set to StorageVolume(2). If the InPool
parameter is NULL, by default FC drives are used to create the volume.
The fixed TPD_StorageSetting instances can be found by walking the
StorageSettingAssociatedToCapabilities association from
TPD_StorageCapabilities.
5.9.5.5 Creating a Volume with a Non-Default Setting
The following are the steps necessary for an SMI-S client to create a volume with non-default
settings:
1 Invoke the CreateSetting method to get at a reference to the TPD_StorageSetting.
The InServ SMI-S provider creates, if one does not exist, an instance of the default or goal
TPD_StorageSetting, depending on the value in the SettingType option. If one
already exists, the provider simply returns a reference to that instance. This instance is
transient only and does not persist across reboots. The client then performs a GetInstance
Table 5-25. Return Values for CreateSetting ()
ValueMap Values Explanation/Notes
0 Method Completed OK
4 Failed
5 Invalid Parameters