Please enter search query.
Search <book_title>...
APTARE IT Analytics Data Collector 说明和故障排除
Last Published:
2022-07-15
Product(s):
APTARE IT Analytics (10.6)
- Data Collector 故障排除
- 主机资源:使用标准 SSH 检查主机连接
- 主机资源:生成主机资源配置文件
- 配置 SSH 的参数
- 防火墙配置:默认端口
- CRON 表达式和探测计划
- 使用 VCS 和 Veritas NetBackup 为 Data Collector 构建群集 (RHEL 7)
- 使用 VCS 和 Veritas NetBackup 为 Data Collector 构建群集 (Windows)
- 防火墙配置:默认端口
- CRON 表达式和探测计划
数据收集器群集构建快速入门
在连接到活动节点的共享卷上安装 Veritas NetBackup Data Collector。
在同一节点上,通过运行以下命令删除启动脚本:
# find /etc -name "*aptare*"
手动删除以下文件:
/etc/rc.d/rc0.d/K30aptare_agent /etc/rc.d/rc3.d/S80aptare_agent /etc/rc.d/rc3.d/K40aptare_agent /etc/rc.d/rc5.d/S80aptare_agent /etc/rc.d/rc5.d/K40aptare_agent
使用 aptareagent 门户在所有群集节点上的 IP 和主机名映射更新 /etc/hosts 文件。
使用 Veritas Infoscale Availability (VCS),为代理创建单独的服务组。以下一组屏幕截图显示了 VCS 中的可视表示。有多种方法可以设置配置。以下说明使用 main.cf 进行设置。
请参见Main.cf。
在所有群集节点上,使用以下内容创建文件
/opt/aptare_scripts/aptare_dc_monitor.sh
。确保为作为所有者的 root 用户提供对该文件的执行权限。#!/bin/sh # APTARE_HOME should be set to the base path where aptare # data-colletor is installed APTARE_HOME="/aptare_vol" # Exit codes that VCS understands E_APTARE_IS_ONLINE=110 E_APTARE_IS_OFFLINE=100 E_APTARE_IS_UNKNOWN=99 SCRIPT="${APTARE_HOME}/mbs/bin/aptare_agent" if [ ! -f ${SCRIPT} ]; then exit $E_APTARE_IS_OFFLINE fi ${SCRIPT} status | grep 'WatchDog is running' >/dev/null 2>&1 ret=$? if [ "$ret" -eq "0" ]; then exit $E_APTARE_IS_ONLINE else /usr/bin/ps -ef | grep -v grep | grep -i aptare | grep UpgradeManager > /dev/null 2>&1 upgrademanager_running=$? if [ "${upgrademanager_running}" -eq "0" ]; then exit $E_APTARE_IS_UNKNOWN fi exit $E_APTARE_IS_OFFLINE fi