[virt-tools-list] Question about keeping alive virtual machines

Martin Kletzander mkletzan at redhat.com
Mon Jun 16 08:34:27 UTC 2014


On Mon, Jun 16, 2014 at 10:24:35AM +0200, Szirmai Tibor wrote:
>Dear List,
>
>I'm not big a linux expert.
>I installed Virtual Machine Manager 0.9.5, on a Debian server (Jessie)
>with Xfce Desktop.
>I created three Windows 7 virtual machines - which should run
>continously - they work as servers.
>I turned off all the energy-save options in the windows7 systems (no
>hard disk sleep, no sleep mode, or anything).
>Besides: the virtual machines stop in every 2-3 days; they get in
>shutoff state, and I have to restart them manually - when I realize they
>stopped.
>I set the option "Start virtual machine on host boot up", "Autostart
>onboot", "Autoconnect" - but these events happen only when virtual
>manager restarts.

That's not what you wanted, but shouldn't hurt in your use case.

>I don't understand, why do they shut off.
>Is there a way to find the reason (log files, or something)?

You can do that, see http://libvirt.org/logging.html for detailed
explanation.

>Is there a way to set an automatic restart when a virtual machine shuts
>off by any reason?
>

And you can do that as well, but that's probably not what you want.
See http://libvirt.org/formatdomain.html#elementsEvents for details.

Martin

>Thanks for the answer,
>
>Szirmai Tibor
>E-mail: tibor.szirmai at belux.hu <mailto:tibor.szirmai at belux.hu>
>

>_______________________________________________
>virt-tools-list mailing list
>virt-tools-list at redhat.com
>https://www.redhat.com/mailman/listinfo/virt-tools-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20140616/2af5bbf5/attachment.sig>


More information about the virt-tools-list mailing list