diff --git a/xCAT-client/pods/man1/xdcp.1.pod b/xCAT-client/pods/man1/xdcp.1.pod index 951e414c0..9bb92bfac 100644 --- a/xCAT-client/pods/man1/xdcp.1.pod +++ b/xCAT-client/pods/man1/xdcp.1.pod @@ -1,6 +1,6 @@ =head1 B -B - Concurrently copies files to or from multiple nodes. +B - Concurrently copies files to or from multiple nodes. In addition, provides an option to use rsync to update the files on the nodes, or to an installation image on the local node. =head1 B @@ -9,6 +9,13 @@ B I [B<-C> I] [B<-f> I] [B<-r> I] [B<-R>] [B<-t> I] [B<-T>] [B<-v>] [B<-X> I] sourcefile.... targetpath +B I [B<-F> I] + +B I [B<-s>] [B<-F> I] + +B [B<-i> I] [B<-F> I] + + B [B<-h> | B<-V> | B<-q>] @@ -107,8 +114,10 @@ is not specified, a default fanout value of B<64> is used. Displays usage information. -Specifies a remote user name to use for remote command exe- -cution. +=item B<-i>|B<--rootimg> I + + +Specifies the full path to the install image on the local node. =item B<-o>|B<--node-options> I @@ -157,6 +166,15 @@ targets, or when specified with the -P flag, recursively pulls single source directory can be specified using the source_file parameter. +=item B<-s> + +Specifies that we are using rsync and the input rsync file (-F options) to +update the service node. The noderange input should be the compute nodes. The +command will look up the list of servicenodes that service the input noderange. +It will then use the rsync file to send the files via rsync to the +service nodes. When the rsync command runs on the service node, the files +will be available to send from the service node to the compute nodes. + =item B<-t>|B<--timeout> I Specifies the time, in seconds, to wait for output from any @@ -340,6 +358,48 @@ To copy the /etc/hosts file from node1 and node2 to the B I +=item * + +To rsync the /etc/hosts file to your compute nodes: + +Create a rsync file /tmp/myrsync, with this line: + +/etc/hosts -> /etc/hosts + +Run: + +B I + + +=item * + +To rsync the /etc/hosts and passwd file to your service nodes and then to the compute nodes: + +Create a rsync file /tmp/myrsync, with this line: + +/etc/hosts /etc/passwd -> /etc + +Run: + +B I to update the Service Nodes + +B I to update the Compute Nodes + +=item * + +To rsync the /etc/file1 and file2 to your service nodes and then update the compute node with filex and filey: + +Create a rsync file /tmp/myrsync, with these line: + +/etc/file1 -> /etc/filex +/etc/file2 -> /etc/filey + +Run: + +B I to update the Service Nodes + +B I to update the Compute Nodes + =back =head1 B diff --git a/xCAT-client/pods/man1/xdsh.1.pod b/xCAT-client/pods/man1/xdsh.1.pod index 87869c31e..3f13e6bae 100644 --- a/xCAT-client/pods/man1/xdsh.1.pod +++ b/xCAT-client/pods/man1/xdsh.1.pod @@ -1,6 +1,6 @@ =head1 B -B - Concurrently runs commands on multiple nodes. +B - Concurrently runs commands on multiple nodes, or an install image. =head1 B