Add pods for new commands

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@227 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2008-01-08 15:57:51 +00:00
parent facfcb6fa3
commit ece42fe254
3 changed files with 178 additions and 0 deletions

View File

@ -0,0 +1,33 @@
=head1 NAME
B<rnetboot> -Will force an unattended network install for a range of nodes (diskless) Front end to nodeset noderange netboot; rpower noderange boot.
=head1 SYNOPSIS
B<rnetboot>
I<noderange>
B<rnetboot>
[B<-h>|B<--help>]
B<rnetboot>
[B<-v>|B<--version>]
=head1 DESCRIPTION
B<rnetboot>Will force an unattended network install for a range of nodes (diskless) Front end to nodeset noderange netboot; rpower noderange boot.
=head1 EXAMPLES
rnetboot 1,3
rnetboot 14-56,70-203
rnetboot 1,3,14-56,70-203
rnetboot all,-129-256

View File

@ -0,0 +1,113 @@
=head1 NAME
rpower - remote power control
=head1 SYNOPSIS
B<rpower>
I<noderange>
B<on>|B<off>|B<stat>|B<state>|B<reset>|B<boot>|B<cycle>
B<rpower>
[B<-h>|B<--help>]
B<rpower>
[B<-v>|B<--version>]
=head1 DESCRIPTION
I<rpower> controls the power for a single or range of nodes.
=head1 OPTIONS
=over 4
=item B<on>
Turn power on.
=item B<off>
Turn power off.
=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.
The option is recommended over B<cycle>.
=item B<cycle>
Power off, then on.
=item B<-h>, B<--help>
Help.
Prints out a brief help message.
=item B<-v>, B<--version>
Version.
Display the version number.
=back
=head1 ENVIRONMENT
=over 4
=back
=back
=head1 EXAMPLES
=begin roff
\fIrpower node4,node5 stat\fR
node4: on
.br
node5: off
\fIrpower node5 on\fR
node5: on
=end roff
=begin html
<TT><EM>rpower node5 on</EM></TT>
<br>
<br>
<TT>node4: on</TT>
<br>
<TT>node5: off</TT>
<br>
<br>
<TT><EM>rpower node5 on</EM></TT>
<br>
<br>
<TT>node5: on</TT>
=end html
=head1 FILES
/opt/xcat/bin/rpower
=head1 NOTES
This command is part of the xCAT software product.

View File

@ -0,0 +1,32 @@
=head1 NAME
B<getmacs> - Collect mac addresses.
=head1 SYNOPSIS
B<getmacs>
I<noderange>
B<getmacs>
[B<-h>|B<--help>]
B<getmacs>
[B<-v>|B<--version>]
=head1 DESCRIPTION
Collects MAC addresses of the input noderange.
=head1 EXAMPLES
getmacs 1,3
getmacs 14-56,70-203
getmacs 1,3,14-56,70-203
getmacs all,-129-256