shutdown esxi 5.5 though ups after windows server


I have windows server 2012 installed on esxi 5.5 server.

 APC 2kva online ups model no. src2000xli is connected to server.

I want if power goes down then ups should shut down my windows 2012 server first and then esxi 5.5 before batter going down.

how could I do this?
please help

Pravin 185IT Service ManagerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Zephyr ICTCloud ArchitectCommented:
Is this a standalone ESXi server or part of a cluster? How is the UPS "connected"?

If you have a separate host that can be used to install the network shutdown module (software from APC/Schneider) on it you can use this to gracefully shutdown the ESXi server.

You also need to configure to shutdown your 2012 guest vm before the server is shutdown, you can do this through the vSphere client under "Virtual Machine Startup/Shutdown" settings.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
The easiest method, is for you to use the Network Management Software (FREE) from APC, and a Network Management Card. If you are trying to do this via USB, you will need to connect the USB UPS to a VM, and then run scripts, when the UPS detects a power out signal.

Is your ESXi 5.5 the FREE version, but the process is different...

see this EE Question

see here

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.