Creating a new storage pool

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:

  1. Obtain the reference (CIMObjectPath) of an IBMTSSVC_StorageConfigurationService instance that is associated with the IBMTSSVC_Cluster in which you create the new storage pool by using one of the following two methods:
    • Obtain the reference of the IBMTSSVC_StorageConfigurationService instance directly. Only one instance is 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.
  2. Start 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 is created.

    You can also specify the size, and the CIM agent determines 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.