On Tue, Jan 17, 2017 at 9:46 AM, Giulio Casella <giulio@di.unimi.it> wrote:
Hi,
I noticed a different behaviour after upgrading my entire setup from rhev 3.6.9 to rhev 4.0.5.
A virtual machine reboot changes the host where the VM is running, also if the VM was started in "run once" mode with a payload specifying a placement policy. In version 3 the VM didn't change host across a reboot; and continued running in run once mode, keeping the same payload given at start time.
Is there a way to keep the VM running on the same host across a reboot, excluding the obvious (but time consuming) way of migration after reboot?

Hi, not sure if someone else followed up but in 4.1 there are new affinity labels that may solve your problem. Have a look at https://www.ovirt.org/blog/2016/07/affinity-labels/



 

If not (but this is a request for enhancement), is it possible to introduce a payload for reboot (just like for "start") to specify the placement policy?

Thank you in advance,
gc
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com