sted Posted April 2, 2010 Posted April 2, 2010 ive been doing a bit of work on looking into hyper v server 2008 r2 and was wondering how you would connect a ups to it as the clients dont support usb so i cant install the software on one/more of those and i assume as hyper v server 2008 r2 is core based i cant install the normal apc powerchutes software thinking about it i assume you would need to use networked ups variants on clients but that still wouldnt shut down the host
localzuk Posted April 2, 2010 Posted April 2, 2010 AFAIK, APC PowerChute Network Shutdown 2.2.4 supports installation on Server 2008 R2 Core. Earlier versions don't support it.
FN-GM Posted April 2, 2010 Posted April 2, 2010 You need to get a special version of powerchute to install. Anyway when you shutdown a hyper v host the virtual machines save the state by default. You can change this so the virtual machines can shutdown. So when powerchute shutsdown the host the virtual machines should be ok.
sted Posted April 2, 2010 Author Posted April 2, 2010 (edited) im assuming then i need networked ups's rather than what for me are normal serial/usb ones? and presumably the software is installed via cmd prompt (again i assume apc provide instructions as atm i have no ieda how to config it)edit just found it on apcs site though their java instructions are about as clear as mud lol Edited April 2, 2010 by sted
localzuk Posted April 2, 2010 Posted April 2, 2010 im assuming then i need networked ups's rather than what for me are normal serial/usb ones? and presumably the software is installed via cmd prompt (again i assume apc provide instructions as atm i have no ieda how to config it) That would be correct on both counts from what I've seen. I've not done it myself. However... There may be an alternative in the form of this project - Apcupsd, a daemon for controlling APC UPSes
sted Posted April 2, 2010 Author Posted April 2, 2010 That would be correct on both counts from what I've seen. I've not done it myself. However... There may be an alternative in the form of this project - Apcupsd, a daemon for controlling APC UPSes i tried that when 8.01 software wont work if it detects hyper v role and i couldnt even get it to find the ups on a normal 08 server. So more expense for my schools as it seems a bit overkill when theres one server to have a networked ups
localzuk Posted April 2, 2010 Posted April 2, 2010 How about a different route - if you've got any non-hyper-V server box, could you not have the UPS plugged into that via normal methods, and get it to send a remote shutdown command to the Hyper-V host?
sted Posted April 2, 2010 Author Posted April 2, 2010 How about a different route - if you've got any non-hyper-V server box, could you not have the UPS plugged into that via normal methods, and get it to send a remote shutdown command to the Hyper-V host? atm im looking into just using hyperv server2008 r2 on the box and virtualizing the actual server(s) so if needs be i can quickly get them back up again if it all goes wrong (assuming its not the disks atm as ive not looked into backing up the vhds on the fly and as some may be absolutely huge i probably wont have space to back up data partitions anyway so will just back up c drive as a vhd then restore d from normal backup (atm usually a robocopy to a nas box)
Arthur Posted April 9, 2010 Posted April 9, 2010 (edited) Came across the following article today and thought it would be worth posting since it seems relevant to this thread. http://www.virtualizationadmin.com/articles-tutorials/microsoft-hyper-v-articles/general/power-management-hyper-v-Part2.html Basically, it says you need to use a special version of PowerChute called PowerChute Network Shutdown for Hyper-V (~£60) which gets installed on the host OS and shuts down VMs over the network. It's worth reading the article since it mentions a few caveats too. Edited April 9, 2010 by Arthur
burgemaster Posted February 8, 2011 Posted February 8, 2011 If you are running Server 2008 R2 with Hyper-V Role enabled you can install version 2.2.3 and use a small script to help with the virtual machine shutdowns. BUT if you have server 2008 R2 CORE installed then you will have to purchase "PowerChute Network Shutdown for Hyper-V" (now £80) as 2.2.3 does not support a core install. Nice little money earner for APC there, especially as everywhere is turning to virtualisation. Aparently the 2.2.5 software just has a block on the installer when it see`s the hyper-V role is installed.
zag Posted May 6, 2011 Posted May 6, 2011 If you are running Server 2008 R2 with Hyper-V Role enabled you can install version 2.2.3 and use a small script to help with the virtual machine shutdowns. I'm just looking into shutting down hyper-v virtual machines. I'm a little worried about the time it takes for hyper-v to finally shut them down. What kind of script would you recommend? I'm using hyper-v with the GUI so it should be easy you would think!
sted Posted May 6, 2011 Author Posted May 6, 2011 there is a version of powerchutes free downloadable 8.5 if memory serves that will install with hyperv enabled and as a normal pc shutdown triggers hyperv to save state / shutdown vms that should be all you need (if you actually watch the console at shotdown it shows it closing hyperv instances. IIRC though the version that still ships on the cd is 8.0? and wont install eith hyperv tuned on
RabbieBurns Posted May 6, 2011 Posted May 6, 2011 all you need to do is have the hyperV host to shut down sanely. Within hyperV itself, you can set what happens to the client machines when the host shuts down.
m25man Posted May 6, 2011 Posted May 6, 2011 I bought the £80 Hyper-v version of Powerchute.. it works thats all there is to say about it.
ChrisMiles Posted May 6, 2011 Posted May 6, 2011 and i assume as hyper v server 2008 r2 is core based i cant install the normal apc powerchutes software Just thought I'd point out that you don't have to run 2008 r2 core to run hyper-v, it works perfectly fine on the full install. Also as has been said, hyper-v can control what happens to the virtual servers when it attempts to shut down. Also, using hyper-v, I'd strongly recommend having at least one physical DC.
sted Posted May 6, 2011 Author Posted May 6, 2011 Just thought I'd point out that you don't have to run 2008 r2 core to run hyper-v, it works perfectly fine on the full install. Also as has been said, hyper-v can control what happens to the virtual servers when it attempts to shut down. Also, using hyper-v, I'd strongly recommend having at least one physical DC. i do run hyperv on full installs normally at the time i started this i was playing round with core and decided it wasnt worth it for the sake of a bit of hard drive and memory. Its an unusual site i go to that has multiple pcs physical or virtual its all single server sites though i am trying to spread the load where appropriate with hyper v but still there is still usually only 1 dc and often as not thats the base os and any vm is an o pants the printers dont like server 08r2 or some piece of software that after being in a cupboard for years is suddely invaluable or xp/win7 package creation/testing. Where hyper v has been planned in from day 1 there is usually a base 08r2 doing naff all, a dc/fileserver/filedump/printserver then a separate admin server and if needed a ts or other and usually an xp and win7 vm for package creation/testing
SYNACK Posted March 28, 2012 Posted March 28, 2012 Just an update to this thread, APC has now released a new version that works with Hyper-V and Hyper-V on server core for free: http://www.edugeek.net/forums/hardware/92819-apc-powerchute-network-shutdown-v3-free-support-hyper-v-esxi.html 5
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now