# DellEMC XtremIO Service Manual

rear view

# Technician Advisor and XtremIO Software Interoperability Matrix

Technician Advisor is supported on an XtremIO X1 cluster type only.

FeatureSupported XtremIO XIOS VersionsNotes
Battery Backup Unit ReplacementVersions 2.4.3-2 through 4.0.27-1

# BBU_expiration_check.py

目的
脚本 BBU_expiration_check.py 的目的是显示直到 BBU 电池到期为止的天数。

支持
该脚本支持运行 XIOS 4.0.27 和更高版本的 X1 集群。
该脚本仅支持 BBU Eaton 5P 1550 模型(不支持演进模型)。

  1. 从本文下载 BBU_expiration_check-vX.X-s4.0.0.py.gpg 脚本

  2. 使用 xmsupload 用户和 SFTP 工具,将 BBU_expiration_check-vX.X-s4.0.0.py.gpg 脚本上载到 /images/scripts 目录下的 XMS 服务器

  3. 以 xmsadmin 身份登录 xms,以技术 tech 用户身份登录 XMCLI

    xmcli (tech)> run-script script="BBU_expiration_check-v1.0-s4.0.0.py" arguments="--help"
    13:20:24 - usage: BBU_expiration_check-v1.10-s4.0.0.py [-h] [--version]
    13:20:24 -                                             [--tech-password TECH_PASSWORD]
    13:20:24 -
    13:20:24 - optional arguments:
    13:20:24 -   -h, --help            show this help message and exit
    13:20:24 -   --version             show script version
    13:20:24 -   --tech-password TECH_PASSWORD
    13:20:24 -                         password to use with user tech
    
  4. 通过执行以下 XMCLI 命令运行 BBU_expiration_check-vX.X-s4.0.0.py.gpg 脚本(注意:无需提供 cluster-id,脚本将自动检查 XMS 管理的每个受支持群集上的每个 BBU)

    xmcli (tech)> run-script script="BBU_expiration_check-v1.0-s4.0.0.py"
    13:22:19 - 2019-03-05 13:22:16,695 INFO Starting execution of BBU_expiration_check version 1.0
    13:22:19 - 2019-03-05 13:22:17,728 INFO Checking cluster 1 xbrickdrm287-288 PSNT XIO00150201201
    13:22:39 - 2019-03-05 13:22:39,332 INFO BBU S/N G299J04283 Days remaining 1190
    13:22:44 - 2019-03-05 13:22:43,111 INFO BBU S/N G299J04284 Days remaining 1190
    

# Battery Backup Unit Replacement

处理过程就是:

  1. 使用 show-bbus 查看 BBU 状态。
  2. 使用 show-clusters-info 。
  3. 使用命令 show-clusters 获取集群的当前状态。它们应该已连接。
  4. 使用命令 show-storage-controllers 来获取存储控制器的当前状态。他们应该健康并且保持连接。
  5. 使用命令 show-storage-controllers-info 来获取存储控制器的详细状态。
  6. 将 X2-BBU 拆除,拆除过程,先断开后端的信号线移除,然后将 SC 电源从 BBU 拔出后临时接入市电,再断开其他线缆。最后更换新 BBU 后,所有线缆恢复位置,并长按前面板电源键 3 秒左右打开 BBU。
  7. 进入 XMS 命令行,首先使用 xmsadmin/Xtrem10 登陆,然后使用 **tech/X10Tech!** 用户登录,使用命令 replace-bbu bbu-id="X2-BBU" ,进行更换 BBU。
  8. 待 replace 命令完成后,使用 show-bbus 查看 BBU 状态。正常状态为 healthy、connected、enable、on 状态,且能对应上 SN 号。
  9. 此时可使用 start-cluster cluster-id=1 命令启动 cluster 回复业务,也可等待 X1-BBU 更换完成后再启动 cluster。
  10. 若步骤 9 开启了 cluster 则下面可使用 "XtremIO_Technician_Advisor" 工具按照脚本进行更换。若步骤 9 未开启 cluster 则按照以上步骤继续更换 X1-BBU 后,再启动 cluster。
Edited on