HP-UX Reference (11i v1 05/09) - 1 User Commands A-M (vol 1)

f
fruled(1) fruled(1)
1. Save the user password in a variable and pass it to the command as,
echo $passwd | parstatus -X -u username -h hostname/IP
2. Save the user password in a file and pass the file as input to the command like,
parstatus -X -u username -h hostname/IP < passwd_file
Note, for security reason, protect the file that has the user password by removing read
permissions for non-privileged users.
-h IPaddress|hostname
This option should only be used in combination with either the
-u or -g option.
IPaddress|hostname specifies the IP address or hostname of the target partition (
-u)or
complex (
-g).
-g Allows access to the complex specified by the
-h option. The accessed complex is then con-
sidered the target complex. Access is via the service processor’s LAN port.
The
-h option is required if this option is used.
If -g is specified, the IPMI password of the service processor should be passed when
prompted.
If an error is reported when you attempt to connect using this option, check to see that
IPMI LAN access has not been disabled on the remote service processor. Access to the
complex via IPMI over LAN can be enabled or disabled by logging on to the service proces-
sor and using the SA command from the Command Menu.
The -u and -g options are mutually exclusive.
Note: If the commands are used in a script, the IPMI password must be passed in a
secured way. For example,
1. Save the user password in a variable and pass it to the command as,
echo $passwd | parstatus -X -g -h hostname/IP
2. Save the user password in a file and pass the file as input to the command like,
parstatus -X -g -h hostname/IP < passwd_file
Note, for security reason, protect the file that has the IPMI password by removing read
permissions for non-privileged users.
-c cell Flash/Turn off the specified cell attention LED.
A cell can be specified either in the local (cabinet#/slot#) or global (cell#) format. For exam-
ple, the cell located in cabinet 0, slot 4 is locally identified as 0/4 or globally as simply 4.
-i I/Ochassis Flash/Turn off the specified I/Ochassis attention LED.
An I/Ochassis must be specified in the form of cabinet#/enclosure#/chassis#. For example,
the I/O chassis located in cabinet 0, enclosure 1 and I/O chassis slot 1 is identified as 0/1/1.
-b cabinet Start flashing or stop flashing the cabinet number LED of the specified cabinet.
-C Turn off all cell attention LEDs.
-I Turn off all I/O chassis LEDs.
-l cabinet Limit the scope of the -C or -I option to a given cabinet.
Mapping of Global Cell Numbers to Local Cell Numbers
The cabinets in a complex are numbered starting from 0. The cell slots in each cabinet are also numbered
starting from 0. Each cabinet can have a maximum of 8 cells. For example, the cells located in cabinet 0
will have the following cell numbers in global format: 0, 1, 2, 3, 4, 5, 6, 7. The cell numbers in correspond-
ing local format will be 0/0, 0/1, 0/2, 0/3, 0/4, 0/5, 0/6, 0/7.
Similarly the cells located in cabinet 1 will have the following cell numbers in global format: 8, 9, 10, 11, 12,
13, 14, 15. The cell numbers in corresponding local format will be 1/0, 1/1, 1/2, 1/3, 1/4, 1/5, 1/6, 1/7.
From the above convention the cell located in cabinet 1, slot 0 is identified in the local format as 1/0 or in
the global format as 8. The parstatus(1) command will display the above cell as "cab1,cell0". The cell
located in cabinet 1, slot 4 is identified in the local format as 1/4 or in the global format as 12. The
Section 1298 Hewlett-Packard Company 2 HP-UX 11i Version 1: September 2005