mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-21 10:40:24 +00:00
Updated the man page of xdsh for IB environment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2627 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@@ -3541,12 +3541,12 @@ sub usage_dsh
|
||||
my $usagemsg1 =
|
||||
" xdsh -h \n xdsh -q \n xdsh -v \n xdsh [noderange] [group]\n";
|
||||
my $usagemsg2 =
|
||||
" [-B bypass ] [-C context] [-c] [-e] [-E environment_file] [-f fanout]\n";
|
||||
" [-B bypass ] [-C context] [-c] [-e] [-E environment_file] [--devicetype type_of_device] [-f fanout]\n";
|
||||
my $usagemsg3 = " [-l user_ID] [-L] [-K ssh setup] ";
|
||||
my $usagemsg4 =
|
||||
"[-m] [-o options][-q] [-Q] [-r remote_shell] [-i image path]\n";
|
||||
my $usagemsg5 =
|
||||
" [-s] [-S ksh | csh] [-t timeout] [-T] [-X environment variables] [--devicetype type_of_device] [-v] [-z]\n";
|
||||
" [-s] [-S ksh | csh] [-t timeout] [-T] [-X environment variables] [-v] [-z]\n";
|
||||
my $usagemsg6 = " [command_list]\n";
|
||||
my $usagemsg7 =
|
||||
"Note:Context always defaults to XCAT unless -C flag is set.";
|
||||
|
@@ -4,10 +4,10 @@ B<xdsh> - Concurrently runs commands on multiple nodes.
|
||||
|
||||
=head1 B<SYNOPSIS>
|
||||
|
||||
B<xdsh> I<noderange> [B<-B> I<bypass>] [B<-C> I<context>] [B<-e>] [B<-E> I<environment_file>] [B<-f> I<fanout>]
|
||||
B<xdsh> I<noderange> [B<-B> I<bypass>] [B<-C> I<context>] [B<--devicetype> I<type_of_device>] [B<-e>] [B<-E> I<environment_file>] [B<-f> I<fanout>]
|
||||
[B<-K>] [B<-L>] [B<-l> I<userID>] [B<-m>] [B<-o>
|
||||
I<node_options>] [B<-Q>] [B<-r> I<node_remote_shell>] [B<-s>] [B<-S> B<csh>|B<ksh>] [B<-t> I<timeout>]
|
||||
[B<-T>] [B<-v>] [B<-X> I<env_list>] [B<--devicetype> I<type of device>] [B<-z>] I<command_list>
|
||||
[B<-T>] [B<-v>] [B<-X> I<env_list>] [B<-z>] I<command_list>
|
||||
|
||||
B<xdsh> [B<-i> I<image path>] I<command_list>
|
||||
|
||||
@@ -223,6 +223,15 @@ executing the I<command_list>. The B<DSH_NODE_RCP> and environment
|
||||
variables specify the remote copy command to use to export
|
||||
the file to node targets.
|
||||
|
||||
=item B<--devicetype> I<type_of_device>
|
||||
|
||||
Specify a user-defined device type that references the location
|
||||
of relevant device configuration file. The devicetype value must
|
||||
correspond to a valid device configuration file under the /var/opt/xcat/
|
||||
directory.
|
||||
For example, /var/opt/xcat/IBSwitch/Qlogic/config is the configuration
|
||||
file location if devicetype is specified as IBSwitch::Qlogic
|
||||
|
||||
=item B<-f>|B<--fanout> I<fanout_value>
|
||||
|
||||
Specifies a fanout value for the maximum number of concur-
|
||||
@@ -239,6 +248,11 @@ Displays usage information.
|
||||
Set up the SSH keys for the specified node list.
|
||||
Currently, this must be run on the management node (not on a
|
||||
remote client), because it forces itself into bypass mode.
|
||||
Other device types, such as IB switch, are also supported. The
|
||||
device should be defined as a node and nodetype should be defined
|
||||
as switch before connecting.
|
||||
Specify the user name from [-l username] option with [-K] option
|
||||
if the default user name is not "root" when setup SSH keys.
|
||||
|
||||
=item B<-l>|B<--user> I<user_ID>
|
||||
|
||||
@@ -344,10 +358,6 @@ This option is useful when running B<xdsh> from within other
|
||||
scripts when you don't want the user's environment affecting
|
||||
the behavior of xdsh.
|
||||
|
||||
=item B<--devicetype> I<type of device>
|
||||
|
||||
Specify a user-defined device type that references the location of relevant device configuration file. The devicetype value must correspond to a valid device configuration file under the /var/opt/csm/ directory. For example, the /var/opt/csm/IBSwitch/Qlogic/config file is the location if devicetype is specified <20><>IBSwitch::Qlogic<69><63>
|
||||
|
||||
=item B<-z>|B<--exit-status>
|
||||
|
||||
Displays the exit status for the last remotely executed
|
||||
@@ -460,6 +470,16 @@ userdefined.
|
||||
|
||||
=over 3
|
||||
|
||||
=item *
|
||||
|
||||
To define the IB switch as node and set up the SSH keys for IB switch
|
||||
B<qswitch> with device configuration file
|
||||
B</var/opt/xcat/IBSwitch/Qlogic/config> and user name B<username>, Enter
|
||||
|
||||
B<chdef> I<-t node -o qswitch groups=all nodetype=switch>
|
||||
B<xdsh> I<qswitch -K -l username --devicetype IBSwitch::Qlogic>
|
||||
|
||||
|
||||
=item *
|
||||
|
||||
To run the B<ps> command on node targets B<node1> and B<node2>, enter:
|
||||
|
Reference in New Issue
Block a user