概念
hp的linux管理工具包分为
Service Pack for ProLiant (SPP)
http://downloads.linux.hpe.com/SDR/project/spp/
Management Component Pack(MCP)
http://downloads.linux.hpe.com/SDR/project/mcp/
区别是MCP不包含驱动和firmware固件
由于我暂时没有安装驱动和升级固件的需求,因此选择MCP,并且直接下载里面的阵列卡管理工具来安装。
ssacli  HPE Command Line Smart Storage Administration Utility
ssaducli    HPE Command Line Smart Storage Administration Diagnostics
ssa HPE Array Smart Storage Administration Service
下载
我的是centos 7.5 下载路径为
http://downloads.linux.hpe.com/SDR/repo/mcp/centos/7.5Server/x86_64/current/
安装
下载好的三个rpm包上传到服务器
直接用yum install工具安装即可
使用
平时一般只用到ssacli 命令行管理工具
查看配置
查看控制器配置
ssacli ctrl all show status
查看详细的配置
ssacli ctrl all show detail config
查看状态
查看控制器状态
ssacli controller all show status
Smart Array P410 in Slot 2
   Controller Status: OK
   Cache Status: OK
   Battery/Capacitor Status: OK查看逻辑卷状态
ssacli controller slot=2 logicaldrive all show status
   logicaldrive 1 (18.19 TB, RAID 50): OK查看物理盘状态
ssacli controller slot=2 physicaldrive all show status
   physicaldrive 2I:1:1 (port 2I:box 1:bay 1, 2 TB): OK
   physicaldrive 2I:1:2 (port 2I:box 1:bay 2, 2 TB): OK
   physicaldrive 2I:1:3 (port 2I:box 1:bay 3, 2 TB): OK
   physicaldrive 2I:1:4 (port 2I:box 1:bay 4, 2 TB): OK
   physicaldrive 2I:1:5 (port 2I:box 1:bay 5, 2 TB): OK
   physicaldrive 2I:1:6 (port 2I:box 1:bay 6, 2 TB): OK
   physicaldrive 2I:1:7 (port 2I:box 1:bay 7, 2 TB): OK
   physicaldrive 2I:1:8 (port 2I:box 1:bay 8, 2 TB): OK
   physicaldrive 2I:1:9 (port 2I:box 1:bay 9, 2 TB): OK
   physicaldrive 2I:1:10 (port 2I:box 1:bay 10, 2 TB): OK
   physicaldrive 2I:1:11 (port 2I:box 1:bay 11, 2 TB): OK
   physicaldrive 2I:1:12 (port 2I:box 1:bay 12, 2 TB): OK创建raid
创建一个raid1
ssacli ctrl slot=0 create type=ld drives=1I:1:3,1I:1:4 raid=1
查看已经创建的盘
fdisk -l
再次查看RAID卡的信息 :
ssacli ctrl all show detail config
参考
在 CentOS 7 安裝 HP 伺服器管理工具
http://ajax-chen.blogspot.com/2019/09/centos-7-hp.html
Guide to installing HP System Management Tools CentOS 7
https://forums.centos.org/viewtopic.php?t=55506
© 2020, 新之助meow. 原创文章转载请注明: 转载自http://www.xinmeow.com