VMware Cloud Community
Jaginder
Contributor
Contributor

host shutdown when datastore inactive

Hi i have 2 virtual cisco apps on 2 seperate servers that are  HBA connected to a vnx datastore - when i lose the connections to the datastore my LUN becomes inactive on the its corresponding host . Is there a way I can set up an alert so that if the LUN becomes inactive then it will close down the corresponding vmware host on that application. As soon as that host will shutdown then my other vmware host on the other server will become active. At the moment because the vmware host is still up   (even though its datastore is not) its preventing the other machine to become active - the redundancy is done in the cisco app rather than at vmware level. The HBA 's are dual connected with redundant switches so its very unlikely that the datastore will become disconnected but we have to test if it could happen.

I have tried putting an alert on the datastore with a trigger of 'unavailable to all hosts' and an action of  command 'shutdown -h now'  but does not work. ..TIA, J

0 Kudos
0 Replies