Installing an ICAgent

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

Prerequisites

  • You have created an ECS.

  • You have obtained an AK/SK.

  • The time of the local browser must be consistent with that of the ECS.

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.

    Note

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

  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.

  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.

    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.

  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.