Hi, I rarely use esxi shell, so I'm sure it's a noob question, sorry .
I want to add some disks to my array (DL380 Gen8 - P420i smart array). In the past I managed it through the Array Configuration Utility by rebooting the host. Now I'm aware of the HPSSACLI utility that lets me do the job online.
My esxi image is HPE customized (https://my.vmware.com/web/vmware/details?downloadGroup=OEM-ESXI55U3B-HPE&productId=353) and from my readings what is needed to run the utility should already be installed. I queried for .VIBs and I got:
~ # esxcli software vib list | grep 'hpssacli\|scsi-hpvsa'
hpssacli 2.40.13.0-5.5.0.1198611 HPE PartnerSupported 2016-05-13
scsi-hpvsa 5.5.0.100-1OEM.550.0.0.1331820 Hewlett-Packard PartnerSupported 2016-05-13
If I go to /opt/hp/hpssacli/bin/ and I type hpssacli I get:
/opt/hp/hpssacli/bin # hpssacli
-sh: hpssacli: not found
What am I missing? Thank you. Francesco
Looks like you have to specify it by full path: /opt/etc/etc/hpssacli
Is hpssacli in the bin directory?
in the bin directory I have:
/opt/hp/hpssacli/bin # ls
hpssacli hpssacli_esx
ls -lah in /opt/hp/hpssacli/bin and provide output.
/opt/hp/hpssacli/bin # ls -lah
total 16300
drwxr-xr-x 1 root root 512 Jan 5 11:44 .
drwxr-xr-x 1 root root 512 Jan 5 11:44 ..
-r-xr-xr-x 1 root root 15.9M Nov 4 2015 hpssacli
-r-xr-xr-x 1 root root 335 Nov 4 2015 hpssacli_esx
And if you're in that directory you cannot execute: hpssacli --help ??
Exactly.
/opt/hp/hpssacli/bin # hpssacli --help
-sh: hpssacli: not found
What about .hpssacli --help (leading dot)
It's the same:
/opt/hp/hpssacli/bin # .hpssacli
-sh: .hpssacli: not found
I forgot to say that I have the same behavior on the second host too.
Looks like you have to specify it by full path: /opt/etc/etc/hpssacli
Here we go. It works. It neither can be run in interactive mode:
~ # /opt/hp/hpssacli/bin/hpssacli
ERROR: This application cannot be run in interactive mode under this environment.
It works only with full path and full command specified like:
~ # /opt/hp/hpssacli/bin/hpssacli -h
CLI Syntax
A typical HPSSACLI command line consists of three parts: etc etc etc
Thank you
If you are in that directory ./hpssacli shoud work (thats DOT SLASH hpssacli)
Yes, I confirm that either in that way it works! Thanks to you too .
If possible, to avoid opening another discussion, do you know if using hpssacli is supported also for array expansion when using StoreVirtual VSA as storage (you know, the HP software defined storage solution)? I'd want to use it to add some disks to the host arrays on which there is a two nodes StoreVirtual VSA cluster. Or HP VSA requires the VSA VM to be powered off before adding physical disks to the underlying storage?
Francesco
I don't know about that one specifically (maybe MBeidenbach0 does), but my personal thought would be to err on the side of caution and do it with the VSA powered down. In my experience with other hosts and storage solutions, an online array expansion can produce some instability and even PSODs. So unless you can test it in a dev environment to know for sure, I wouldn't risk it. Just my personal opinion there.
Thank you for the advice. I'm performing the expansion offline
Bye,
Francesco