Updated on 2023-12-22 GMT+08:00

Installing an ICAgent

This section describes how to install an ICAgent on an ECS and monitor its resources on the AOM console.

Prerequisites

Installing an ICAgent

  1. Log in to the AOM console. In the navigation pane, choose Configuration Management > Agent Management.
  2. Click Install ICAgent. On the displayed page, set Host Type to HUAWEI CLOUD host, and Installation Mode to Obtain AK/SK.
  3. Click Copy Command to copy the installation command.
  4. Log in to the ECS remotely.

    Specifically, log in to the ECS console, click Remote Login in the Operation column of the target ECS, and then log in to the ECS as the root user.

    Figure 1 Logging in to the ECS remotely

  5. Run the ICAgent installation command.

    On the ECS page, click Copy & Paste. On the page that is displayed, press Ctrl+V to paste the ICAgent installation command obtained in 3, and click Send to send the command to the CLI, as shown in the following figure. In the CLI, press Enter to run the ICAgent installation command.

    Figure 2 Copy & Paste button
    Figure 3 Pasting and sending the installation command
    If the message "ICAgent install success" is displayed, the ICAgent is successfully installed in the /opt/oss/servicemgr/ directory. Wait for a while and go back to the Agent Management page to check whether the ICAgent status of the ECS is Running.
    • If the ICAgent status is Running, the ICAgent is successfully installed.
    • If the ICAgent status is Offline, view details. The AK/SK or ECS agency may be incorrect. In this case, obtain the correct AK/SK or reconfigure the ECS agency, and then reinstall the ICAgent. If the problem persists, submit a service ticket.

  6. On the AOM console, monitor the ECS.

    After the ICAgent is installed, wait for about 1–2 minutes. Then, in the navigation pane, choose Overview > O&M to monitor the ECS, as shown in the following figure.

    Figure 4 O&M