HP Storage Essentials V5.00.01 CLI guide (T4283-96015, January 2006)

Storage Essentials 5.00.01 CLI Guide 55
<storage setting id> - is the storage setting ID for the new pool. You can obtain the
storage setting ID from one of the following commands:
appiqshow -device -storage system <storagesystem id> -pool
appiqlist -pool <id> -storagesetting
appiqshow -pool <id> -storagesetting - This command also shows supported
sizes for each of the storagesetting.
<size in MB> - is the size of the pool in megabytes.
appiqdelete -pool <pool id>
Description: Deletes a storage pool, where <pool id> is the identifier for the storage system
pool. The identifier for the storage system pool can be obtained from several methods, such as from
the appiqlist -device -storagesystem <storage system id> -pool command.
Sorting the Information Displayed
This software provides several commands that let you sort the information displayed. Before you can
use the commands for sorting information on Windows, you must install Cygwin, which is accessible
from http://www.cygwin.com/. Cygwin is a program that simulates a Linux environment. Cygwin is
required because the following commands include the grep command, which is not recognized by
Windows but it is recognized by Linux. If you have the CLI installed on Windows, the commands
mentioned in this section must be typed in the Cygwin interface. Refer to the Cygwin Web site for
technical questions and issues.
If you have not already done so, connect to the management server. See the topic, Before Using
the CLI” on page 2.
Sorting Hosts by Number of HBAs
To sort hosts by number of host bus adapters, enter the following at the command prompt:
# appiqlist -fabric -all -host | grep "^Host:" | sort | uniq -c | sort -rn
The software displays the following:
2 Host:3563:Host_3563
2 Host:1622:ufo
2 Host:1620:challenger
2 Host:1608:YAMATO
2 Host:1607:TIRPITZ
1 Host:3597:Host_3597
1 Host:3594:Host_3594
1 Host:3591:Host_3591
1 Host:3588:Host_3588
The number after the first colon is the identifier for the element. The item after the second colon is the
name of the host.