Monday 13 July 2015

Check the RAID rebuild status with hpacucli from ESXI on HP Servers

* Note: HP does provide a customized version of ESXI - which already contains the relevent libraries required to perform the check - if you already have them installed please refer to the 'hpacucli' command at the bottom of this post.

Firstly download the HP ESXi Utilities Offline Bundle for VMware vSphere 6.0 from:

http://h20564.www2.hp.com/hpsc/swd/public/detail?swItemId=MTX_0838c22ed1c345968031a22ba0

Turn off all VM's on the server and put the server into maintainence mode.

* Ensure SSH is enabled (and running) on the ESXI host *

Upload the ESXI Utilities bundle via SFTP and SSH into ESXI and run the following command:

esxcli software vib install -d /path/to/buindle/esxi-offline-bundle.zip

Now you should reboot the ESXI host.

Again SSH into the ESXI host and we can now check the controller status with:

esxcli hpssacli cmd -q "controller all show status"

and the disk statuses with:

esxcli hpssacli cmd -q "ctrl slot=0 pd all show status"

and to verify the RAID rebuild status we use:

esxcli hpssacli cmd -q "ctrl slot=0 ld 2 show"

From the output we can should look for the "Status: Transforming, XX.XX%" to identify how the progress of the RAID rebuild is doing.

0 comments:

Post a Comment