Re: libvirt guests graceful shutdown upon hosts powerdown/reboot
should have mentioned, apologies, suspend is the graceful shutdown of the guest I was thinking of. Guest is win2k8, why would it not suspend - seems server versions of windows have to forced, but yet I get - trying powercfg.exe - .. firmware does not support suspend.. or similar, which I guess is down to qemu/kernel On 22/10/14 10:58, lejeczek wrote: hi everybody by an assumption I expected VM guests to be shut down/off gracefully when the host is being powered down or rebooted, but this does not seem to be the case so I wonder.. Am I missing some libvirt components/packages ? Or my assumption is incorrect and guests have to be shutdown manually? it's all SL 7 and guest are M$ regards P.
Re: libvirt guests graceful shutdown upon hosts powerdown/reboot
On Sat, Oct 25, 2014 at 5:38 AM, lejeczek pelj...@yahoo.co.uk wrote: should have mentioned, apologies, suspend is the graceful shutdown of the guest I was thinking of. Guest is win2k8, why would it not suspend - seems server versions of windows have to forced, but yet I get - trying powercfg.exe - .. firmware does not support suspend.. or similar, which I guess is down to qemu/kernel libvirt isn't the actual technology of virtualization. It's a wrapper for Xen, KVM, QEMU, and possibly for my uncle wearing a funny hat channeling the spirits of the ancients while tapping the table with his knees for haunted noises. Please mention which virtualization technology you're actually using: the built-in and RHEL supported KVM, I assume?
Re: libvirt guests graceful shutdown upon hosts powerdown/reboot
Hi, IMHO, the libvirt-guests init script which is part of libvirt-client rpm package should take care of suspending the guests upon shutdown procedure? -- *Karel Lang* On 10/22/2014 11:58 AM, lejeczek wrote: hi everybody by an assumption I expected VM guests to be shut down/off gracefully when the host is being powered down or rebooted, but this does not seem to be the case so I wonder.. Am I missing some libvirt components/packages ? Or my assumption is incorrect and guests have to be shutdown manually? it's all SL 7 and guest are M$ regards P. -- *Karel Lang*
RE: libvirt guests graceful shutdown upon hosts powerdown/reboot
Hi In SL6 /etc/sysconfig/libvirt-guets defaulted to suspend the guests, so I changed it to shutdown guets with: ON_BOOT=ignore ON_SHUTDOWN=shutdown PARALLEL_SHUTDOWN=6 SHUTDOWN_TIMEOUT=90 It looks like SL7 has the same settings, but I haven't tried them yet. Regards Bill Maidment -Original message- From:Karel Lang AFD l...@afd.cz Sent: Wednesday 22nd October 2014 21:11 To: lejeczek pelj...@yahoo.co.uk; scientific-linux-users@fnal.gov Subject: Re: libvirt guests graceful shutdown upon hosts powerdown/reboot Hi, IMHO, the libvirt-guests init script which is part of libvirt-client rpm package should take care of suspending the guests upon shutdown procedure? -- *Karel Lang* On 10/22/2014 11:58 AM, lejeczek wrote: hi everybody by an assumption I expected VM guests to be shut down/off gracefully when the host is being powered down or rebooted, but this does not seem to be the case so I wonder.. Am I missing some libvirt components/packages ? Or my assumption is incorrect and guests have to be shutdown manually? it's all SL 7 and guest are M$ regards P. -- *Karel Lang*