CreateOrModifyStoragePool() Extrinsic methods CreateOrModifyElementFromStoragePool()

You can use the CreateOrModifyStoragePool() method to create an IBMTS2145_StoragePool if the Pool parameter is set to null, or you can modify an existing IBMTS2145_StoragePool if the Pool parameter is not null. The CreateOrModifyStoragePool() method belongs to the IBMTS2145_StorageConfigurationService class.

Parameters

Table 234 shows the parameters you can specify for the CreateOrModifyStoragePool() method:

Table 234. CreateOrModifyStoragePool() parameters
Parameter Type Description
Pool creation Pool modification
[InPool] String Set to Null Set to Null
[Extent] String Points to the StorageExtent Points to the StorageBackendVolume
[Goal] String Contains the desired name and extent size for the new pool Contains the desired name and extent size for the new pool
[Pool] String Set to Null Specifies the StoragePool that is in the same cluster as the StorageConfigurationService instance
Pool COP Defines the name of the new pool Defines the default pool name when the method is invoked
Size Uint64 Specifies the allocated size (MB) of the new pool Specifies the allocated size (MB) of the modified pool
Job String Set to Null Set to Null
Return values

The CreateOrModifyStoragePool() method returns one of the following error codes:

Related topics Extrinsic methods CreateOrModifyElementFromStoragePool()

(C) Copyright International Business Machines Corporation 2003, 2004