We're running Sanmelody with an Active/Active array but we want all requests to go to one of the storage arrays(which we intially set).
Occasionaly for one reason or another a host will change/fail over to the backup box and I only pick this up by manually going through the hosts and cheking the LUN paths.
Does anyone have or know of a way to alert when an ESX host changes it's storage paths?
I'm open to anything here weather it be powershell, syslog, a script that runs on the host!
Yes, update to vSphere vCenter
I have done something similar as I was tired of searching for dead paths... I made a simple script wich was launched as a cron job.. The script sends snmp trap with a selected OID to a HP insight manger server with the message:
"FC host HBA status changed"
As you see the script is VERY simple...
dpath= esxcfg-mpath -l | grep -i -o "dead" > /dev/null
snmptrap -v 1 -c public <IP SNMP monitor server> 184.108.40.206.4.1.232 localhost 6 16015 0
Maybe that will give further ideas...