UCSStoragePool - createPool
UCSStoragePool - createPool
Description:
This command creates a UCS storage pool in a depot group. It returns a handle to the newly created pool.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
name | String | Name of the UCS storage pool. |
desc | String | Description of the storage pool. |
groupId | Integer | The ID of depot group where the storage pool will reside. |
Example
The following example creates a UCS storage pool in a depot group.
Script
DEPOTGROUP_SUB2="/parent/sub1/sub2"
DEPOTGROUP_SUB2_ID=`blcli DepotGroup groupNameToId $DEPOTGROUP_SUB2`
POOL_KEY=`blcli UCSStoragePool createPool "Storage Pool name" "Description" $DEPOTGROUP_SUB2_ID`
DEPOTGROUP_SUB2_ID=`blcli DepotGroup groupNameToId $DEPOTGROUP_SUB2`
POOL_KEY=`blcli UCSStoragePool createPool "Storage Pool name" "Description" $DEPOTGROUP_SUB2_ID`
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*