更新时间:2025-09-24 GMT+08:00
分享

操作系统限制

LTS日志采集支持多个操作系统,在购买主机时您需选择LTS支持的操作系统和GLIBC版本,否则无法使用LTS对主机日志进行采集。

GLIBC版本限制

在主机上安装ICAgent前,必须确认ICAgent版本和GLIBC版本满足要求,详细请参考表1。若不满足要求,则无法安装ICAgent。

表1 GLIBC版本要求

ICAgent版本

GLIBC版本

x86

arm

7.3.X及以下版本

2.12版本及以上

2.17版本及以上

7.4.X

2.14版本及以上

2.28版本及以上

  1. 建议您在安装前参考如下方法查看GLIBC版本。
    • 方式一:在主机上执行如下命令查看GLIBC版本。例如示例回显GLIBC版本为2.28。(示例仅供参考,请以实际版本号为准)
      ldd --version

    • 方式二:在主机上执行如下命令查看GLIBC版本。例如示例回显GLIBC版本为2.28。(示例仅供参考,请以实际版本号为准)
      ls -alh /usr/lib64/ | grep -i libc.so.6

    • 方式三:在主机上执行如下命令查看GLIBC版本。例如示例回显GLIBC版本为2.28。(示例仅供参考,请以实际版本号为准)
      ls -alh /lib64/  | grep -i libc.so.6

  2. 若Linux操作系统的GLIBC版本低于安装ICAgent所需的版本要求,详细请参考表1,可以按照以下步骤操作:
    1. 在LTS控制台的“安装ICAgent”页面复制安装命令。
      图1 复制安装命令
    2. 在安装命令set -o history前面增加一个参数-agentVersion XXX,其中XXX在版本列表里面查找满足您节点GLIBC版本的最大的ICAgent版本。

      例如GLIBC版本为2.12,安装ICAgent支持GLIBC版本2.12的版本为7.3.X,您可以在版本列表中查找7.3.X的最大版本号,然后进行补充。更多版本信息请参考查看ICAgent版本说明

      set +o history;curl https://icagent-cn-north-4.obs.cn-north-4.myhuaweicloud.com/ICAgent_linux/apm_agent_install.sh > apm_agent_install.sh && REGION=cn-north-4 bash apm_agent_install.sh -ak {input_your_ak} -sk {input_your_sk} -region cn-north-4 -projectid 0f1d63462100f3242f31c00a4a1d35ea -accessip 100.125.12.150 -obsdomain obs.cn-north-4.myhuaweicloud.com -accessdomain lts-access.cn-north-4.myhuaweicloud.com   -aomvpcepurl aom-access.cn-north-4.myhuaweicloud.com -ltsvpcepurl lts-access.cn-north-4.myhuaweicloud.com;-agentVersion XXX set -o history;

操作系统限制

  • 对于Linux x86_64服务器,详细请参考表2
  • 对于Linux ARM服务器,CentOS操作系统仅支持7.4及其以上版本,表2所列的其他操作系统对应版本均支持。
  • 对于Windows服务器,详细请参考表3
表2 LTS支持的操作系统及版本(Linux)

操作系统

版本

SUSE

  • SUSE Enterprise 11 SP4 64bit
  • SUSE Enterprise 12 SP1 64bit
  • SUSE Enterprise 12 SP2 64bit
  • SUSE Enterprise 12 SP3 64bit

openSUSE

  • 13.2 64bit
  • 42.2 64bit
  • 15.0 64bit(该版本暂不支持syslog日志采集)

EulerOS

  • 2.2 64bit(系统已经EOS,后续不支持)
  • 2.3 64bit(系统已经EOS,后续不支持)
  • 2.5 64bit
  • 2.9 64bit
  • 2.10 64bit

CentOS

  • 6.3 64bit
  • 6.5 64bit
  • 6.8 64bit
  • 6.9 64bit
  • 6.10 64bit
  • 7.1 64bit
  • 7.2 64bit
  • 7.3 64bit
  • 7.4 64bit
  • 7.5 64bit
  • 7.6 64bit
  • 7.7 64bit
  • 7.8 64bit
  • 7.9 64bit
  • 8.0 64bit
  • 8.1 64bit
  • 8.2 64bit

Ubuntu

  • 14.04 server 64bit
  • 16.04 server 64bit
  • 18.04 server 64bit
  • 24.04 server 64bit

Fedora

  • 24 64bit
  • 25 64bit
  • 29 64bit

Debian

  • 7.5.0 32bit
  • 7.5.0 64bit
  • 8.2.0 64bit
  • 8.8.0 64bit
  • 9.0.0 64bit
  • 11.1.0 64bit
  • 12.0.0 64bit
表3 LTS支持的操作系统及版本(Windows)

操作系统

版本

Windows(64位)

Windows Server 2019

Windows Server 2016 R2 Datacenter

Windows Server 2016 R2 Standard

Windows Server 2016 Datacenter English

Windows Server 2016 R2 Standard English

Windows Server 2012 R2 Datacenter

Windows Server 2012 R2 Standard

Windows Server 2012 Datacenter English

Windows Server 2012 R2 Standard English

Windows Server 2008 R2 Enterprise

Windows Server 2008 R2 Standard

Windows Server 2008 Enterprise English

Windows Server 2008 R2 Standard English

Windows Server 2022

相关文档