• Data Warehouse Service

dws
  1. Help Center
  2. Data Warehouse Service
  3. User Guide
  4. Managing Clusters
  5. Managing Tags
  6. Tag Management

Tag Management

This section describes how to search for clusters based on tags and how to add, modify, and delete tags for clusters.

Searching for Clusters Based on Tags

If tags have been added to a cluster, you can search for the cluster by setting tag filtering conditions to quickly find it.

  1. Log in to the management console at https://console.otc.t-systems.com/dws/.
  2. Click Cluster Management.
  3. Click Search by Tag on the right of the current page to expand the tab page.

    Figure 1 Search by tag

  4. In the Search by Tag area, click the Tag Key text box to select a tag key from the drop-down list and then click the Tag Value text box to select the corresponding tag value.

    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 Adding a Tag to a Cluster.

  5. Click to add the selected tag to the area under the text boxes.

    • Select another tag in the text boxes and click 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.
    • To delete an existing tag, click next to the tag.
    • You can click Reset to clear all added tags.
      Figure 2 Adding the tag key and value

  6. Click Search. The target cluster will be displayed in the cluster list.

Adding a Tag to a Cluster

  1. On the Cluster Management page, click the name of the cluster to which a tag is to be added, and click the Tags tab.

    Figure 3 Tags page

  2. Click Add Tag. The Add Tag dialog box is displayed.
  3. Configure the tag parameters in the Add Tag dialog box.

    Figure 4 Adding a tag to a cluster
    Table 1 Tag parameters

    Parameter

    Description

    Example Value

    Tag key

    You can:

    • Select a predefined tag key or an existing resource tag key from the drop-down list of the text box.
      NOTE:

      To add a predefined tag, you need to create one on TMS and select it from the drop-down list of Tag key. You can click View predefined tags to enter the Predefined Tag page of TMS. Then, click Create Tag to create a predefined tag. For details, see section Creating Predefined Tags in the Tag Management Service User Guide.

    • Enter a tag key in the text box. A tag key can contain a maximum of 36 Unicode characters, which cannot be null. The first and last characters cannot be spaces.

      Contain only uppercase letters (A to Z), lowercase letters (a to z), digits (0-9), hyphens (-), and underscores (_).

      NOTE:

      The key name must be unique in the same cluster.

    tagkey01

    Tag value

    You can:

    • Select a predefined tag value or resource tag value from the drop-down list of the text box.
    • Enter a tag value in the text box. A tag key can contain a maximum of 43 Unicode characters, which can be null. The first and last characters cannot be spaces.

      Contain only uppercase letters (A to Z), lowercase letters (a to z), digits (0-9), hyphens (-), and underscores (_).

    value01

  4. Click OK.

Modifying a Tag

  1. On the Cluster Management page, click the name of the cluster to which a tag is to be modified, and click the Tags tab.
  2. Locate the row that contains the tag to be modified, click Edit in the Operation column. The Edit Tag dialog box is displayed.

    Figure 5 Editing a tag

  3. Enter the new key value in the Value text box.
  4. Click OK.

Deleting a Tag

  1. On the Cluster Management page, click the name of the cluster to which a tag is to be deleted, and click the Tags tab.
  2. Locate the row that contains the tag to be deleted, click Delete in the Operation column. The Delete Tag dialog box is displayed.

    Figure 6 Deleting a tag

  3. Click OK to delete the tag.