On Tue, 2013-09-24 at 08:44 +0800, lofyer wrote:
> On 2013/9/24 6:03, Itamar Heim wrote:
>> On 09/23/2013 06:18 PM, lofyer wrote:
>>> Besides assigning a watchdog device to it, are there any other ways to
>>> make the VM autostart even if an user shutdown it manually?
>>> _______________________________________________
>>> Users mailing list
>>> Users(a)ovirt.org
>>>
http://lists.ovirt.org/mailman/listinfo/users
>> if a user shut down a vm from inside or via engine?
>> i suggest an external script on engine monitoring its status and
>> starting it for such a use case
> You mean a anacrontab script?
You can for example use Nagios/Icinga with the event handler
functionality. When your vm is down, Nagios/Icinga can start it again
via an event handler script (which will use Pyhton SDK or REST-API to
start the vm).
Regards,
René
PS: Had some mail/dns issues today, so maybe some mails with suggestions
are missing on my side...
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/users That's interesting, I'll
have a try later since I never use
nagios/icinga before.
For now I'm using a anacrontab scripts that start the "down" vms every
10 minutes.