Quickly Create and Execute File Distribution Tasks
<p class="shortdesc">Through quickly executing (file distribution tasks), you can quickly create and execute file distribution tasks in batch on multiple hosts.</p>
<section class="section context" id="filedistribution__context_ocx_bvz_bkb"><div class="tasklabel"><h2 class="doc-tairway">About this task</h2></div>
<p class="p">You can distribute files to multiple servers via the file distribution tasks. Currently, the distribution method of one-to-many is supported. </p>
<p class="p">A maximum of 5 files of each batch can be distributed and the maximum size of each file is 500M. </p>
</section>
<section><div class="tasklabel"><h2 class="doc-tairway">Procedure</h2></div><ol class="ol steps"><li class="li step stepexpand">
<span class="ph cmd">Log in to the <a class="xref" href="https://pinganyun.com/console/osp" target="_blank">Operation System Platform Console</a>.</span>
</li><li class="li step stepexpand">
<span class="ph cmd">In the left navigation pane, click <span class="ph menucascade"><span class="ph uicontrol">Job Management </span><abbr title="and then"> > </abbr><span class="ph uicontrol">Fast Execute</span></span>.</span>
</li><li class="li step stepexpand">
<span class="ph cmd">On the <span class="keyword wintitle">Fast execution</span> page, select <span class="ph uicontrol">File distribution</span> as the <span class="ph uicontrol">Task Type</span>.</span>
<div class="itemgroup info">
<img class="image" id="filedistribution__image_arl_vfl_bkb" src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20201407174752-18eb729692b1.png">
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">After that, you need to complete the following configuration.</span>
<div class="itemgroup info">
<img class="image" id="filedistribution__image_zn5_yfl_bkb" src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20201407174752-14b46a129f12.png" width="800">
<table class="table frame-all" id="filedistribution__table_gjj_zdl_bkb"><caption></caption><colgroup><col style="width:34.01360544217687%"><col style="width:65.98639455782312%"></colgroup><thead class="thead">
<tr class="row">
<th class="entry" id="filedistribution__table_gjj_zdl_bkb__entry__1">Configuration Item</th>
<th class="entry" id="filedistribution__table_gjj_zdl_bkb__entry__2">Description</th>
</tr>
</thead><tbody class="tbody">
<tr class="row">
<td class="entry" headers="filedistribution__table_gjj_zdl_bkb__entry__1 ">
<p class="p"><span class="ph uicontrol">Task Name</span></p>
</td>
<td class="entry" headers="filedistribution__table_gjj_zdl_bkb__entry__2 ">
<p class="p">About the file distribution task name. </p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="filedistribution__table_gjj_zdl_bkb__entry__1 ">
<p class="p"><span class="ph uicontrol">Task Description</span></p>
</td>
<td class="entry" headers="filedistribution__table_gjj_zdl_bkb__entry__2 ">
<p class="p">About the file distribution task description.</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="filedistribution__table_gjj_zdl_bkb__entry__1 ">
<p class="p"><span class="ph uicontrol">Source</span></p>
</td>
<td class="entry" headers="filedistribution__table_gjj_zdl_bkb__entry__2 ">
<p class="p">Click <span class="ph uicontrol">Local Upload</span>, and select files to be distributed from your computer. After that, the selected files will wait to be uploaded one by one. </p>
<div class="note note note_note"><span class="note__title">Note:</span> A Maximum of 5 files can be distributed each time and the maximum size of each file is 500M. </div>
</td>
</tr>
<tr class="row">
<td class="entry" headers="filedistribution__table_gjj_zdl_bkb__entry__1 ">
<p class="p"><span class="ph uicontrol">Target host</span></p>
</td>
<td class="entry" headers="filedistribution__table_gjj_zdl_bkb__entry__2 ">
<ul class="ul" id="filedistribution__ul_xqs_wz4_tkb">
<li class="li">
<p class="p"><strong class="ph b">Method One: Select Host</strong></p>
<p class="p">Click <span class="ph uicontrol">+Select host</span>. On
the <span class="keyword wintitle">Select host</span> page that
opens, tick one or more hosts, and then click
<span class="ph uicontrol">Select</span>.</p>
<img class="image" id="filedistribution__d21e196" src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20201407174751-14a9185093a4.png" width="500">
</li>
<li class="li">
<p class="p"><strong class="ph b">Method Two: Import Host</strong></p>
<p class="p">Click <span class="ph uicontrol">Fast Import</span>. In the <span class="ph uicontrol">Host List</span> field, enter host names or IP addresses, and then click <span class="ph uicontrol">Host match</span>. If the matches succeed, click <span class="ph uicontrol">Confirm</span>.</p>
<div class="note note note_note"><span class="note__title">Note:</span> Type in IP or Host Name, separated by comma(,), semicolon(;), vertical bar(|), or line break( ).</div>
<img class="image" id="filedistribution__d21e223" src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20201407174751-136848aa92e8.png" width="500">
</li>
</ul></td>
</tr>
<tr class="row">
<td class="entry" headers="filedistribution__table_gjj_zdl_bkb__entry__1 ">
<p class="p"><span class="ph uicontrol">Windows directory </span></p>
</td>
<td class="entry" headers="filedistribution__table_gjj_zdl_bkb__entry__2 ">
<p class="p">Upload files to the directory where the host is stored (Windows). </p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="filedistribution__table_gjj_zdl_bkb__entry__1 ">
<p class="p"><span class="ph uicontrol">Linux directory </span></p>
</td>
<td class="entry" headers="filedistribution__table_gjj_zdl_bkb__entry__2 ">
<p class="p">Upload files to the directory where the host is stored (Linux).</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="filedistribution__table_gjj_zdl_bkb__entry__1 ">
<p class="p"><span class="ph uicontrol">Overwrite the original file</span></p>
</td>
<td class="entry" headers="filedistribution__table_gjj_zdl_bkb__entry__2 ">
<div class="p">
<ul class="ul" id="filedistribution__ul_x2x_q5p_dkb">
<li class="li">If you tick the box, files with the same name will be overwritten. </li>
<li class="li">If not, files will not be distributed to the host as file names already exist under the same directory, and abnormal information of the file will be reported. </li>
</ul>
</div>
</td>
</tr>
</tbody></table>
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">After finishing the configuration, click <span class="ph uicontrol">Distribute now</span>.</span>
<div class="itemgroup info"><div class="p">
<div class="note note note_note"><span class="note__title">Note:</span> If you click <span class="ph uicontrol">Save as</span>, the task will be saved in the <span class="ph uicontrol">Task Management</span>.</div>
</div></div>
</li></ol></section>
<section class="section result" id="filedistribution__result_xcr_vgl_bkb"><div class="tasklabel"><h2 class="doc-tairway">Results</h2></div>
<p class="p">After that, the system will jump to the <span class="keyword wintitle">File Distribution</span> page. You can see the <span class="ph uicontrol">Task Overview</span>, <span class="ph uicontrol">Distribution Progress</span>, and <span class="ph uicontrol">Distribution Target Host </span>. </p>
<div class="p">
<img class="image" id="filedistribution__image_wtb_q3q_dkb" src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20201407174752-188ca8cb96e8.png" width="750">
</div>
</section>
Did the above content solve your problem?
Yes
No
Submitted successfully! Thank you for your feedback, we will try our best to do better and better!