-
hpssacli hpssacli-2.0-22.0.x86_64.rpm下载
资源介绍
HP官网下载的磁盘阵列操作工具,直接下载,在Linux上安装使用
hpacucli、hpssacli 是HP服务器特有的阵列卡管理工具,官方提供的rpm包直接安装即可使用。hpacucli工具支持的阵列卡型号如下:
Smart Array products:
Smart Array 5312 Controller
Smart Array 5302 Controller
Smart Array 5304 Controller
Smart Array 532 Controller
Smart Array 5i Controller
Smart Array 641 Controller
Smart Array 642 Controller
Smart Array 6400 Controller
Smart Array 6400 EM Controller
Smart Array 6i Controller
Smart Array P600 Controller
Smart Array P400 Controller
Smart Array P400i Controller
Smart Array E200 Controller
Smart Array E200i Controller
Smart Array P800 Controller
Smart Array E500 Controller
Smart Array P700m Controller
Smart Array P410i Controller
Smart Array P411 Controller
Smart Array P212 Controller
Smart Array P712m Controller
Smart Array B110i SATA RAID
Smart Array P812 Controller
Smart Array P220i Controller
Smart Array P222 Controller
Smart Array P420 Controller
Smart Array P420i Controller
Smart Array P421 Controller
Smart Array P822 Controller
Smart Array P721m Controller
Dynamic Smart Array B320i RAID
Dynamic Smart Array B120i RAID
MSA products:
MSA500 Controller
MSA500 G2 Controller
MSA1000 Controller
MSA1500 CS Controller
MSA20 Controller
命令用法如下:
hpacucli ctrl all show config detail 查看阵列详细信息、配置
hpacucli ctrl all show 查看所有控制器状态
hpacucli ctrl slot=0 show config detail 查看slot 0阵列信息详细状态
hpacucli ctrl slot=0 logicaldrive 2 show 逻辑磁盘信息
hpacucli ctrl slot=0 physicaldrive 1I:2:1 show(物理磁盘信息)
hpacucli ctrl slot=0 create type=ld drives=1I:1:3,1I:1:4,2I:1:5,2I:1:6 raid=1+0 用3,4,5,6号盘创建一个raid1+0阵列
hpacucli ctrl slot=0 create type=ld drives=1I:1:3,1I:1:4,2I:1:5 raid=5 用3,4,5号盘创建一个raid5阵列
hpacucli ctrl slot=0 create type=ld drives=1I:1:3 raid=0 用3号盘创建一个raid0阵列
hpacucli ctrl slot=0 array B delete forced 强制删除阵列 B
hpacucli ctrl slot=0 logicaldrive 2 delete forced 强制删除逻辑磁盘2
hpacucli ctrl slot=0 logicaldrive 2 modify caching=enable 打开逻辑磁盘缓存
HPSSACLI
hpssacli支持的阵列卡型号如下:
Smart Array P410i Controller
Smart Array P411 Controller
Smart Array P212 Controller
Smart Array P712m Controller
Smart Array B110i SATA RAID
Smart Array P812 Controller
Smart Array P220i Controller
Smart Array P222 Controller
Smart Array P420 Controller
Smart Array P420i Controller
Smart Array P421 Controller
Smart Array P822 Controller
Smart Array P721m Controller
Dynamic Smart Array B320i RAID
Dynamic Smart Array B120i RAID
Smart Array P430 Controller
Smart Array P431 Controller
Smart Array P731m Controller
Smart Array P230i Controller
Smart Array P530 Controller
Smart Array P531 Controller
Smart Array P830 Controller
Smart Array P830i Controller
命令用法如下:
hpssacli ctrl all show status 查看raid卡信息(包括控制器状态、Cache状态、电池状态)
hpssacli ctrl slot=0 show config detail 查看raid详细信息
hpssacli ctrl slot=0 ld all show 查看raid状态
hpssacli ctrl slot=0 pd all show status 查看物理硬盘状态
hpssacli ctrl slot=0 pd all show 查看物理硬盘
hpssacli ctrl slot=0 array A ld all show 查看slot 0 阵列A 所有逻辑驱动器信息
hpssacli ctrl slot=0 array A pd all show 查看slot 0 阵列A 所有物理驱动器信息
hpssacli ctrl slot=0 create type=ld drives=all raid=0 所有磁盘创建raid0
hpssacli ctrl slot=0 create type=ld drives=1I:1:3,1I:1:4,2I:1:5,2I:1:6 raid=1+0 创建raid10
hpssacli ctrl slot=0 create type=ld drives=1I:1:3,1I:1:4,2I:1:5 raid=5 用3,4,5号盘创建一个raid5阵列
hpssacli ctrl slot=1 create type=ld drives=1I:1:1-1I:1:2 raid=1 创建raid1
hpssacli ctrl slot=1 array B delete forced 删除raid
hpssacli ctrl slot=0 ld all delete 删除所有配置