?
Solved

Can I shutdown a ESXi host from a VM (need to shutdown host when on UPS power)?

Posted on 2008-11-14
5
Medium Priority
?
1,410 Views
Last Modified: 2012-05-05
I have just configured a VM to be aware of our UPS state via a serial port to ethernt adapter.
If power fails - when on batteries - the UPS signals the VM which can then run a batch file to shutdown the rest of the VM's and finally shut itself down.
This leaves my host powered on - I do not want this to just drop when the power finaly fails.

I use a serial connection from the APC 3000 UPS (as I mentioned i have to interface this with a 'Star5tech' serial to ethernet adapter in order for the VM's to comminicate)

How can I signal or command the Host server to shutdown at the end of the sequence?
Can I issue a delayed shutdown command from the last VM before this shuts down ?

Graeme
0
Comment
Question by:touch-base
5 Comments
 
LVL 22

Accepted Solution

by:
65td earned 500 total points
ID: 22962795
0
 
LVL 1

Assisted Solution

by:jdub1107
jdub1107 earned 500 total points
ID: 22964633
If 65td's link does not help check out this link:
 http://communities.vmware.com/message/457196
0
 
LVL 1

Author Closing Comment

by:touch-base
ID: 31520861
Thanks guys - this got me on the right track.
I've gone for powershell on windows server and the VMware API toolkit
The syntax on this page was helpful:
http://communities.vmware.com/message/949876#949876
0
 
LVL 1

Author Comment

by:touch-base
ID: 23052678
Thanks guys - this got me on the right track.
I've gone for powershell on windows server and the VMware API toolkit
The syntax on this page was helpful:
http://communities.vmware.com/message/949876#949876
0
 
LVL 24

Expert Comment

by:ryansoto
ID: 23072895
OK I need this too....
Now I have no clue what is being implemented....
I mean you log into VC then what?
I need a step by step, any help?
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
It’s time for spooky stories and consuming way too much sugar, including the many treats we’ve whipped for you in the world of tech. Check it out!
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question