Help Center> Log Tank Service> Getting Started> Installing the ICAgent

Installing the ICAgent

ICAgent is a tool used by Log Tank Service (LTS) to collect logs. It runs on the cloud server where logs are collected. If you use LTS to collect host logs for the first time, you need to install the ICAgent.

If the ICAgent has been installed when using other cloud services, skip this step.

Prerequisites

Before installing the ICAgent, ensure that the time and time zone used by the local browser must be consistent with those of the host.

Installing the ICAgent

  1. On the management console of the LTS service, click Agent Management.
  2. On the Agent management page, click Install ICAgent.

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

    The Access Key ID/Secret Access Key (AK/SK) is the access key, which can be obtained on the My Credentials page. The procedure is as follows:

    1. Click the username in the upper right corner of the page and select My Credentials.

    2. On the My Credentials page, choose Access Keys.
    3. Click Create Access Key, and enter the login password and verification code.

      Each user can create a maximum of two access keys, which can be downloaded only once when being created. If Create Access Key is unavailable, delete an access key and create a new one.

    4. Click OK to download the access key and keep it secure.
  5. Enter the obtained AK/SK in the text box to generate the ICAgent installation command.
  6. Then, click Copy Command to copy the ICAgent installation command.
  7. Use a remote login tool, for example, PuTTY, to log in to the server where the ICAgent is to be installed as the root user and run the preceding command to install the ICAgent.

    If the message ICAgent install success is displayed, the ICAgent is successfully installed in the /opt/oss/servicemgr/ directory. After the ICAgent is successfully installed, choose Agent Management in the LTS navigation pane to view the ICAgent status.