User Tools

Site Tools


raid_controller_utils

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

raid_controller_utils [2013/01/25 14:39]
root
raid_controller_utils [2014/10/22 10:05] (current)
root
Line 1: Line 1:
 ====== HP Raid Utils ====== ====== HP Raid Utils ======
 +
 +HP has replaced command tool hpacucli with hpssacli for later versions of HP Raid Controllers. This is really stupid done by HP. The genius changing a command name should be punished by whip.
 +
 +In order to get my existing scripts to work, I have created a soft link from hpacucli -> hpssacli in /usr/sbin.
  
   # hpacucli ctrl all show config   # hpacucli ctrl all show config
Line 14: Line 18:
   ​   ​
   /tmp/test is output file for result   /tmp/test is output file for result
 +
 +===== Spare drives =====
 +
 +==== Remove spare drives ====
 +
 +Remove spare drive from Array I
 +
 +  # hpacucli ctrl slot=1 array I remove spares=4E:​1:​17
 +  ​
 +==== Adding spare drives ====
 +
 +Add two global hot spares
 +
 +  # hpacucli ctrl slot=1 array all add spares=2E:​1:​18,​4E:​1:​17
  
 ===== Smartctl hints for HP smart array (CCISS driver) ===== ===== Smartctl hints for HP smart array (CCISS driver) =====
Line 150: Line 168:
 ===== List physical disks (PD) ===== ===== List physical disks (PD) =====
  
- # /​opt/​MegaRAID/​MegaCli/​MegaCli64 -PDlist -aALL+  ​# /​opt/​MegaRAID/​MegaCli/​MegaCli64 -PDlist -aALL
  
 ===== List thorough information indcluding LD & PD ===== ===== List thorough information indcluding LD & PD =====
Line 254: Line 272:
   # /​opt/​MegaRAID/​MegaCli/​MegaCli64 -AdpAllInfo -aAll                                        # /​opt/​MegaRAID/​MegaCli/​MegaCli64 -AdpAllInfo -aAll                                     
  
 +===== Battery check =====  ​
 +  # /​opt/​MegaRAID/​MegaCli/​MegaCli64 -AdpBbuCmd -aAll
 +  ​
  
raid_controller_utils.1359124785.txt.gz ยท Last modified: 2013/01/25 14:39 by root