Updated on 2023-11-29 GMT+08:00

Step 2: Installing ICAgent

ICAgent is the log collection tool of LTS. Install ICAgent on a host from which you want to collect logs.

If ICAgent has been installed on the host when you use other cloud services, skip the installation.

Prerequisites

Before installing ICAgent, ensure that the time and time zone of your local browser are consistent with those of the host.

Installing ICAgent

  1. Log in to the LTS console and choose Host Management in the navigation pane.
  2. Click Install ICAgent in the upper right corner.

    Figure 1 Installing ICAgent

  3. Set OS to Linux.
  4. Set Installation Mode to Obtain AK/SK.

    Ensure that the public account and AK/SK will not be deleted or disabled. If the AK/SK is deleted, the ICAgent cannot report data to LTS.

  5. Click Copy Command to copy the ICAgent installation command.
  6. Log in as user root to the host (for example, by using a remote login tool such as PuTTY). Run the copied command and enter the obtained AK/SK pair to install ICAgent.

    When the message ICAgent install success is displayed, ICAgent has been installed in the /opt/oss/servicemgr/ directory of the host. You can then view the ICAgent status on the Hosts tab of the Host Management page on the LTS console.