安装 HealthCheck 版本包后,您可以通过运行以下命令来运行电池测试:
# isi healthcheck run battery_test_status -v
当您运行该命令时,它会为您提供该命令的状态名称。将该命令与 view 命令配合使用以检查状态。
示例:
# isi healthcheck run battery_test_status -v Queued evaluation to run: battery_test_status20221214T1439 # isi healthcheck view battery_test_status20221214T1439 ID: battery_test_status20221214T1439 Checklist: battery_test_status Overrides: - Parameters: {} Run Status: Completed Result: Fail Failure: CRITICAL 50 [NODE 1] battery_test_status * Battery 1 has 0 most recent test failures, threshold is 3 * Battery 1 Permanent fault status is False * Battery 1 Capacity Degradation 421234 mAh, 42.12% * Battery 1 Replacement required prior to upgrade Logs: /ifs/.ifsvar/modules/healthcheck/results/evaluations/battery_test_status20221214T1439
如果 Battery 1 capacity degradation字段为 41.99% 或更低,则可以继续升级节点固件程序包。
如果 Battery 1 capacity degradation字段等于或大于 42%, 请勿安装节点固件程序包。向支持部门提出服务请求,并请求更换电池备份单元。
在上面的示例中,您必须先创建服务请求并更换电池备份单元,然后才能继续节点固件升级。