The IBMTSSVC_StorageConfigurationService class provides
the methods for creating a new IBMTSSVC_ConcreteStoragePool with the RAID array.
To create a new IBMTSSVC_ConcreteStoragePool instance,
follow these steps:
-
Obtain the reference (CIMObjectPath) of an IBMTSSVC_StorageConfigurationService
instance that is associated with the IBMTSSVC_Cluster in which you
will create the new storage pool using one of the following two methods:
- Obtain the reference of the IBMTSSVC_StorageConfigurationService
instance directly. There is only one instance obtained by
enumeration because CIMOM is embedded in the clustered system.
- Obtain the reference of the IBMTSSVC_StorageConfigurationService
instance by traversing the IBMTSSVC_HostedStorageConfigurationService
association.
-
Invoke the IBMTSSVC_StorageConfigurationService.CreateOrModifyStoragePool
method while you specify the InExtents[] parameter with a list of IBMTSSVC_BackendVolumeIBMTSSVC_DiskDriveExtent instances, and the InGoal parameter
with the instance of IBMTSSVC_RaidSetting.
The InExtents[] parameter
is a string array that contains the representation of the CIMObjectPath
to an IBMTSSVC_BackendVolumeIBMTSSVC_DiskDriveExtent. The InGoal parameter
represents the CIMObjectPath to the IBMTSSVC_RaidSetting instance.
If you do not specify the InExtents[] parameter,
an empty storage pool will be created.
You can also just specify the
size, and the CIM agent performs a best-fit heuristic to match it. You
can specify the name of the pool by using the ElementName parameter
and the block size by using the BlockSize parameter.