Ubuntu 监控惠普服务器的整列和硬盘

echo "deb http://downloads.linux.hp.com/downloads/ManagementComponentPack/ubuntu/ precise current/non-free" >> /etc/apt/sources.list

apt-get update

apt-get install hpacucli

####################################
####hpacucli ctrl all show config###   命令
####################################


Smart Array P420 in Slot 1              

Note: Predictive Spare Activation Mode is enabled, physical drives that are in predictive failure state will not be available for use as data or spare drives.

  (sn: PDKRH0ARH4P4FM)

   array A (Solid State SATA, Unused Space: 0  MB)


      logicaldrive 1 (223.5 GB, RAID 1, Interim Recovery Mode)

      physicaldrive 1I:1:1 (port 1I:box 1:bay 1, Solid State SATA, 240.0 GB, Failed)
      physicaldrive 1I:1:2 (port 1I:box 1:bay 2, Solid State SATA, 240.0 GB, OK)

   array B (SATA, Unused Space: 0  MB)


      logicaldrive 2 (2.7 TB, RAID 1, OK)

      physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SATA, 3 TB, OK)
      physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SATA, 3 TB, OK)

   SEP (Vendor ID PMCSIERA, Model SRCv8x6G) 380 (WWID: 5001438026AF76CF)
   
   
  很明显的看到 哥们我坏了一块SSD  尼玛。。。


你可能感兴趣的:(Ubuntu 监控惠普服务器的整列和硬盘)