HP服务器Linux下hpacucli常用命令

HP服务器官方管理工具hpacucli,通过该工具可以查看HP服务器的Raid状态是否正常(如果Raid卡出问题,会影响数据的读写速度),服务器硬盘是否正常(如果硬盘坏掉,严重的情况会丢失数据),服务器电源是否有故障等信息。

HP服务器官方管理工具hpasmcli,通过该工具可以很详细查看服务器CPU,内存,处理器,电源等的温度信息。

硬件状态信息获取:
1)安装hpacucli(下载地址:HP hpacucli工具)

------------------------------------------分割线------------------------------------------

可以到Linux公社1号FTP服务器下载

FTP地址:ftp://ftp1.linuxidc.com

用户名:ftp1.linuxidc.com

密码:

在 2017年LinuxIDC.com/5月/HP服务器Linux下hpacucli常用命令/

下载方法见

------------------------------------------分割线------------------------------------------ 

[root@localhost ~]# rpm -ivh hpacucli-9.40-12.0.x86_64.rpm

2)查看服务器RAID、硬盘是否正常。
[root@localhost ~]# hpacucli ctrl all show config
[root@localhost ~]# hpacucli ctrl all show config detail 可以详细地查看RAID和硬盘的信息

[root@localhost ~]# hpacucli ctrl all show config
 
Smart Array E200i in Slot 0 (Embedded)    (sn: PR97MP2834    )
 
  array A (SAS, Unused Space: 0  MB)
 
 
      logicaldrive 1 (558.7 GB, RAID 5, OK)
 
      physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 300 GB, OK)
      physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 300 GB, OK)
      physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 300 GB, OK)
 
[root@localhost ~]# hpacucli ctrl all show config detail
 
Smart Array E200i in Slot 0 (Embedded)
  Bus Interface: PCI
  Slot: 0
  Serial Number: PR97MP2834     
  Cache Serial Number: P75B20C9SRO5BQ
  RAID 6 (ADG) Status: Disabled
  Controller Status: OK
  Hardware Revision: A
  Firmware Version: 1.82
  Rebuild Priority: Medium
  Expand Priority: Medium
  Surface Scan Delay: 15 secs
  Surface Scan Mode: Idle
  Post Prompt Timeout: 0 secs
  Cache Board Present: True
  Cache Status: Temporarily Disabled
  Cache Status Details: Cache disabled; low batteries.
  Cache Ratio: 50% Read / 50% Write
  Drive Write Cache: Disabled
  Total Cache Size: 128 MB
  Total Cache Memory Available: 96 MB
  No-Battery Write Cache: Disabled
  Cache Backup Power Source: Batteries
  Battery/Capacitor Count: 1
  Battery/Capacitor Status: Failed (Replace Batteries)
  SATA NCQ Supported: False
 
  Array: A
      Interface Type: SAS
      Unused Space: 0  MB
      Status: OK
      Array Type: Data
 
 
 
      Logical Drive: 1
        Size: 558.7 GB
        Fault Tolerance: 5
        Heads: 255
        Sectors Per Track: 32
        Cylinders: 65535
        Strip Size: 64 KB
        Full Stripe Size: 128 KB
        Status: OK
        Caching:  Enabled
        Parity Initialization Status: Initialization Completed
        Unique Identifier: 600508B1001038333420202020200004
        Disk Name: /dev/cciss/c0d0
        Mount Points: /boot 200 MB, / 542.5 GB
        OS Status: LOCKED
        Logical Drive Label: A0100C5FPR97MP2834    2E7A
        Drive Type: Data
 
      physicaldrive 1I:1:2
        Port: 1I
        Box: 1
        Bay: 2
        Status: OK
        Drive Type: Data Drive
        Interface Type: SAS
        Size: 300 GB
        Rotational Speed: 10000
        Firmware Revision: HPDE
        Serial Number: 6SE24FXD0000B124L36W
        Model: HP      EG0300FAWHV     
        PHY Count: 2
        PHY Transfer Rate: 3.0Gbps, Unknown
 
      physicaldrive 1I:1:3
        Port: 1I
        Box: 1
        Bay: 3
        Status: OK
        Drive Type: Data Drive
        Interface Type: SAS
        Size: 300 GB
        Rotational Speed: 10000
        Firmware Revision: HPDE
        Serial Number: 6SE27HWB0000B124KXPQ
        Model: HP      EG0300FAWHV     
        PHY Count: 2
        PHY Transfer Rate: 3.0Gbps, Unknown
 
      physicaldrive 1I:1:4
        Port: 1I
        Box: 1
        Bay: 4
        Status: OK
        Drive Type: Data Drive
        Interface Type: SAS
        Size: 300 GB
        Rotational Speed: 10000
        Firmware Revision: HPDD
        Serial Number: 6SE0KNEM0000B1012K5S
        Model: HP      EG0300FAWHV     
        PHY Count: 2
        PHY Transfer Rate: 3.0Gbps, Unknown
 
 
[root@localhost ~]#

硬件温度信息获取:

1)安装hpasmcli
[root@localhost ~]# rpm -ivh hp-health-9.40-1602.44.rhel6.x86_64.rpm

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/2530457ec442a32228b769d225dd1703.html