Anyone know if it would be possible to:
1. Create a temperature alert (condition too hot)
2. Have it first shut down virtual machines
3. Then shut down the ESX boxes
4. Maybe even shut down the SAN?
Just wondering, I would like to set something like this up, figured someone on here might have already done it.
Thank you,
Chad
-
- Influencer
- Posts: 14
- Liked: never
- Joined: Sep 10, 2010 6:46 pm
- Full Name: c covey
- Contact:
-
- VP, Product Management
- Posts: 27357
- Liked: 2788 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Temperature alarm with shutdown action
Hi Chad,
I would suggest you to use hardware sensor alarms for that, but unfortunately we do not make any differentiation between the sensors, as these sensors may vary a lot from host to host.
To workaround that you could pick any other alarm that would be triggered when the temperature goes up and configure post alarm action to Power Off all running VMs and then shutdown the host.
Here are two examples of how to use the PowerCli script to shutdown VM guest, please have a look:
http://www.virtu-al.net/2010/01/06/powe ... structure/
http://www.vmware.com/support/developer ... Guest.html
Hope this helps!
I would suggest you to use hardware sensor alarms for that, but unfortunately we do not make any differentiation between the sensors, as these sensors may vary a lot from host to host.
To workaround that you could pick any other alarm that would be triggered when the temperature goes up and configure post alarm action to Power Off all running VMs and then shutdown the host.
Here are two examples of how to use the PowerCli script to shutdown VM guest, please have a look:
http://www.virtu-al.net/2010/01/06/powe ... structure/
http://www.vmware.com/support/developer ... Guest.html
Hope this helps!
-
- Influencer
- Posts: 14
- Liked: never
- Joined: Sep 10, 2010 6:46 pm
- Full Name: c covey
- Contact:
Re: Temperature alarm with shutdown action
Vitaliy:
These are very helpful, thank you!
Chad
These are very helpful, thank you!
Chad
Who is online
Users browsing this forum: No registered users and 2 guests