mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16813 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
		
			
				
	
	
		
			86 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			86 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| =head1 Name
 | |
| 
 | |
| prsync - parallel rsync
 | |
| 
 | |
| =head1 B<Synopsis>
 | |
| 
 | |
| B<prsync> I<filename> [I<filename> I<...>] I<noderange:destinationdirectory>
 | |
| 
 | |
| B<prsync>  [I<-o rsync options>] [B<-f> I<fanout>] [I<filename> I<filename> I<...>] [I<directory> I<directory> I<...>]
 | |
| I<noderange:destinationdirectory>
 | |
| 
 | |
| B<prsync> {B<-h>|B<--help>|B<-v>|B<--version>}
 | |
| 
 | |
| =head1 B<Description>
 | |
| 
 | |
| B<prsync> is a front-end to rsync for a single or range  of  nodes  and/or
 | |
| groups in parallel.
 | |
| 
 | |
| Note:  this command does not support the xcatd client/server communication and therefore must be run on the management node. It does not support hierarchy, use xdcp -F to run rsync from the
 | |
| management node to the compute node via a service node
 | |
| 
 | |
| B<prsync> is NOT multicast, but is parallel unicasts.
 | |
| 
 | |
| =head1 B<Options>
 | |
| 
 | |
| =over 7
 | |
| 
 | |
| =item B<rsyncopts>
 | |
| 
 | |
| rsync options.  See B<rsync(1)>.
 | |
| 
 | |
| =item B<-f> I<fanout>
 | |
| 
 | |
| Specifies a fanout value for the maximum number of  concur-
 | |
| rently  executing  remote shell processes.
 | |
| 
 | |
| =item B<filename>
 | |
| 
 | |
| A space delimited list of files to rsync.
 | |
| 
 | |
| =item B<directory>
 | |
| 
 | |
| A space delimited list of directories to rsync.
 | |
| 
 | |
| =item B<noderange:destination>
 | |
| 
 | |
| A L<noderange(3)|noderange.3> and destination directory.  The : is required.
 | |
| 
 | |
| =item B<-h>|B<--help>
 | |
| 
 | |
| Print help.
 | |
| 
 | |
| =item B<-v>|B<--version>
 | |
| 
 | |
| Print version.
 | |
| 
 | |
| =back
 | |
| 
 | |
| =over 4
 | |
| 
 | |
| =item B<XCATPSHFANOUT>
 | |
| 
 | |
| Specifies  the fanout value. This variable is overridden by
 | |
| the B<-f> flag.  Default is 64.
 | |
| 
 | |
| =back
 | |
| 
 | |
| 
 | |
| =head1 B<Examples>
 | |
| 
 | |
| =over 3
 | |
| 
 | |
| =item *
 | |
| 
 | |
| B<cd> I</install;> B<prsync> B<-o "crz"> I<post> I<stage:/install>
 | |
| 
 | |
| =item *
 | |
| 
 | |
| B<prsync> I<passwd> I<group> I<rack01:/etc>
 | |
| 
 | |
| =back
 | |
| 
 | |
| =head1 B<See> B<Also>
 | |
| 
 | |
| L<noderange(3)|noderange.3>, L<pscp(1)|pscp.1>, L<pping(1)|pping.1>, L<psh(1)|psh.1>
 |