HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)
f
frupower(1M) frupower(1M)
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 The specified cell is powered on/off or the power status is displayed. Refer to the
DESCRIPTION section for the conditions under which power control is allowed.
If a power operation on multiple cells is specified, the command processes each one, regard-
less of the outcome of the operation on a particular cell. It is possible for an operation to
succeed on one cell and fail on another.
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 The specified I/Ochassis is powered on/off or the power status is displayed. Refer to the
DESCRIPTION section for the conditions under which power control is allowed.
If a power operation on multiple I/O chassis is specified, the command processes each one,
regardless of the outcome of the operation on a particular I/O chassis. It is possible for an
operation to succeed on one I/O chassis and fail on another.
An I/O chassis id must be specified in the form of cabinet#/enclosure#/chassis#. For exam-
ple, the I/O chassis located in cabinet 0, enclosure 1 and I/O chassis slot 3 is identified as
0/1/3.
-C Displays power status of all cells. If the -u or -g option is specified, the operation applies
to all component cells of the accessed complex.
-I Displays power status of all I/O chassis. If the -u or -g option is specified, the operation
applies to all I/O chassis of the accessed complex.
The -c, -i, -C, and -I options are all mutually exclusive.
-l cabinet Limits the scope of the -C or -I option to the specified cabinet(s).
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 par-
status(1) command will display the above cell as "cab1,cell4".
RETURN VALUE
The
frupower command exits with one of the following values:
0 Successful completion.
1 Error condition occurred.
EXAMPLES
Power on the cell located in cabinet 0 slot 4 of a partition identified by the hostname GreenRiver:
frupower -o -c 0/4 -u RemoteAdmin: -h GreenRiver
RemoteAdmin must have root permissions on GreenRiver. Since a password was not supplied on the com-
mand line, the command prompts for it.
Power off two cells located in cabinet 0 slot 4 and cabinet 0 slot 6.
frupower -f -c 0/4 -c 0/6
Section 1M−−246 Hewlett-Packard Company − 3 − HP-UX 11i Version 1: September 2005