HP Storage Essentials V5.1 CLI Guide First Edition (T4283-96029, August 2006)

Storage Essentials 5.1 CLI Guide 59
<size in MB> - is the size of the pool in megabytes.
appiqcreate -pool <pool id 1>…<pool id n> -extents
<extent id 1>…<extend id n> -storagesetting
<storage settings id> -size <size in MB>
Description: Creates a storage pool with the specified unconfigured pools, storage setting, size
and storage pool name.
where:
<pool id> - is an unconfigured pool ID The pool ID can be obtained from several methods,
such as from the appiqlist -device -storagesystem <storage system id>
-pool command.
<extent id 1> is the extent identifier. This command currently supports only one extent
identifier.
<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