Updated on 2023-11-16 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. Select Other: custom hosts, and click Install ICAgent.
  3. On the page that is displayed, enter an AK/SK to generate an ICAgent installation command, and click Copy Command to copy the command for further use in 5.

    Ensure that the AK/SK are correct. Otherwise, the ICAgent cannot be installed.

    Figure 1 Installing an ICAgent

  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 2 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 3 Copy & Paste button
    Figure 4 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. After a while, return to the Agent Management page, select Other: custom hosts, and 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 5 O&M