ESXi

 View Only
  • 1.  Suggestions for 1 VM host UPS solution

    Posted Dec 07, 2010 08:10 PM

    My small business is currently running a poweredge 840. Nothing too powerful but we are hosting ESXi 4.1 with 3 VMs on it and would like to find a UPS that can perform a graceful shutdown by suspending the VMs when battery life drops to 25% to avoid data corruption in the event of a power outage or brown out. Can someone give us suggestions on what UPS would be ideal for our situation?



  • 2.  RE: Suggestions for 1 VM host UPS solution

    Posted Dec 07, 2010 11:10 PM

    You need to know the running power consumption of the server and the required run time on battery. Then have a look on apc.com and choose a smart-UPS to suite. Perhaps the smallest RM750 might be suitable in this instance, I use one with a single server drawing about 120W which it runs for about 30 minutes.

    For the UPS shutdown, the choice is really USB or network. To perform a shutdown, the choice then is (assuming free-licensed ESXi) either to have an agent on a VM that has scripted shutdown of the others (or an agent on each VM), or alternatively to depend on the ESXi VM shutdown configuration and request a host shutdown for example using the method I posted on TechHead.

    HTH






    http://blog.peacon.co.uk

    Please award points to any useful answer.

    Unofficial List of USB Passthrough Working Devices



  • 3.  RE: Suggestions for 1 VM host UPS solution

    Posted Dec 09, 2010 05:49 PM

    Thanks for the reply! Both the perl and batch solution appear to be what we're looking at. I'll add you points when we've got the system up and running.

    Brian



  • 4.  RE: Suggestions for 1 VM host UPS solution

    Posted Dec 09, 2010 06:02 PM

    Assuming we're going with USB would both perl and batch work?



  • 5.  RE: Suggestions for 1 VM host UPS solution

    Posted Dec 09, 2010 09:06 PM

    Provided the UPS connected through USB to the VM can communicate properly with APC's PowerChute Network Shutdown (PCNS) - or other vendor's equivelent - then it should be fine. I've not tested USB passthrough for and APC SmartUPS so I cannot comment for sure. However all SmartUPS have the same management card slot, so you can always add a network management card to one after purchase if required.






    http://blog.peacon.co.uk

    Please award points to any useful answer.

    Unofficial List of USB Passthrough Working Devices



  • 6.  RE: Suggestions for 1 VM host UPS solution

    Posted Dec 09, 2010 09:27 PM

    You can set the ESX host to automatically shutdown the VM's during a host shutdown. Make sure the UPS starts the process with enough battery life to shut everything down and you can also set the ESX hosts to start any VM'a during the startup. I have done this many times at different clients and it always worked well for us using PowerChute






    Steve Beaver

    VMware Communities User Moderator

    VMware vExpert 2009

    ====

    Co-Author of "VMware ESX Essentials in the Virtual Data Center"

    (ISBN:1420070274) from Auerbach

    Come check out my blog: www.beaverdam.net/blog

    Come follow me on twitter http://www.twitter.com/sbeaver

    *Virtualization is a journey, not a project.*



  • 7.  RE: Suggestions for 1 VM host UPS solution

    Posted Mar 03, 2011 09:41 PM

    Hi ,

    most of the discussion around ESXi and Smart UPS seems to revolve around using the PowerChute Network Shutdown as in this http://nam-en.apc.com/ci/fattach/get/722671/

    You can set the ESX host to automatically shutdown the VM's during a host shutdown

    I have configured guest startup and shutdown on host startup and shutdown as per this: http://nam-en.apc.com/app/answers/detail/a_id/10380/kw/ESXi/session/L3RpbWUvMTI5OTEwMzkwOC9zaWQvQl84RzFZbms%3D

    I do not have a management card in my Smart UPS - only USB and Serial connections.  I don't seem to be able to find any documentation on using the USB or Serial connections from the UPS to the ESXi host so as to initiate shutdown of the host when a low battery even is fired.

    Any suggestions where I can find that?



  • 8.  RE: Suggestions for 1 VM host UPS solution

    Posted Mar 04, 2011 06:55 AM

    Welcome to the VMware Communities forums.  You'll need to pass the USB or serial connection into a virtual machine.  The VM will run PowerChute software and in the case of a power failure it will issue a command to the host to shutdown.