none
Windows Server under frequent power outages

    Question

  • Hello there, 

    Let me explain my situation. I'm managing the server of a small company. The server runs Windows Server Datacenter 2016 and is set up as a virtualized environment for 6 VMs. The VMs run 2 DCs, a file server, a couple of database servers, nothing fancy. The VMs also run under Windows Server.  
    The computer is connected to an UPS through USB. The UPS can keep the computer running for about 20 minutes before running out of battery when power is interrupted. 
    Now, I live in an area with very frequent power outages. We are currently experiencing daily blackouts of about 3 hours each. The server must be able to cope with the outages without human assistance, and I’d like it to be in the least traumatic way possible (the virtual machines need to be up and working as soon as power is back on). 
    For this purpose, I have configured a power plan that defines 50% battery as low-level charge. The plan shuts down the computer when it reaches this level (this is all done with Windows' Power Settings). I’ve also configured the BIOS settings to always turn on the computer when power is present, and I’ve configured every VM to start automatically with its host machine.  
    The power plan works, the computer does indeed shut down when there's a power outage and the battery reaches 50% charge. But I've noticed that once the power's back and Windows starts, I’ll get the typical warning message saying the computer shut down unexpectedly, I’ll also get this message in the virtual machines.  
    Sometimes I’ll have issues with the virtual machines as well: the OS won’t load, some services won’t automatically start, etc. This seems to indicate that configuring Windows to shut down the computer through the power settings options is not optimal for my case.
    What would you guys do in my case? Perhaps setting the computer to sleep or hibernate instead of shutting down? Perhaps there’s another way to correctly shut down the computer? Having somebody manually shut down the computer after an outage is not possible.  
    Thank you for your help.


    • Edited by RickBauer Sunday, May 13, 2018 3:32 AM
    Monday, May 7, 2018 3:51 AM

All replies

  • Hi, I guess before jumping into conclusion, always best to go layer by layer for troubleshooting, eradicate all the possibilities for power usage, or UPS fix. then once the foundation problem is resolve then move onto the next level of troubleshooting. this will help you have a clearer picture of where the problem lies at.

    Guowen Su
    Cisco Certified Network Associate
    Cisco Certified Internetwork professional - MPLS
    Certified Information Systems Security Professional
    Microsoft Partner Network 2011
    Microsoft Certified Professional
    Microsoft Certified Systems Administrator:Security
    Microsoft Certified Systems Engineer: Security
    Microsoft Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows 7, Configuring
    Microsoft Certified IT Professional: Enterprise Administrator
    Microsoft Certified IT Professional: Server Administrator
    Certified Ethical Hacker
    Computer Hacking Forensics Investigator
    Certified Sonicwall Security Administrator
    Microsoft Geeks

    Thursday, May 31, 2018 3:38 AM