The IBMTSSVC_StorageConfigurationService class provides
the methods for creating a new IBMTSSVC_ConcreteStoragePool.
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_BackendVolume instances.
The InExtents[] parameter
is a string array that contains the representation of the CIMObjectPath
to an IBMTSSVC_BackendVolume.
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.