HP StorageWorks XP Performance Advisor Software v4.6 Command-line User Interface Reference Guide (T1789-96095, June 2010)
Examples
configalarm -list -hr
configalarm -list –L
configalarm -list
configalarm -dkc 10227 -mval 1 -metric THP_POOL_OCCUPANCY
configalarm -dkc 10227 -mval 0 -metric SNAPSHOT_POOL_OCCUPANCY
configalarm -dkc 10001 -mval 0 -metric JOURNAL_FILE_USAGE_UTIL -th1 10
-th2 40 -th3 100
HOSTCFG
Syntax
hostcfg –op <op_string> -ha <HostAgent> [-auth <user:passwd>] [-ms <URL>]
[-L] [d<char>] [-hr] [-?]
Description
Displays the configuration data of the host that is connected to the management station. It also displays
array related information. You can also use this command to remove unwanted hosts.
Switches
Required. Specify the task to be performed. Not necessary if -list is used.
nl
xpinfo_req: indicates that the XPINFO data must be sent to the management sta-
tion.
nl
ha_rem: requests the management station to remove this host agent from its database.
–op <op_string>
Required. Specify the host agent system. This can either be a host name or an IP
address. Not necessary if -list is used.
–ha <hostagent>
Lists the host configuration data that is stored on the management station.–list
The output from the -list switch must be labeled, but delimited.
–L
Specify the character for delimited output.–d <char>
Displays data in a readable form.–hr
Specify a user name and password pair in the format user name:password.–auth <user:passwd>
Specify the address of a management station in the format <http://path.to.manage-
mentstation/>.
–ms <URL>
Prints the usage statement.–?
Example
hostcfg -list –hr
HP StorageWorks XP Performance Advisor Software Command-Line User Interface Reference
Guide 29