Showing results for 
Search instead for 
Did you mean: 
Flight Engineer
Flight Engineer

Ansible vmware ilo idrac integration

I need to perform automated checks after unexpected Linux server reboots either vm or bare metal server

Requirement to automate in a way that

1. I should be able to fetch drs or data store or any other issues related to the vm at vmware level.

2. For physical servers I need to check any hardware failures on ILO or iDRAC

Any suggestions with ansible to automate this tasks would be great help

I have already created a shell script that validates the critical services on server but stuck checking hardware level errors on server after unexpected reboots ....

Looking at os level logs about hardware issues is not encouraging me to use them in automation as they are very random, I checked few links like this on redhat site but the error patterns mentioned in link are not matching always.
Labels (1)
0 Kudos
1 Reply
Starfighter Starfighter

I'd argue Ansible is the wrong tool for Root Cause Analysis of server crashes or reboots. Ansible is a fantastic tool for server configuration automation, for server deployment and for many other usecases, but it won't help you correlate events or analyze crashes in the way you need.

First of all, I'd start configuring all those messages in a log aggregation service (merely a central rsyslog, or something more elaborate), so alarms can be triggered in advance.

Then I'd ensure I have a working kdump configuration: . A working kdump configuration is critical to analyze kernel dumps, and to leverage Red Hat Support. Also ABRT is very useful when analyzing application crashes:

For HP iLO / Dell iDrac, I'd ensure the output of " hpasmcli -s 'show iml' ; hpasmcli -s 'show iml'' is sent to a monitoring system. Or configured directly in the iLo/iDrac to be sent to the central log collection system and worked proactively if they are environmental issues (faulty ram / power supply / raid / temperature, etc).

Finally, for RHEL users it's also advisable to leverage Red Hat Insights, a free tool that can proactively detect configuration issues and propose fixes in advance: .


Hope this helps



Join the discussion
You must log in to join this conversation.