Creating a new storage pool Storage configuration Modifying a storage pool

The IBMTS2145_StorageConfigurationService class provides the methods for creating a new IBMTS2145_StoragePool. You must include an IBMTS2145_StorageConfigurationService instance in each cluster before you create a new IBMTS2145_StoragePool instance.

Steps

Perform the following steps to create a new IBMTS2145_StoragePool instance:

  1. Create a new IBMTS2145_StorageSettingPool instance by using the intrinsic CreateInstance() method.

    Specify the ElementName parameter to name the new storage pool and specify the ExtentSize parameter to define the extent size of the pool.

    The new IBMTS2145_StorageSettingPool instance contains the parameter settings that are required for a new IBMTS2145_StoragePool instance. It is, therefore, also referred to as the Goal in the final phase of the pool creation process.

  2. Obtain the reference (CIMObjectPath) of an IBMTS2145_StorageConfigurationService instance that is associated with the IBMTS2145_Cluster in which you will create the new storage pool by traversing the IBMTS_StorageConfigurationServiceForSystem association.
  3. Invoke the IBMTS2145_StorageConfigurationService.CreateOrModifyStoragePool method while specifying the Extent[] parameter with a list of IBMTS2145_BackendVolume instances.

    The Extent[] parameter is a string array that contains the representation of the CIMObjectPath to an IBMTS2145_BackendVolume.

    Optionally, you also can pass in the goal when you invoke the method.

Related topics Storage configuration Modifying a storage pool

(C) Copyright International Business Machines Corporation 2003, 2004