본문 바로가기
OS-OE Knowledge/Virtualization KB

vSphere 5.x/Online Array 정보 확인 및 ADU report 취합

by 스쳐가는인연 2015. 9. 5.

Array 정보 확인 (VMware)

1. Copy HP ESXi Utilities Offline Bundle to datastore

HP ESXi Utilities Offline Bundle for VMware vSphere 5.5

2.2(30 Mar 2015)

http://ftp.hp.com/pub/softlib2/software1/pubsw-windows/p2128318412/v97967/hp-HPUtil-esxi5.5-bundle-2.2-16.zip

 

2. Connect VMware Console via ssh

 

3. Install HP ESXi Utilities Offline Bundle

Example:

~# cd /vmfs/volumes/datastoreX/"Bundle Depot path"/

~# esxcli software vib install -d /vmfs/volumes/datastoreX/"Bundle Depot path"/"hp-HPUtil-esxi5.5-bundle-2.2-16.zip"

~# esxcli software vib install -d /vmfs/volumes/55de5576-c5e4aa60-e6db-9cb65490b9ec/Depot/hp-HPUtil-esxi5.5-bundle-2.2-16.zip

 

4. Check array status

Example:

~# esxcli hpssacli cmd -q "controller all show config detail"


** ESXi Host에서 ADU report 취합 시도 >> 실패


~# esxcli hpssacli cmd -q "controller all diag”

Error: An ADU report cannot be generated in VMware ESXi using the diag command due to limitations of the operating system. You must use the HPSSADUESXI utility executed from a remote machine in order to obtain the report.


ADU Report 취합 

Linux(RHEL 6.x)

5. Install VMware vSphere CLI and hpssaducli on RHEL

HP Smart Storage Administrator Diagnostic Utility (HP SSADU) CLI for Linux 64-bit (American, International)

2.20-11.0(15 Jun 2015)

http://ftp.hp.com/pub/softlib2/software1/pubsw-linux/p219801368/v104433/hpssaducli-2.20-11.0.x86_64.rpm

 

VMware vSphere CLI 5.5 Update 2

https://my.vmware.com/kr/web/vmware/details?downloadGroup=VCLI55U2&productId=352

 

Example:

[root@localhost bin]# ls /tmp

hpssaducli-2.20-11.0.x86_64.rpm  VMware-vSphere-CLI-5.5.0-2043780.x86_64.tar.gz  yum.log

 

[root@localhost tmp]# rpm -Uvh hpssaducli-2.20-11.0.x86_64.rpm

Preparing...                ########################################### [100%]

   1:hpssaducli             ########################################### [100%]

 

[root@localhost tmp]# tar –xvf VMware-vSphere-CLI-5.5.0-2043780.x86_64.tar.gz

[root@localhost tmp]# cd vmware-vsphere-cli-distrib/

[root@localhost vmware-vsphere-cli-distrib]# ./vmware-install.pl

 

** Can’t install without openssl-devel-*.el6.x86_64.rpm

If occurred openssl-devel related error ----

Fix :

# yum install openssl-devel

-------------------------------------------------

 

# /opt/hp/hpssaducli/bin/hpssaduesxi --server=ip_address --user=root --password=password /tmp/ip_address-adurpt.zip

 

If occurred below error ------------

sh: /usr/bin/esxcli: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

Fix :

# yum install ld-linux.so.2

---------------------------------------

 

If occurred below error ------------

HPSSADUESXI requires the use of the vSphere CLI (esxcli) client application. Make certain that this client has been installed

and is available from this directory. If vSphere CLI has been installed, check the correctness of the inputted parameters.

 

# vim ADUReportESXi.enc

Connect to 16.153.218.148 failed: Cannot complete login due to an incorrect user name or password.

 

Fix :

[root@localhost ~]# export VI_SERVER=esxi_host_ip_address

[root@localhost ~]# export VI_USERNAME=root

[root@localhost ~]# export VI_PASSWORD=password

[root@localhost tmp]# /opt/hp/hpssaducli/bin/hpssaduesxi ip_address-adurpt.zip

 

Retrieving report... Decoding... ip_address-adurpt.zip saved.

[root@localhost tmp]# ls esxi_host_ip_address-adurpt.zip

ip_address-adurpt.zip

---------------------------------------


Windows

VMware vSphere CLI 5.5 Update 2

VMware-vSphere-CLI-5.5.0-2043780.exe

 

HP Smart Storage Administrator Diagnostic Utility (HP SSADU) CLI for Windows 64-bit

2.20.11.0(15 Jun 2015)

http://ftp.hp.com/pub/softlib2/software1/sc-windows/p2024036775/v104449/cp025538.exe

 

1. 환경변수 구성(ssaduclivSphere CLI 경로 추가)

C:\> set path=C:\Program Files\hp\hpssaducli\bin\;C:\Program Files (x86)\VMware\VMware vSphere CLI\bin
C:\> set path=%PROGRAMFILES%\hp\hpssaducli\bin\;%PROGRAMFILES(X86)%\VMware\VMware vSphere CLI\bin

 

2. 변수 구성

C:\> set VI_SERVER=esxi_host_ip_address

C:\> set VI_USERNAME=root

C:\> set VI_PASSWORD=password

 

3. 명령 수행

hpssaduesxi.exe esxi_host_ip_address-adurpt.zip 


참고자료.

HP VMware Utilities User Guide VMware vSphere 5.5 U2 for March 2015

http://h41302.www4.hp.com/km/saw/view.do?docId=emr_na-c04620881

반응형