HP ProLiant 老机型 Linux 下收集 Survey / IML / ADU

适用范围:HP ProLiant G5 – Gen9 等老机型的 Linux 系统。Gen8 及以后的服务器优先通过 iLO 下载 AHS 日志。

在 Linux 下收集 Survey、IML 和 ADU,需要先安装 HP 的系统管理工具。各工具依赖关系如下:

软件包用途是否必装
HP System Management Homepage(hpsmh)网页管理入口,ACU / Diagnostics 的图形界面依赖它必装
HP System Health Application and Command Line Utilities(hp-health)硬件监控与 hpasmcli 命令必装
HP Insight Diagnostics Online Edition(hpdiags)收集 Survey 与 IML,依赖前两个收集 Survey / IML 时装
HP Array Configuration Utility(cpqacuxe)或 HP Smart Storage Administrator(hpssa)收集 ADU 阵列诊断报告二选一

安装工具

# 1. System Management Homepage
rpm -ivh hpsmh-*.rpm
/etc/init.d/hpsmhd restart

# 2. System Health Application
rpm -ivh hp-health-*.rpm
/etc/init.d/hp-health start     # 提示 IPMI 相关错误时先重启 ipmi 服务,再 restart hp-health

# 3. Insight Diagnostics
rpm -ivh hpdiags-*.rpm

# 4. ACU(或 SSA)
rpm -ivh cpqacuxe-*.rpm          # 或 rpm -ivh hpssa-*.rpm

收集 Survey 与 IML

  1. 在服务器本机打开浏览器访问 https://127.0.0.1:2381,用系统 root 账号和密码登录 System Management Homepage。

    System Management Homepage 登录页
  2. 点击顶部“Webapps”,选择“HP Insight Diagnostics”。

    Webapps 中的 HP Insight Diagnostics
  3. 在 Survey 页面把 View Level 设为 Advanced、Categories 设为 All,点击 Save,报告保存为 survey.html(默认在桌面)。

    Survey 设置 Advanced 与 All 后保存 桌面上的 survey.html
  4. 切换到“Log”选项卡,选择“Integrated Management Log”,点击 Save,保存为 iml.html。

    Log 中的 Integrated Management Log 保存的 iml.html

收集 ADU

  1. 先在命令行启动 ACU 服务,否则 SMH 中不会出现 ACU 入口:

    cd /opt/compaq
    cpqacuxe          # 或独立运行:cpqacuxe -nosmh
  2. 登录 System Management Homepage,在 Storage 区域点击“Array Configuration Utility”。

    SMH 中的 Array Configuration Utility 入口
  3. 进入 Diagnostics,选中检测到的阵列卡(如 Smart Array P410i),点击“View Diagnostic Report”或“Generate Diagnostic Report”。浏览器拦截弹出窗口时选择允许。

    ACU Diagnostics 选择阵列卡
  4. 报告生成后点击“Save Report”,保存 report-*.zip,默认在桌面。

    保存 ADU 报告

使用 HP SSA 时:执行 hpssa -local 启动,在左侧选择 HP ProLiant → Diagnose → Array Diagnostic Report → View Diagnostic Report,然后保存。

HP SSA 的 Diagnose 页面

命令行方式(不装图形工具时)

# ADU 报告
hpaducli -f /tmp/adu-report.zip

# IML、内存、电源、CPU、风扇状态
hpasmcli -s "show iml"          >  /tmp/hpinfo.txt
hpasmcli -s "show dimm"         >> /tmp/hpinfo.txt
hpasmcli -s "show powersupply"  >> /tmp/hpinfo.txt
hpasmcli -s "show cpu"          >> /tmp/hpinfo.txt
hpasmcli -s "show fan"          >> /tmp/hpinfo.txt

没有找到想要的答案?

上传日志让 AI 帮你诊断,或者在控制台里直接向 AI 提问。