Updated on 2024-11-20 GMT+08:00

Creating a Group

You can create a group to facilitate resource management by group.

Scenarios

Create a group on COC.

Procedure

  1. Log in to COC.
  2. In the navigation pane, choose Resources > Application and Resource Management. On the displayed page, click the Applications tab, expand the target application, locate the component for which you want to create a group in the resource tree on the left, and click the plus sign (+) next to the component.

    Figure 1 Creating a group

  3. Set parameters in the Create Group drawer by referring to Table 1 and click OK.

    Table 1 Parameters for creating a component

    Parameter

    Description

    Example Value

    Group ID

    (Mandatory) Group of the component you created. Enter a valid group ID.

    testGroup

    Group

    (Mandatory) Group of the component you created. Enter a valid group name.

    Test Group

    Vendor

    (Mandatory) Information about the vendor to which the group belongs.

    /

    Region

    (Mandatory) Region to which a group belongs.

    /

    Resource Association Method

    (Mandatory) Method that is used to associate resources with the group you created. There are two association methods: manual association and intelligent association.

    • Manual: You can manually associate resources with the group you created for unified management.
    • Intelligent: You can add all resources with the same tag in an enterprise project to a resource group.

    Manual

    Enterprise Project

    (Mandatory) Enterprise project. This parameter is displayed when the resource association mode is intelligent association.

    /

    Tag Key

    (Mandatory) This parameter is displayed if the intelligent resource association method is used.

    testKey

    Tag Value

    (Optional) This parameter is displayed if the intelligent resource association method is used.

    testValue

    Associate APM Environment

    (Optional) Configure the application, component, and environment of the APM service corresponding to the group. APM service performance information can be obtained through this field during fault diagnosis.

    /