forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Reviewed-by: Rechenburg, Matthias <matthias.rechenburg@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
60 lines
14 KiB
HTML
60 lines
14 KiB
HTML
<a name="EN-US_TOPIC_0000001707254669"></a><a name="EN-US_TOPIC_0000001707254669"></a>
|
|
|
|
<h1 class="topictitle1">Tag Management</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_p8060118">This section describes how to search for clusters based on tags and how to add, modify, and delete tags.</p>
|
|
<div class="section" id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_section77515910494"><a name="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_section77515910494"></a><a name="en-us_topic_0000001372520082_section77515910494"></a><h4 class="sectiontitle">Adding a Tag to a Cluster</h4><ol id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_ol558242211529"><li id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_li1819481821414"><span>On the <span class="uicontrol" id="EN-US_TOPIC_0000001707254669__uicontrol1441922310415"><b>Clusters</b></span> > <strong id="EN-US_TOPIC_0000001707254669__b134191123104112">Dedicated Clusters</strong> page, click the name of the cluster to which a tag is to be added, and choose <span class="uicontrol" id="EN-US_TOPIC_0000001707254669__uicontrol1942020232413"><b>Tag</b></span>.</span><p><p id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_p13421450194819"></p>
|
|
</p></li><li id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_li1813151619381"><span>Click <strong id="EN-US_TOPIC_0000001707254669__b84235270616396">Add Tag</strong>.</span></li><li id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_li1028738191512"><span>Configure tag information in the <strong id="EN-US_TOPIC_0000001707254669__b959219125396">Add Tag</strong> dialog box. The value of a key cannot be left blank.</span><p>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_table12483201713111" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Tag parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_row17486121763113"><th align="left" class="cellrowborder" valign="top" width="8.799999999999999%" id="mcps1.3.2.2.3.2.1.2.4.1.1"><p id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_p12486181715313"><strong id="EN-US_TOPIC_0000001707254669__b84235270617387">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="77.12%" id="mcps1.3.2.2.3.2.1.2.4.1.2"><p id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_p1191704514113"><strong id="EN-US_TOPIC_0000001707254669__b842352706101627">Description</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.08%" id="mcps1.3.2.2.3.2.1.2.4.1.3"><p id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_p18486151713117"><strong id="EN-US_TOPIC_0000001707254669__b60793810112357">Example Value</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_row11486131733111"><td class="cellrowborder" valign="top" width="8.799999999999999%" headers="mcps1.3.2.2.3.2.1.2.4.1.1 "><p id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_p1433134915503">Tag key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="77.12%" headers="mcps1.3.2.2.3.2.1.2.4.1.2 "><p id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_p4183104918156">You can:</p>
|
|
<ul id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_ul149381653121514"><li id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_li29381536159">Select a predefined tag key or an existing resource tag key from the drop-down list of the text box.<div class="note" id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_note354311061312"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_p19473813185311">To add a predefined tag, you need to create one on TMS and select it from the drop-down list of <span class="parmname" id="EN-US_TOPIC_0000001707254669__parmname890218564101210"><b>Tag key</b></span>. You can click <span class="uicontrol" id="EN-US_TOPIC_0000001707254669__uicontrol141392387491"><b>View predefined tags</b></span> to enter the <span class="wintitle" id="EN-US_TOPIC_0000001707254669__wintitle8139538154918"><b>Predefined Tags</b></span> page of TMS. Then, click <span class="uicontrol" id="EN-US_TOPIC_0000001707254669__uicontrol17140203844917"><b>Create Tag</b></span> to create a predefined tag. For more information, see "Management > Predefined Tags > Creating Predefined Tags" in the <em id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_i758562817532">Tag Management Service User Guide</em>.</p>
|
|
</div></div>
|
|
</li></ul>
|
|
<ul id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_ul154819568159"><li id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_li3543175853817">Enter a tag key in the text box. The tag key can contain a maximum of 128 characters and cannot be an empty string. It cannot start with <strong id="EN-US_TOPIC_0000001707254669__b5604115644210">_sys_</strong>.<div class="p" id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_p418051717">Only letters, digits, spaces, and the following characters are allowed: _ . : = + - @<div class="note" id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_note206991233134612"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_p10699733104619">A key must be unique in a given cluster.</p>
|
|
</div></div>
|
|
</div>
|
|
</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.08%" headers="mcps1.3.2.2.3.2.1.2.4.1.3 "><p id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_p848641718314">key01</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_row19486151715318"><td class="cellrowborder" valign="top" width="8.799999999999999%" headers="mcps1.3.2.2.3.2.1.2.4.1.1 "><p id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_p1548761710317">Tag value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="77.12%" headers="mcps1.3.2.2.3.2.1.2.4.1.2 "><p id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_p34521618101419">You can:</p>
|
|
<ul id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_ul12885203215142"><li id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_li128852326147">Select a predefined tag value or resource tag value from the drop-down list of the text box.</li><li id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_li423711352146">Enter a tag value in the text box. The tag key can contain a maximum of 255 characters and cannot be an empty string.<p id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_p5529135062216"><a name="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_li423711352146"></a><a name="en-us_topic_0000001372520082_li423711352146"></a>Only letters, digits, spaces, and the following characters are allowed: : = + - @.</p>
|
|
<p id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_p18530105014221"></p>
|
|
</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.08%" headers="mcps1.3.2.2.3.2.1.2.4.1.3 "><p id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_p14487201712310">value01</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</p></li><li id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_li542193420527"><span>Click <span class="uicontrol" id="EN-US_TOPIC_0000001707254669__uicontrol66261082112"><b>OK</b></span>.</span></li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_section20922320396"><a name="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_section20922320396"></a><a name="en-us_topic_0000001372520082_section20922320396"></a><h4 class="sectiontitle">Searching for Clusters Based on Tags</h4><p id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_p12627101063910">You can quickly locate a tagged cluster using tags.</p>
|
|
<ol id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_ol176273102390"><li id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_li06271810143911"><span>Log in to the GaussDB(DWS) management console.</span></li><li id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_li36271310183911"><span>Choose <strong id="EN-US_TOPIC_0000001707254669__b113937183975656">Clusters</strong> > <strong id="EN-US_TOPIC_0000001707254669__b134816361675656">Dedicated Cluster</strong>.</span></li><li id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_li1627171017395"><span>Click <span class="uicontrol" id="EN-US_TOPIC_0000001707254669__uicontrol158875584182"><b>Search by Tag</b></span> on the upper right of the cluster list to expand the tab page.</span></li><li id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_li1962881017392"><span>In the <strong id="EN-US_TOPIC_0000001707254669__b842352706192630">Search by Tag</strong> area, click the <strong id="EN-US_TOPIC_0000001707254669__b5293213104512">Tag Key</strong> text box to select a tag key from the drop-down list and then click the <strong id="EN-US_TOPIC_0000001707254669__b29814200455">Tag Value</strong> text box to select the corresponding tag value.</span><p><p id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_p19628191011392">You can only enter a tag key or value that exists in the drop-down list. If no tag key or value is available, create a tag for the cluster. For details, see <a href="#EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_section77515910494">Adding a Tag to a Cluster</a>.</p>
|
|
</p></li><li id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_li162812102390"><span>Click <span><img id="EN-US_TOPIC_0000001707254669__image12347516469" src="figure/en-us_image_0000001711599740.png"></span> to add the selected tag to the area under the text boxes.</span><p><ul id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_ul13628101019390"><li id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_li11628410143912">Select another tag in the text boxes and click <span><img id="EN-US_TOPIC_0000001707254669__image104101261376" src="figure/en-us_image_0000001711599740.png"></span> to generate a tag combination for cluster search. You can add a maximum of 10 tags to search for data warehouse clusters. If you specify more than one tag, clusters containing all the specified tags will be displayed.</li><li id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_li1462815109395">To delete an existing tag, click <span><img id="EN-US_TOPIC_0000001707254669__image262810106390" src="figure/en-us_image_0000001759519141.png"></span> next to the tag.</li><li id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_li36281010123920">You can click <span class="uicontrol" id="EN-US_TOPIC_0000001707254669__uicontrol139981070010524"><b>Reset</b></span> to clear all added tags.</li></ul>
|
|
</p></li><li id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_li162981013396"><span>Click <span class="uicontrol" id="EN-US_TOPIC_0000001707254669__uicontrol62092412310856"><b>Search</b></span>. The target cluster will be displayed in the cluster list.</span></li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_section52819319499"><h4 class="sectiontitle">Modifying a Tag</h4><ol id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_ol1518102217617"><li id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_li58132038184319"><span>On the <span class="uicontrol" id="EN-US_TOPIC_0000001707254669__uicontrol14775726134111"><b>Clusters</b></span> > <strong id="EN-US_TOPIC_0000001707254669__b12776122674111">Dedicated Clusters</strong> page, click the name of the cluster to which a tag is to be added, and choose <span class="uicontrol" id="EN-US_TOPIC_0000001707254669__uicontrol14776162619413"><b>Tag</b></span>.</span></li><li id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_li1971122519617"><span>Locate the row that contains the tag to be modified, and click <strong id="EN-US_TOPIC_0000001707254669__b842352706194412">Edit</strong> in the <strong id="EN-US_TOPIC_0000001707254669__b842352706194420">Operation</strong> column. The <strong id="EN-US_TOPIC_0000001707254669__b842352706194428">Edit Tag</strong> dialog box is displayed.</span></li><li id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_li53417342617"><span>Enter the new key value in the <span class="parmname" id="EN-US_TOPIC_0000001707254669__parmname1742199993194532"><b>Value</b></span> text box.</span></li><li id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_li583410326519"><span>Click <strong id="EN-US_TOPIC_0000001707254669__b84235270611586">OK</strong>.</span></li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_section882014118493"><h4 class="sectiontitle">Deleting a Tag</h4><ol id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_ol194611475215"><li id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_li124631941528"><span>On the <span class="uicontrol" id="EN-US_TOPIC_0000001707254669__uicontrol88032917410"><b>Clusters</b></span> > <strong id="EN-US_TOPIC_0000001707254669__b58052917417">Dedicated Clusters</strong> page, click the name of the cluster from which a tag is to be deleted, and click the <span class="uicontrol" id="EN-US_TOPIC_0000001707254669__uicontrol158092916412"><b>Tags</b></span> tab.</span></li><li id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_li1546610410526"><span>Locate the row that contains the tag to be deleted, click <strong id="EN-US_TOPIC_0000001707254669__b2053232118">Delete</strong> in the <strong id="EN-US_TOPIC_0000001707254669__b2118156251">Operation</strong> column. The <strong id="EN-US_TOPIC_0000001707254669__b1329979224">Delete Tag</strong> dialog box is displayed.</span></li><li id="EN-US_TOPIC_0000001707254669__en-us_topic_0000001372520082_li247217455211"><span>Click <strong id="EN-US_TOPIC_0000001707254669__b842352706194647">Yes</strong> to delete the tag.</span></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_01_0103.html">Managing Tags</a></div>
|
|
</div>
|
|
</div>
|
|
|