[pve-devel] training question about HA && failback

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Jun 8 18:02:40 CEST 2016



On 08.06.2016 17:18, Dietmar Maurer wrote:
>
>
>> On June 8, 2016 at 5:06 PM Alexandre DERUMIER <aderumier at odiso.com> wrote:
>>
>>
>> Hi,
>>
>> my students of this week traning, have a question about HA and failback:
>>
>>
>> We have 3 host :
>>
>> kvm1
>> kvm2
>> kvm3
>>
>>
>> an HA group "kvm23" with kvm2 && kvm3
>>
>>
>> We have a vm , with HA enable in group kvm23,with "nofailback" not enabled,
>> "restricted" not enabled and vm is running on kvm3.
>>
>>
>> kvm3 crash.
>>
>>
>> the vm is restarted by HA to kvm2
>>
>>
>> kvm3 is back online.
>>
>>
>> vm does not failback to kvm3 ?
>
> no, because it is still within the correct group (kvm2 && kvm3 has same
> priority).
>
>> The documentation said that it should failback to prefered node. But what is
>> the prefered node ? any member of the group ?
>
> yes, any member
>
>> Students expected that vm fallback to last node before the crash.
>
> You can give priorities within a group, something like
>
>   nodes kvm3:2,kvm2:1
>
>
> @thomas: can we update the manual page, and maybe add that to the GUI?
>

OK, and yes sounds good to me!  Will look into it.
@Alexandre I fixed a bug with the node priority parsing only last week which didn't made it to the user repos, AFAIK, so you may have to build a package from git if you want to use/test it :)



More information about the pve-devel mailing list