alezzandro.com

How to add a new array on VMware ESXi 5.5 using hpacucli / hpssacli

Hi there,

If you’re lucky enough to configure an HP proliant server from scratch or simply you’re ready to upgrade or replace some storage on your server maybe you’ll need some of these tricky advices!

image

First of all we have to install the necessary utilities in our VMware ESXi server, so go to the page:

https://h20566.www2.hp.com/hpsc/swd/public/detail?swItemId=MTX_34bf1c20447146c6b77b845a00

After downloading the right package we have to upload it to the ESXi server and install it using the command from ssh:

esxcli software vib install -d “/vmfs/volumes/Datastore/DirectoryName/Package.zip

I suggest you to upload it to an existing Datastore or simply using sftp.

Finally reboot the server.

After that we have to test if the storage we installed is correclty recognized by our server, so launch the command:

/opt/hp/hpacucli/bin/hpacucli

Please note that on most recent HP server the utility named hpssacli will not work, you have to use hpacucli instead.

A command line tool should bring up, after that execute the following command to list the available controllers:

controller show all

Then for listing all the available drives connected to a controller, execute:

ctrl slot=1 physicaldrive

Previous command will list all the physical drives with their respective ids.

Now for creating a new array simply use this command:

 ctrl slot=_slot_num_  create type=ld drives=drives_ids_list_comma_separated

Please note this command is partial and you should edit it according to your requirements. For more information refer to the manual.

That’s all! Have a nice day.