Hi,
When removing a VM via the GUI or API, the VM is not removed from HA Node Affinity Rules. Later, when I try to modify HA Node Affinity Rules via the API by retrieving the current resource list and adding a new resource, I get an error: cannot use unmanaged resource(s) vm:138, vm:169. This...
...to the group "mygroup" with the following body:
With Proxmox 9.x this doesn't work because HA groups no longer exist, but rather HA Affinity Rules.
As far as I can see, you first need to register a VM as an HA resource.
This requires an HTTP POST to "cluster/ha/resources" with the...
...for the memory allocation for that VM node, I assume. But does it also implicitly pin the VM node0 CPUs to host node0 CPUs?
I can use cpuaffinity to pin the VM to a set of host cores, but AFAICT it's just pinning the qemu process as a whole, so I assume there is no guarantee that qemu CPU...
...connected to a SAN, and I recently added a third host to serve as a quorum-only node for HA.
I created an HA for a test VM and set up an affinity rule with the following priorities:
Host1: priority 100
Host2: priority 90
However, when I reboot host1, the VM does not automatically migrate...
...with the controlplane.
But I guess, handling the issue via backupfleecing is much easier to configure, so you can try that first. :)
BR, Lucas
1: For the same reason it might be helpful to disable HA handling via the PVE-Cluster, or at least configure anti-affinity for the vms hosting the...
...┌──────┬───────────────┐
│ key │ value │
╞══════╪═══════════════╡
│ rule │ ha-group-all │
├──────┼───────────────┤
│ type │ node-affinity │
└──────┴───────────────┘
but how do I get the actual rule contents like enabled, state, strict, HA resources, nodes and comment? And how about...
...threads to physical CPU threads.
I mean when you defice CPU affinities in VM / Hardware / Processor / CPU affinitiy: n-m.
E.g If I set CPU affinity to 2,5,9-11, I would like to have option that instead of current functionality that VM vCPU threads uses above mentioned pCores based on OS...
...dass das LRM dieser Node 'idle' ist, da es keine aktiven HA-Gäste gibt und dadurch auch kein Fencing benötigt.
Eine Möglichkeit dies zu umgehen ist es die Nicht-HA-Gäste auf einer eigenen Node laufen zu lassen und die HA-Gäste von dieser Node auszuschließen, z.B. durch HA Node Affinity-Regeln.
Hi, in numa0/numa1, the cpus= list refers to guest vCPU indexes (0…vCPUs-1), not host CPU IDs.
Affinity is the host cpuset for the whole VM process (all vCPU threads), not per-vCPU.
Proxmox VE (QEMU) doesn’t expose per-vCPU pinning in the VM config, so you can’t directly “tie” guest vNUMA 0...
...nodes for the guest system and is not directly linked to the NUMA nodes and CPU cores on the host.
In the PVE documentation, I found the 'affinity' option and changed the VM config to:
cores: 8
sockets: 2
memory: 65536
numa: 1
numa0: cpus=0-7,hostnodes=0,memory=32768,policy=bind
numa1...
Hi,
yes, it's indeed on our roadmap here: https://pve.proxmox.com/wiki/Roadmap
The new affinity/anti-affinity rules introduced with Proxmox VE 9.0 were a first step into that direction.
In a virtual machine, if you specify CPU affinity in addition to vCPU allocation, I believe cores not specified in the CPU affinity will not be used.
On PVE hosts, it is assumed that cores not specified in the virtual machine's CPU affinity (unassigned cores) will be used, but this point...
...and 18 Core (2 cores left for host) for my Win11 VM, PVE know how to schedule P-core to maximize VM performance? Is this scheduling automatic? Or I need to play with those pinning, affinity...etc? Because I want to keep it simple, so just want to know if PVE handle the scheduling well?
Thanks
...Proxmox 9.0.10. Latest updates.
I want to relocate one VM to another host. VM is added to HA resources, failback=false, state=started. No affinity configured. So, when using ha-manager in the following way:
ha-manager crm-command relocate vm:151 gold1
the VM gets relocated. Which is great...
...in front of the PVE-Cluster via VRRP. (And that works in testsetups as well with virtualized firewalls - Keep in mind to configure anti-affinity for the firewall guests)
From my perspective it is the best approach, if the firewall appliances, use a similiar approach, to monitor each other...