Hi Rohit,
You have 2 ways to handle this case;

1. Use pin to multiple hosts [a]. This will force the VM to run on one of
the hosts you specify (1 or 2).
If the VM is defined as highly available, it'll automatically be restarted
on the other host in case the
current one goes down.

2. Use affinity labels [b]. You would like to set a hard affinity to host
1, and a soft affinity to host 2
to ensure host 1 is chosen if it's up.

HTH,
Doron

[a]
https://www.ovirt.org/develop/release-management/features/sla/vmpinningtomultiplehosts/
[b] https://www.ovirt.org/blog/2016/07/affinity-labels/

On 3 July 2017 at 16:37, TranceWorldLogic . <tranceworldlo...@gmail.com>
wrote:

> I got it.
> It is under configure button at top right corner.
>
> I want to do below stuff please help me how can I make it possible using
> ovirt.
> (let assume 2 host system and 1 vm)
> 1> I want to pin Host for particular VM let say host is host1.
> 2> In some circumstances let say host1 goes down in that case vm migrate
> to host2.
> 3> After sometime host1 comes up.
> 4> I want vm to migrate back to its pin host (i.e host1)
>
> Please help me.
>
> Thanks,
> ~Rohit
>
> On Mon, Jul 3, 2017 at 6:27 PM, TranceWorldLogic . <
> tranceworldlo...@gmail.com> wrote:
>
>> Hi,
>>
>> Can some one help me how to select PinToHost policy in ovirt 4.0 ?
>> I am lost in GUI.
>>
>> http://www.ovirt.org/develop/release-management/features/sla
>> /scheduler-policies/
>>
>> Thanks,
>> ~Rohit
>>
>
>
> _______________________________________________
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to