Help Center/ Cloud Bastion Host/ FAQs/ Troubleshooting/ Maintenance Issues/ Why Is LTS Still Disabled After It Is Configured for a CBH Instance?
Updated on 2024-12-03 GMT+08:00

Why Is LTS Still Disabled After It Is Configured for a CBH Instance?

Symptom

After Log Tank Service (LTS) is configured for a CBH instance, the system displays a message indicating that the LTS service is disabled.

Solution

The command for installing ICAgent starts with the curl command. If the set +o history; field exists before the curl command, delete it and interconnect ICAgent with the bastion host. The parameters for installing ICAgent are as follows:

curl http://icagent-{region}.obs.{region}.myhuaweicloud.com.ICAgent_linux/apm_agent_install.sh > apm_agent_install.sh && REGION=[region] bash apm_agent_install.sh -ak [ak] sh [sk] -region [region] -projectid [projectid] -accessip [accessip] -obsdomain [obsdomain] -accessdomain [accessdomain] ;

  • For bastion host versions earlier than 3.3.42.0, parameter accessdomain is not required, and the parameters do not end with spaces or semicolons (;).
  • For bastion host version 3.3.42.0 or later, parameter accessdomain is required, and the parameters do not end with spaces or semicolons (;).
  • For bastion host version 3.3.46.0 or later, parameter accessdomain is optional, and the parameters do not end with spaces or semicolons (;).