Help Center> Log Tank Service> User Guide> Appendixes> How Do I Install ICAgent by Creating an Agency?

How Do I Install ICAgent by Creating an Agency?

When installing ICAgent, you can create an IAM agency, and ICAgent will automatically obtain an AK/SK pair and generate the ICAgent installation command.

Procedure

  1. Visit the HUAWEI CLOUD website and click Console in the upper right corner.
  2. Hover the mouse pointer over the username in the upper right corner of the page and select Identity and Access Management.
    Figure 1 Identity and Access Management
  3. Choose Agencies in the navigation pane on the left.
  4. Click Create Agency in the upper right corner and set parameters as follows:
    Table 1 Agency parameters

    Parameter

    Description

    Agency Name

    Set the agency name. For example, lts_ecm_trust.

    Agency Type

    Select Cloud service.

    Cloud Service

    Select ECS BMS.

    Validity Period

    Select Permanent.

    Description

    (Optional) Provide details about the agency.

    Permissions

    1. In the Permissions area, click Modify in the row where the current region (the region selected when you log in to the LTS service) is located.
    2. In the Available Policies area, search for LTS Admin and APM Administrator and select them.
    3. Click OK.
    NOTE:

    If you select LTS Administrator, you need to select the Tenant Guest policy in the same project and the Tenant Administrator policy in the Object Storage Service (OBS) project. LTS Admin is an upgrade version of LTS Administrator. You are advised to select LTS Admin.

  5. Click OK.

Making an Agency Effective

  1. Choose Service List > Computing > Elastic Cloud Server. The Elastic Cloud Server page is displayed.
  2. Click the ECS server where ICAgent is installed. The server details page is displayed.
  3. Select the created agency from the Agency drop-down list and confirm the configuration to make the agency effective.
    Figure 2 Selecting an agency
  4. (Optional) If you want to set an agency when you are purchasing an ECS server: Click Buy ECS on the ECS console. In the Configure Advanced Settings step, set Advanced Options to Configure now and select an agency from the Agency drop-down list. Set other parameters and click Next.
    Figure 3 Selecting an agency