Monday 1 June 2015

Collecting hardware diagnostic logs for ESXI 5.0 hosts on HP servers

** Fornote: I do not beleive this works on ESXI 5.5/6.0+. Instead take a look at: HP Agentless Management Service Offline Bundle http://h20564.www2.hp.com/hpsc/swd/public/detail?swItemId=MTX_b05d4c644fb742aa87cb5f5da1#tab1 **

HP have provided a utility that allows you to remotely collect hardware diagnostic logs from an ESXI host.

We should firstly download the utility as below:

http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=5351&prodSeriesId=1121516&swItem=MTX-b677f47e08794b8cba62d12c3f&prodNameId=3288134&swEnvOID=4115&swLang=8&taskId=135&mode=4&idx=2

We should then launch the HP Remote System Managment CLI and export the relevent logs:

Array Controller and Harddrive LOGS and Status:
hprsmcli -s xx.xx.xx.xx -u root -p password -o ArrayLogs.txt -f TEXT -t SA

System Fan LOGS and Status:
hprsmcli -s xx.xx.xx.xx -u root -p password -o FAN.txt -f TEXT -t FAN

ILO LOGS and Status:
hprsmcli -s xx.xx.xx.xx -u root -p password -o ILO.txt -f TEXT -t ILO

MEMORY LOGS and Status:
hprsmcli -s xx.xx.xx.xx -u root -p password -o MEMORY.txt -f TEXT -t MEMORY

OA LOGS and Status:
hprsmcli -s xx.xx.xx.xx -u root -p password -o OA.txt -f TEXT -t OA

CPU LOGS and Status:
hprsmcli -s xx.xx.xx.xx -u root -p password -o CPU.txt -f TEXT -t CPU

Fiber channel HBA LOGS and Status:
hprsmcli -s xx.xx.xx.xx -u root -p password -o FC.txt -f TEXT -t FC

NIC LOGS and Status:
hprsmcli -s xx.xx.xx.xx -u root -p password -o NIC.txt -f TEXT -t NIC

Power Supply LOGS and Status:
hprsmcli -s xx.xx.xx.xx -u root -p password -o PSU.txt -f TEXT -t PS

Server Firmware LOGS and Status:
hprsmcli -s xx.xx.xx.xx -u root -p password -o Firmware.txt -f TEXT -t SF

Server Temperature LOGS and Status:
hprsmcli -s xx.xx.xx.xx -u root -p password -o TEMP.txt -f TEXT -t TEMP

ML LOGS:
hprsmcli -s xx.xx.xx.xx -u root -p password -o iml.xml -f TEXT -t IML

Export ALL of the logs:
hprsmcli -s xx.xx.xx.xx -u root -p password -o AllLogs.txt -f TEXT

0 comments:

Post a Comment