<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to PUT_nodes_nodeRange_dcp</title><link>https://sourceforge.net/p/xcat/wiki/PUT_nodes_nodeRange_dcp/</link><description>Recent changes to PUT_nodes_nodeRange_dcp</description><atom:link href="https://sourceforge.net/p/xcat/wiki/PUT_nodes_nodeRange_dcp/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 23 Jun 2014 21:40:06 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/xcat/wiki/PUT_nodes_nodeRange_dcp/feed" rel="self" type="application/rss+xml"/><item><title>PUT_nodes_nodeRange_dcp modified by xu qing</title><link>https://sourceforge.net/p/xcat/wiki/PUT_nodes_nodeRange_dcp/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Concurrently copies files to or from remote target nodes.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;Parameters:&lt;br /&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;fanout = fanout value&amp;nbsp;: Specifies a fanout value for the maximum number of concurrently executing remote shell processes. &lt;/li&gt;
&lt;li&gt;rootimg = img path&amp;nbsp;: Specifies the path to the install image on the local Linux node. &lt;/li&gt;
&lt;li&gt;options = node options&amp;nbsp;: Specifies options to pass to the remote shell command for node targets. The options must be specified within double quotation marks ("") to distinguish them from xdsh options. &lt;/li&gt;
&lt;li&gt;rsyncfile = sync configure file&amp;nbsp;: Specifies the path to the file that will be used to build the rsync command. &lt;/li&gt;
&lt;li&gt;remotecopy = command path&amp;nbsp;: Specifies the full path of the remote copy command used for remote command execution on node targets. &lt;/li&gt;
&lt;li&gt;timeout = timeout value&amp;nbsp;: Specifies the time, in seconds, to wait for output from any currently executing remote targets. &lt;/li&gt;
&lt;li&gt;source = source file path &lt;/li&gt;
&lt;li&gt;target = target file path &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Flags:&lt;br /&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;preserve&amp;nbsp;: Preserves the source file characteristics as implemented by the configured remote copy command. &lt;/li&gt;
&lt;li&gt;pull&amp;nbsp;: Pulls (copies) the files from the targets and places them in the target_path directory on the local host. &lt;/li&gt;
&lt;li&gt;showconfig&amp;nbsp;: Displays the current environment settings for all DSH Utilities commands. &lt;/li&gt;
&lt;li&gt;recursive: Recursively copies files from a local directory to the remote targets &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For more parameter and flag introduction, refer &lt;a class="" href="http://xcat.sourceforge.net/man1/xdcp.1.html"&gt;the man page of xdcp&lt;/a&gt;&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;Example:&lt;br /&gt;
&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;PUT&lt;/span&gt; &lt;span class="n"&gt;https&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="c1"&gt;//127.0.0.1/xcatws/nodes/b1-b3/dcp?userName=root&amp;amp;password=cluster&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;with data:&lt;br /&gt;
&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;remotecopy =/usr/bin/rsync&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;options=&lt;/span&gt;&lt;span class="se"&gt;\&amp;quot;&lt;/span&gt;&lt;span class="s"&gt;-t&lt;/span&gt;&lt;span class="se"&gt;\&amp;quot;&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;source=/localnode/smallfile /tmp/bigfile&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;target=/tmp&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;copy /localnode/smallfile and /tmp/bigfile to /tmp on node1 using rsync and input -t flag to rsync. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">xu qing</dc:creator><pubDate>Mon, 23 Jun 2014 21:40:06 -0000</pubDate><guid>https://sourceforge.net83e7d1bbe0025dda6594b3119947ad668818f557</guid></item></channel></rss>