[libvirt] How to shut down every VM when libvirt is stopped

Laurent Léonard laurent at open-minds.org
Sat Feb 13 12:43:23 UTC 2010


Hi,

With libvirt 0.4.6 for example, the behaviour when we stopped libvirt was to 
shut down every VM. That was a problem in many cases (upgrades, etc.) but 
that behaviour was very useful with high avalability systems like Heartbeat.

With an Hearbeat + DRBD system, if the libvirt service is stopped by 
Heartbeat, every VM should be stopped too. Otherwise we will experience 
problems and disk corruption.

Is there any way to configure libvirt to have that old behaviour ? Or do I 
have to shut down/kill every VM in the stop target in the init script ?

Thank you,
-- 
Laurent Léonard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100213/d66b3aaf/attachment-0001.sig>


More information about the libvir-list mailing list