操作系统限制
LTS日志采集支持多个操作系统,在购买主机时您需选择LTS支持的操作系统和GLIBC版本,否则无法使用LTS对主机日志进行采集。
GLIBC版本限制
在主机上安装ICAgent前,必须确认ICAgent版本和GLIBC版本满足要求,详细请参考表1。若不满足要求,则无法安装ICAgent。
- 建议您在安装前参考如下方法查看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
- 方式一:在主机上执行如下命令查看GLIBC版本。例如示例回显GLIBC版本为2.28。(示例仅供参考,请以实际版本号为准)
- 若Linux操作系统的GLIBC版本低于安装ICAgent所需的版本要求,详细请参考表1,可以按照以下步骤操作:
- 在LTS控制台的“安装ICAgent”页面复制安装命令。
图1 复制安装命令
- 在安装命令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;
- 在LTS控制台的“安装ICAgent”页面复制安装命令。
操作系统限制
- 对于Linux x86_64服务器,详细请参考表2。
- 对于Linux ARM服务器,CentOS操作系统仅支持7.4及其以上版本,表2所列的其他操作系统对应版本均支持。
- 对于Windows服务器,详细请参考表3。
操作系统 |
版本 |
---|---|
SUSE |
|
openSUSE |
|
EulerOS |
|
CentOS |
|
|
|
|
|
Ubuntu |
|
Fedora |
|
Debian |
|
操作系统 |
版本 |
---|---|
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 |