2008-01-08 15:57:51 +00:00
=head1 NAME
2008-03-14 20:54:31 +00:00
B<rpower> - remote power control of nodes
2008-01-08 15:57:51 +00:00
=head1 SYNOPSIS
2010-03-26 14:01:48 +00:00
B<rpower> I<noderange> [B<--nodeps>] {B<on>|B<onstandby>|B<off>|B<suspend>|B<stat>|B<state>|B<reset>|B<boot>} [-m table.column==expectedstatus [-m table.column=~expectedstatus]] [-t timeout] [-r retrycount]
2008-01-08 15:57:51 +00:00
2008-03-14 20:54:31 +00:00
B<rpower> [B<-h>|B<--help>|B<-v>|B<--version>]
2008-01-08 15:57:51 +00:00
2008-10-06 16:06:34 +00:00
=head2 PPC (with IVM or HMC) specific:
B<rpower> I<noderange> [B<--nodeps>] {B<of>}
2009-03-05 03:21:20 +00:00
=head2 PPC (with HMC) specific:
B<rpower> I<noderange> [B<onstandby>]
2010-07-01 09:44:32 +00:00
B<rpower> I<noderange> [B<softoff>]
2009-05-12 05:56:45 +00:00
=head2 Blade specific:
B<rpower> I<noderange> [B<cycle>|B<softoff>]
2008-01-08 15:57:51 +00:00
=head1 DESCRIPTION
2008-03-14 20:54:31 +00:00
B<rpower> controls the power for a single or range of nodes, via the out-of-band path.
2008-01-08 15:57:51 +00:00
=head1 OPTIONS
=over 4
=item B<on>
Turn power on.
2009-03-05 03:21:20 +00:00
=item B<onstandby>
Turn power on to standby state
2008-10-13 15:29:32 +00:00
=item B<softoff>
Attempt to request clean shutdown of OS (may not detect failures in completing command)
2008-01-08 15:57:51 +00:00
=item B<off>
Turn power off.
2010-03-26 14:01:48 +00:00
=item B<suspend>
Suspend the target nodes execution
2008-01-08 15:57:51 +00:00
=item B<stat>|B<state>
Print the current power state/status.
=item B<reset>
Send a hard reset.
=item B<boot>
If off, then power on.
If on, then hard reset.
2008-03-14 20:54:31 +00:00
This option is recommended over B<cycle>.
2008-01-08 15:57:51 +00:00
=item B<cycle>
Power off, then on.
2008-10-06 16:06:34 +00:00
=item B<of>
Boot the node to open firmware mode.
2009-07-08 03:14:41 +00:00
=item B<-m table.column==expectedstatus -m table.column=~expectedstatus>
Use one or multiple -m flags to specify the node attributes and the expected status for the node installation monitoring and automatic retry mechanism. The operators ==, !=, =~ and !~ are valid. This flag must be used with -t flag.
Note: if the "val" fields includes spaces or any other characters that will be parsed by shell, the "attr<oper-ator>val" needs to be quoted. If the operator is "!~", the "attr<operator>val" needs to be quoted using single quote.
2008-03-11 14:15:55 +00:00
=item B<--nodeps>
2008-03-11 12:15:39 +00:00
2008-03-11 14:15:55 +00:00
Do not use dependency table (default is to use dependency table). Valid only with on|off|boot|reset|cycle for blade power method.
2008-03-11 12:15:39 +00:00
2009-07-08 03:14:41 +00:00
=item B<-r retrycount>
specify the number of retries that the monitoring process will perform before declare the failure. The default value is 3. Setting the retrycount to 0 means only monitoring the os installation progress and will not re-initiate the installation if the node status has not been changed to the expected value after timeout. This flag must be used with -m flag.
=item B<-t timeout>
Specify the the timeout, in minutes, to wait for the expectedstatus specified by -m flag. This is a required flag if the -m flag is specified.
Power off, then on.
2008-03-14 20:54:31 +00:00
=item B<-h>|B<--help>
2008-01-08 15:57:51 +00:00
2008-03-14 20:54:31 +00:00
Prints out a brief usage message.
2008-01-08 15:57:51 +00:00
=item B<-v>, B<--version>
Display the version number.
=back
=head1 EXAMPLES
2008-03-14 20:54:31 +00:00
=over 3
2008-01-08 15:57:51 +00:00
2008-03-14 20:54:31 +00:00
=item *
2008-01-08 15:57:51 +00:00
2008-03-14 20:54:31 +00:00
B<rpower> I<node4,node5 stat>
2008-01-08 15:57:51 +00:00
2008-03-14 20:54:31 +00:00
node4: on
node5: off
2008-01-08 15:57:51 +00:00
2008-03-14 20:54:31 +00:00
=item *
2008-01-08 15:57:51 +00:00
2008-03-14 20:54:31 +00:00
B<rpower> I<node5 on>
2008-01-08 15:57:51 +00:00
2008-03-14 20:54:31 +00:00
node5: on
2008-01-08 15:57:51 +00:00
2008-03-14 20:54:31 +00:00
=back
2008-01-08 15:57:51 +00:00
2008-03-14 20:54:31 +00:00
=head1 SEE ALSO
2008-01-08 15:57:51 +00:00
2008-08-02 16:18:07 +00:00
L<noderange(3)|noderange.3>, L<rcons(1)|rcons.1>, L<rinv(1)|rinv.1>, L<rvitals(1)|rvitals.1>, L<rscan(1)|rscan.1>
2008-03-11 12:15:39 +00:00
2008-03-11 14:15:55 +00:00