b110i linux raid,hp raid卡

hpacucli Supported Controllers

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

hpssacli Supported Controllers

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

Hp raid卡

判断服务器是否为hp raid卡

[root@hp45 ~]#lspci | grep RAID

02:00.0 RAID bus controller: Hewlett-Packard Company Smart Array Gen8 Controllers (rev 01)

使用软件为 hpacucli 软件下载地址:http://h20565.www2.hp.com/portal/site/hpsc/public/ 输入HP Array Configuration Utility CLI for Linux 64-bit搜索

http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/?spf_p.tpst=swdMain&spf_p.prp_swdMain=wsrp-navigationalState%3DswItem%253DMTX_9a45caa3b8be46398c1bd4d016&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken

hpacucli-9.40-12.0.x86_64.rpm

hpssacli软件下载地址:http://ftp.hp.com/pub/softlib2/software1/pubsw-linux/p215599048/v100519/hpssacli-2.0-23.0.x86_64.rpm

ubuntu安装:

下载hpacucli-9.40-12.0.x86_64.rpm包。

然后安装alien 命令:apt-get install alien

把rpm包转换成deb包:alien --scripts hpacucli-9.40-12.0.x86_64.rpm

hpacucli_9.40-13_amd64.deb

再安装deb包:dpkg -i hpacucli_9.40-13_amd64.deb

安装成功,但是会有如下提示:

DOWNGRADE

NOTE: To downgrade this application to any version prior to 9.10.x.x,

the current RPM must be manually uninstalled using the "rpm -e" command

before any prior versions can be installed.

LOCKING NOTE: The locking mechanism starting with versions 9.10.X.X,

are not compatible with prior versions of the applications. Therefore,

mixing older and newer versions of the various applications (ACU,

HPACUCLI, HPACUSCRIPTING) is not recommended.

在h3c r690机器上面,使用hpacucli获取不到控制器。所以需要使用hpssacli工具。安装方法同hpacucli。

如果机器上面安装过hpssacli命令并且使用hpssacli命令配置过raid.再次使用hpacucli命令会报错。提示为已经用新版本工具修改过配置文件,不能再使用这个版本。需要更新。

命令组成

hpacucli [parameter=value]

查看:查看所有控制器状态

hpacucli ctrl all show

查看slot 0阵列信息详细状态

hpacucli ctrl slot=0 show config detail

查看slot 0 所有阵列信息

hpacucli ctrl slot=0 array all show

查看slot 0 阵列B 所有逻辑驱动器信息

hpacucli ctrl slot=0 array B ld all show

查看slot 0 阵列B 所有物理驱动器信息

hpacucli ctrl slot=0 array B pd all show

查看slot 0 阵列B 所有物理驱动器状态

hpacucli ctrl slot=0 array B pd all show status

创建:用3,4,5,6号盘创建一个raid1+0阵列

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号盘创建一个raid5阵列

hpacucli ctrl slot=0 create type=ld drives=1I:1:3,1I:1:4,2I:1:5 raid=5

用3号盘创建一个raid0阵列

hpacucli ctrl slot=0 create type=ld drives=1I:1:3 raid=0

删除:强制删除阵列 B

hpacucli ctrl slot=0 array B delete forced

强制删除逻辑磁盘2

hpacucli ctrl slot=0 logicaldrive 2 delete forced

缓存:关闭物理磁盘cache

hpacucli ctrl slot=0 modify drivewritecache=disable

打开逻辑磁盘缓存

hpacucli ctrl slot=0 logicaldrive 2 modify caching=enable

在没有电池的情况下开启raid写缓存

hpacucli ctrl slot=0 modify nobatterywritecache=enable

设置读写百分比

hpacucli ctrl slot=0 modify cacheratio=10/90

指示灯:打开array B磁盘的led灯

hpacucli ctrl slot=0 array B modify led=on

打开3号磁盘的led灯

hpacucli ctrl slot=0 pd 1I:1:3 modify led=on

查看cache信息:

hpacucli ctrl all show config detail | grep -i cacheCache Serial Number: PBKUC0BRH5L0F3

Wait for Cache Room: Disabled

Cache Board Present: True

Cache Status: OK                       --cache状态

Cache Ratio: 10% Read / 90% Write                 --cache百分比

Drive Write Cache: Disabled                        --磁盘cache

Total Cache Size: 1024 MB

Total Cache Memory Available: 816 MB

No-Battery Write Cache: Disabled                   --没有电池时写缓存

Cache Backup Power Source: Capacitors

Cache Module Temperature (C): 36

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Zabbix监控HP服务器硬件信息:HP的服务器在硬件管理方面提供了自己管理工具hpacucli,通过该工具可以查看HP服务器的RAID信息,服务器硬盘等信息。 rpm -ivh hpacucli-9.40-12.0.x86_64.rpm hpacucli ctrl all show config 查看服务器RAID信息,硬盘是否正常。 通过hpacucli ctrl all show config detail命令可以详细地查看RAID和硬盘的信息。 HP官方还有一个hpasmcli管理工具,可以很详细查看服务器CPU,内存,处理器,电源等的温度信息。 1)安装hpasmcli工具(下载地址:HP hpasmcli管理工具) rpm -ivh hp-health-9.40-1602.44.rhel6.x86_64.rpm 通过hpasmcli -s 'show'查看类似于help的帮助信息,监控的时候要重点关注 DIMM(内存)、FANS(风扇)、POWERSUPPLY(电源模块)、SERVER(系统)、CPU、TEMP(温度)等信息。 [root@monitor ~]# hpasmcli -s 'show'Invalid Arguments Zabbix监控总结起来有两种思路:第一就是server通过agentd方式获取数据,这种方式需要定义UserParameter参数,即KEY。第二就是server通过trapper的方式获取数据,即agentd将数据主动sender给server或者proxy。我这里是通过第二种traper的方式监控的。第一种方式server有时候会取不到数据,became not supported: Received value [] is not suitable for value type [Numeric (unsigned)] and data type [Decimal], 会产生上面的错误。 首先查看我监控的脚本,由于是通过traper的思路进行监控,log_file文件依次定义了要监控服务器的主机名(hostname),监控项key以及监控的值。 各种脚本网上都有,这儿主要是工具

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值