[Users] vms behaviour when a host shut down

Dan Kenigsberg danken at redhat.com
Fri Jan 24 14:17:47 UTC 2014


On Fri, Jan 24, 2014 at 10:01:52AM +0100, Nathanaël Blanchet wrote:
> Hi all,
> 
> I'd like to be sure about the behaviour of vms when hist host goes
> down for any reason. I suppose high availibility is for migrating
> vms to another host, but how to do if I prefer them to shut down at
> the same time of the host?

For a planned shutdown of a host, you should move it to "maintenance"
mode (which migrates all VMs from it) or shut down the VMs individually.

If the host unexpectedly dies, it would be fenced by Engine.
Highly-available VMs that were running on it, would be re-started on
another host. You can mimic such a condition with logging into the host
as root and doing
    service vdsmd stop
    pkill qemu-kvm
(and may the force be with your guest's data)



More information about the Users mailing list