The IBMTSSVC_StorageConfigurationService class provides
the methods for creating a new IBMTSSVC_ConcreteStoragePool with the RAID array.
About this task
To create a new IBMTSSVC_ConcreteStoragePool instance,
follow these steps:
Procedure
- 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_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_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 specify the name of the pool by using the ElementName parameter
and the block size by using the BlockSize parameter.