HP StorageWorks Command View SDM Installation and User Guide (T1086-96023, February 2005)
Command Line User Interface 109
Command Line User Interface
Command Examples
Send an Inquiry command to the controller on array alias array_14. The CDB
for the command is stored in file inquiry.txt. The data returned will be stored in
file controller.out.
armdiag -C -cf inquiry -p password -dir DATA_IN -df controller.out array_14
Send an Inquiry command to disk 6 in the array enclosure on array alias
array_14. The CDB for the command is stored in file inquiry. The data returned
will be stored in file disk.out.
armdiag -P -f M/D6 -cf inquiry -p password -dir DATA_IN -df disk.out array_14
Shutdown array autoraid_6 on host server4.
armdiag -C -c e8000000000000000000 -p password -dir NO_DATA server4:autoraid_6
Gather status information from array alias va_array_4 and store the results in
file array_status.
armdiag -I -if array_status va_array_4
The status information will be stored in file va_array_4.zip, which can be
viewed using a tool such as WinZip
®
.
-p <password> Identifies the password required to perform any SCSI pass-through
commands. Contact HP Support for information on using the password.
-P Sends a generic SCSI pass-through command to the hardware device
identified by -f <FRULocation>.
-q Suppresses the update output of the -I option.
-sf <filename> Identifies the file used to store the status bytes of the command. If not present,
the status will go to standard out.
-W Display extended information about array warning states.
-? Display extended help message. Overrides all other switches.