forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Su, Xiaomeng <suxiaomeng1@huawei.com> Co-committed-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
69 lines
9.2 KiB
HTML
69 lines
9.2 KiB
HTML
<a name="dli_01_0367"></a><a name="dli_01_0367"></a>
|
|
|
|
<h1 class="topictitle1">Creating a DLI Package</h1>
|
|
<div id="body8662426"><p id="dli_01_0367__en-us_topic_0122016946_p93081221124114">DLI allows you to submit program packages in batches to the general-use queue for running.</p>
|
|
<div class="note" id="dli_01_0367__note7234131133213"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dli_01_0367__p92352011173213">If you need to update a package, you can use the same package or file to upload it to the same location (in the same group) on DLI to overwrite the original package or file.</p>
|
|
</div></div>
|
|
<div class="section" id="dli_01_0367__section18887174943920"><h4 class="sectiontitle">Prerequisites</h4><p id="dli_01_0367__p420613556395">All software packages must be uploaded to OBS for storage in advance.</p>
|
|
</div>
|
|
<div class="section" id="dli_01_0367__en-us_topic_0122016946_en-us_topic_0093946917_section14223343145314"><h4 class="sectiontitle">Procedure</h4><ol id="dli_01_0367__ol172795412248"><li id="dli_01_0367__li0727165414248">On the left of the management console, choose <span class="uicontrol" id="dli_01_0367__uicontrol155446476912"><b>Data Management</b></span> > <span class="uicontrol" id="dli_01_0367__uicontrol1252865218920"><b>Package Management</b></span>.</li><li id="dli_01_0367__li13727135411249">On the <span class="wintitle" id="dli_01_0367__wintitle196674031013"><b>Package Management</b></span> page, click <strong id="dli_01_0367__b14725441019">Create</strong> in the upper right corner to create a package.</li><li id="dli_01_0367__li10728165402418">In the displayed <span class="wintitle" id="dli_01_0367__wintitle11408195612575"><b>Create Package</b></span> dialog box, set related parameters by referring to <a href="#dli_01_0367__en-us_topic_0122016946_en-us_topic_0093946917_table19616613171536">Table 1</a>.
|
|
<div class="tablenoborder"><a name="dli_01_0367__en-us_topic_0122016946_en-us_topic_0093946917_table19616613171536"></a><a name="en-us_topic_0122016946_en-us_topic_0093946917_table19616613171536"></a><table cellpadding="4" cellspacing="0" summary="" id="dli_01_0367__en-us_topic_0122016946_en-us_topic_0093946917_table19616613171536" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter descriptions</caption><thead align="left"><tr id="dli_01_0367__en-us_topic_0122016946_en-us_topic_0093946917_row15177266171536"><th align="left" class="cellrowborder" valign="top" width="16.32%" id="mcps1.3.4.2.3.3.2.3.1.1"><p id="dli_01_0367__en-us_topic_0122016946_en-us_topic_0093946917_p5976489517160">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="83.67999999999999%" id="mcps1.3.4.2.3.3.2.3.1.2"><p id="dli_01_0367__en-us_topic_0122016946_en-us_topic_0093946917_p911830717160">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dli_01_0367__row0411835105712"><td class="cellrowborder" valign="top" width="16.32%" headers="mcps1.3.4.2.3.3.2.3.1.1 "><p id="dli_01_0367__en-us_topic_0122016946_en-us_topic_0093946917_p25317410132926">Package Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.67999999999999%" headers="mcps1.3.4.2.3.3.2.3.1.2 "><p id="dli_01_0367__en-us_topic_0122016946_en-us_topic_0093946917_p37444329132926">The following package types are supported:</p>
|
|
<ul id="dli_01_0367__en-us_topic_0122016946_ul19355124635412"><li id="dli_01_0367__en-us_topic_0122016946_li173552046135410">JAR: JAR file</li><li id="dli_01_0367__en-us_topic_0122016946_li1035554615417">PyFile: User Python file</li><li id="dli_01_0367__en-us_topic_0122016946_li73551146195414">File: User file</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="dli_01_0367__en-us_topic_0122016946_en-us_topic_0093946917_row56284350171536"><td class="cellrowborder" valign="top" width="16.32%" headers="mcps1.3.4.2.3.3.2.3.1.1 "><p id="dli_01_0367__en-us_topic_0122016946_en-us_topic_0093946917_p4555561017160">Package File Path</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.67999999999999%" headers="mcps1.3.4.2.3.3.2.3.1.2 "><p id="dli_01_0367__en-us_topic_0122016946_p12672162955118">Select the OBS path of the corresponding packages.</p>
|
|
<div class="note" id="dli_01_0367__note1287585810107"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="dli_01_0367__ul04810218124"><li id="dli_01_0367__li2482142101215">The packages must be uploaded to OBS for storage in advance.</li><li id="dli_01_0367__li1748213216127">Only files can be selected.</li></ul>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="dli_01_0367__row415617241883"><td class="cellrowborder" valign="top" width="16.32%" headers="mcps1.3.4.2.3.3.2.3.1.1 "><p id="dli_01_0367__p715712241188">Group Policy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.67999999999999%" headers="mcps1.3.4.2.3.3.2.3.1.2 "><p id="dli_01_0367__p515762417817">You can select <strong id="dli_01_0367__b1860445618266">Use existing group</strong>, <strong id="dli_01_0367__b2902121152716">Use new group</strong>, or <strong id="dli_01_0367__b78942072711">No grouping</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dli_01_0367__row740151051019"><td class="cellrowborder" valign="top" width="16.32%" headers="mcps1.3.4.2.3.3.2.3.1.1 "><p id="dli_01_0367__p14131010102">Group Name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.67999999999999%" headers="mcps1.3.4.2.3.3.2.3.1.2 "><ul id="dli_01_0367__ul17658122119107"><li id="dli_01_0367__li102146242916"><strong id="dli_01_0367__b796141762818">Use existing group</strong>: Select an existing group.</li><li id="dli_01_0367__li11658221171019"><strong id="dli_01_0367__b1172465713287">Use new group</strong>: Enter a custom group name.</li><li id="dli_01_0367__li3756181791116"><strong id="dli_01_0367__b167792018299">No grouping</strong>: No need to select or enter a group name.</li></ul>
|
|
<div class="note" id="dli_01_0367__note459512341000"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="dli_01_0367__ul147622187210"><li id="dli_01_0367__li5762181811211">If you select a group, the permission management refers to the permissions of the corresponding package group.</li><li id="dli_01_0367__li1376219183220">If no group is selected, the permission management refers to the permissions of the corresponding package.</li></ul>
|
|
<p id="dli_01_0367__p17681040525">For details about how to manage permissions on package groups and packages, see <a href="dli_01_0477.html">Managing Permissions on Packages and Package Groups</a>.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="dli_01_0367__row016422516486"><td class="cellrowborder" valign="top" width="16.32%" headers="mcps1.3.4.2.3.3.2.3.1.1 "><p id="dli_01_0367__p26171435204818">Tag</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.67999999999999%" headers="mcps1.3.4.2.3.3.2.3.1.2 "><p id="dli_01_0367__p52841736202320">Tags used to identify cloud resources. A tag includes the tag key and tag value. If you want to use the same tag to identify multiple cloud resources, that is, to select the same tag from the drop-down list box for all services, you are advised to create predefined tags on the Tag Management Service (TMS).</p>
|
|
<div class="note" id="dli_01_0367__note647119469162"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="dli_01_0367__dli_01_0363_ul1830018521911"><li id="dli_01_0367__dli_01_0363_li186815313365">A maximum of 20 tags can be added.</li><li id="dli_01_0367__dli_01_0363_li183008521591">Only one tag value can be added to a tag key.</li><li id="dli_01_0367__dli_01_0363_li14484164661614">The key name in each resource must be unique.</li></ul>
|
|
</div></div>
|
|
<ul id="dli_01_0367__ul6617123554815"><li id="dli_01_0367__li9617123518481">Tag key: Enter a tag key name in the text box.<div class="note" id="dli_01_0367__note18617135124816"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dli_01_0367__dli_01_0363_p1448010306508">A tag key can contain a maximum of 128 characters. Only letters, digits, spaces, and special characters (_.:+-@) are allowed, but the value cannot start or end with a space or start with <strong id="dli_01_0367__dli_01_0363_b544594615499">_sys_</strong>.</p>
|
|
</div></div>
|
|
</li></ul>
|
|
<ul id="dli_01_0367__ul16911451899"><li id="dli_01_0367__li26911851193">Tag value: Enter a tag value in the text box.<div class="note" id="dli_01_0367__note86179355480"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dli_01_0367__dli_01_0363_p4702194215507">A tag value can contain a maximum of 255 characters. Only letters, digits, spaces, and special characters (_.:+-@) are allowed.</p>
|
|
</div></div>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="dli_01_0367__li472825420248">Click <span class="uicontrol" id="dli_01_0367__uicontrol4864202813586"><b>OK</b></span>.<p id="dli_01_0367__en-us_topic_0122016946_en-us_topic_0093946917_p1543112413517">After a package is created, you can view and select the package for use on the <span class="wintitle" id="dli_01_0367__wintitle1066123765811"><b>Package Management</b></span> page.</p>
|
|
<p id="dli_01_0367__p12899334125211">Once a job is executed, you can free up DLI storage space by promptly deleting the job package from the package management page if it is no longer needed.</p>
|
|
</li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dli_01_0366.html">Managing Program Packages of Jar Jobs</a></div>
|
|
</div>
|
|
</div>
|
|
|