HP-UX Reference (11i v2 07/12) - 1M System Administration Commands A-M (vol 3)
f
frupower(1M) frupower(1M)
If a power operation on multiple cells is specified, the command processes each one,
regardless of the outcome of the operation on a particular cell. It is possible for an opera-
tion 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 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
command will display the above cell as "cab1,cell4". See parstatus(1).
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
WARNINGS
HP-UX 11i Version 2 is the last HP-UX release on which passing passwd for the -u and -g options is sup-
ported. Specifying passwd on the command line will not be supported in future releases. The command
will prompt for the password.
DEPENDENCIES
This command uses the Web-Based Enterprise Management (WBEM) product and certain of its
configuration settings. If you encounter connection errors when using the -u option, check that the follow-
ing two conditions are satisfied:
272 Hewlett-Packard Company − 3 − HP-UX 11i Version 2: December 2007 Update