[ovirt-users] Automatically migrate VM between hosts in the same cluster

Luca Bertoncello L.Bertoncello at queo-group.com
Fri Sep 18 06:59:07 UTC 2015


Hi Alex

> 2) My question was: "what can I do, so that in case of Kernel Panic or similar, the VM will be migrated (live or not) to another host?"
>
> You would make the VMs HA and acquire a fencing solution.

What do you mean now? Have two VM and build a cluster? This is not what we want...
If it's possible, I'd like to have more Host AS CLUSTER with migration of the VM between the nodes...
I think oVirt already do that, since I have to create Clusters. For me a Cluster is not just "more nodes with the same CPU", but also something with load balancing or high availability...

> 3) I'd like to have a shutdown-script on the host that put the host in Maintenance and wait until it's done, so that I can just shutdown or reboot it without any other action. Is it possible? It would help to manage the power
 > failure, too, assuming that other hosts have better UPS (it can be possible.)
>
> You could probably use the REST API on the Ovirt Engine for that.But it might be better to have a highly available machine (VM or not) running something like Nagios or Icinga which would perform the monitoring of your
>  hosts and connect to the REST API to perform maintenance and shutdown. You might also consider a UPS service like NUT (unless you're already doing it).

Well, I already use NUT and we have Icinga monitoring the hosts.
But I can't understand what you mean and (more important!) how can I do it...

I checked the REST API and the CLI. I can write a little script to put an host in Maintenance or active it again, that's not the problem.
The problem is to have somewhat starting this script automatically...

Any suggestion? Icinga will not be the solution, since it checks the host every 5 minutes or so, but we need to have this script started in seconds...

Thanks

Mit freundlichen Grüßen

Luca Bertoncello

-- 
Besuchen Sie unsere Webauftritte:

www.queo.biz		Agentur für Markenführung und Kommunikation
www.queoflow.com	IT-Consulting und Individualsoftwareentwicklung

Luca Bertoncello
Administrator
Telefon:	+49 351 21 30 38 0
Fax:		+49 351 21 30 38 99
E-Mail:	l.bertoncello at queo-group.com

queo GmbH
Tharandter Str. 13
01159 Dresden
Sitz der Gesellschaft: Dresden
Handelsregistereintrag: Amtsgericht Dresden HRB 22352
Geschäftsführer: Rüdiger Henke, André Pinkert
USt-IdNr.: DE234220077



More information about the Users mailing list