HA version 9 issue

Oct 9, 2024
223
8
18
I would like to use HA in version 9, but I noticed that in the HA item there is no longer the group item, but affinity rules, when I press add HA node affinity it does not allow me to select anything in the HA resoucers item, and I can't proceed, how do I select this item? I can't find any guides for setting up HA in version 9
 
Hi!

Have you upgraded the Proxmox VE host from version 8 to 9 or is it a new install?

Either way, HA groups have been deprecated in favor of HA node affinity rules and these are feature-compatible, even though they are presented slightly different. This includes that the "nofailback" flag is now controllable in the HA resource (as "failback", which is on by default) and the HA group assignment in the HA resource is moved to the HA node affinity rule "resources" field. If the node had HA groups defined on Proxmox VE 8, then these are automatically migrated to equal HA node affinity rules.

Either way, are there any defined HA resources (in the "HA" tab)? Or doesn't the HA node affinity "resources" field show no HA resources even though there are HA resources defined?
 
I installed the new version 9 directly and then did everything from the beginning again. Now the "resources" field of the HA node affinity does not show any HA resources.
 
I read these articles, but honestly it's still not clear to me how to create a group like before, here it seems that I have to insert them one at a time individually, honestly it was easier for me before to create the groups quickly from the web guide
 
I managed to simulate the function I did before with groups, but the strange thing is that if I go to the VM summary I still see the group entry in the HA status. So I wonder what that group entry refers to?
 
Hi!

I read these articles, but honestly it's still not clear to me how to create a group like before, here it seems that I have to insert them one at a time individually, honestly it was easier for me before to create the groups quickly from the web guide
Which web guide are you referring to?

HA groups have been deprecated in favor of the (semantically) equivalent HA node rules in Proxmox VE 9. The reason was primarily to aggregate those relationships in a single view, allow further extensions and make the interactions between node affinity and resource affinity rules more visible.

However, I can see the pain points described here and we're keen to improve the user experience, which is also actively discussed in the already linked forum post [0]. From my perspective, the main workflow has been to create/add the HA resources and create the necessary node/resource affinity rules afterwards at once.

So to answer your question, instead of creating a HA group and then assigning a HA resource on creation or modification as before, users can assign and remove HA resources from a HA node affinity rule directly, which can benefit bulk changes to node preferences, which weren't that easy before. HA node affinity rules can still hold multiple HA resources just as HA groups, but now they can be selected from one place instead of going through each HA resource individually.

[0] https://forum.proxmox.com/threads/o...it-ct-vm-machine-ha-setting-in-prox-9.171427/
 
I managed to simulate the function I did before with groups, but the strange thing is that if I go to the VM summary I still see the group entry in the HA status. So I wonder what that group entry refers to?
Hi!

Once the groups had been replaced with rules, the summary page would always display "Group: none". There is already a patch on the mailing list that will remove this part of the HA status info. As you just discovered, this information in the summary page was very misleading, so thanks for bringing this to our attention again!