From 3b7ffe28cfc54daa0bae7c2024d7baac92c773e6 Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 16 Sep 2009 19:20:37 +0000 Subject: [PATCH] add more examples git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4150 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/pods/man1/xdcp.1.pod | 65 +++++++++++++++++++++++++++++++- 1 file changed, 63 insertions(+), 2 deletions(-) diff --git a/xCAT-client/pods/man1/xdcp.1.pod b/xCAT-client/pods/man1/xdcp.1.pod index 44c16f22f..1b3aa3efb 100644 --- a/xCAT-client/pods/man1/xdcp.1.pod +++ b/xCAT-client/pods/man1/xdcp.1.pod @@ -92,7 +92,8 @@ files to on the target. If the -P flag is specified, the tar- get_path is the local host location for the copied files. The remote file directory structure is recreated under target_path and the remote target name is appended to the copied -source_file name in the target_path directory. +source_file name in the target_path directory. Note: the targetpath +directory must exist. =item B<-f>|B<--fanout> I @@ -354,7 +355,6 @@ using rsync (ssh) and input -t flag to rsync, enter: I - =item * To copy the /etc/hosts file from the local host to all the nodes @@ -362,6 +362,67 @@ in the cluster, enter: B I +=item * + +To copy all the files in /tmp/testdir from the local host to all the nodes +in the cluster, enter: + +B I + +=item * + +To copy all the files in /tmp/testdir and it's subdirectories +from the local host to node1 in the cluster, enter: + +B I + +=item * + +To copy the /etc/hosts file from node1 and node2 to the +/tmp/hosts.dir directory on the local host, enter: + +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 to the compute nodes, using service nodes, the command will first +rsync the files to the /var/xcat/syncfiles directory on the service nodes and then rsync the files from that directory to the compute nodes. The /var/xcat/syncfiles default directory on the service nodes, can be changed by putting a directory value in the site table SNsyncfiledir attribute. + +Create a rsync file /tmp/myrsync, with this line: + +/etc/hosts /etc/passwd -> /etc + +Run: + +B I to update the Compute Nodes + +=item * + +To rsync to the service nodes in preparation for rsyncing the compute nodes +during an install from the service node. + +Create a rsync file /tmp/myrsync, with this line: + +/etc/hosts /etc/passwd -> /etc + +Run: + +B I to sync the service node for compute + =item *