HP XP P9000 Command View Advanced Edition Suite Software 7.6.1-00 CLI Reference Guide

Obtain this value from the execution result of the GetStorageArray (subtarget=Pool)
command. In the execution result of this command, the poolID value appears under An in-
stance of Pool. Use this value to specify the poolid parameter.
Command execution example
In this example, the DeletePool command deletes the THP pool whose pool ID is 0 (poolid: 0) from
the storage system (serialnum: 15065, model: XP24000).
hdvmcli DeletePool -o "D:\logs\DeletePool.log"
model=XP24000 serialnum=15065 poolid=0
Command execution result
RESPONSE:
(Command completed; empty list returned)
DeleteStorageArray
DeleteStorageArray removes a storage system (including an SMI-S enabled storage system) so
that it is no longer managed by the Device Manager server. This command only removes the storage
system from Device Manager management control. The command does not change the configuration
of the storage system.
NOTE:
If execution of the DeleteStorageArray command results in an error, take appropriate action
according to the error message, and then re-execute the DeleteStorageArray command. When
the DeleteStorageArray command is executed, the configuration information of the target storage
system is divided into transactions, and then deleted from the Device Manager database. Therefore,
if an error occurs during processing, the Device Manager database becomes inconsistent and the
storage system information you deleted might remain in the Device Manager database. Resolve the
cause of the error, and then delete the storage system information again.
Format
When deleting a storage system other than an SMI-S enabled storage system:
hdvmcli [URL] DeleteStorageArray [options]
serialnum=serial-number model=model
When deleting an SMI-S enabled storage system:
hdvmcli [URL] DeleteStorageArray [options]
saobjid=object-ID-of-SMI-S-enabled-storage-system
Command reference116