Search results for query: affinity

  1. K

    Bug: Proxmox 9 HA node rules not updated after VM remove

    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...
  2. R

    API (atomic) call to add resource to HA affinity rule

    ...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...
  3. K

    WEB API for Proxmox 9 HA rules

    ...│ ha-group-preferred_proxmox1-4 │ └───────────────────────────────┘ api2/json/cluster/ha/rules [ { "type": "node-affinity", "resources": "vm:101,vm:111,vm:119,vm:129,vm:130,vm:132,vm:135,vm:144,vm:163,vm:166", "order": 2, "comment": "Generated...
  4. R

    WEB API for Proxmox 9 HA rules

    ..."{{api_prevention_token}}" body_format: json body: rule: "{{ha_rule.rule}}" type: "node-affinity" resources: "{{ ha_rule.resources.split(',') | reject('equalto', 'vm:'+sub_vm.vmid|string) | list | join(',') }}"...
  5. D

    Question about NUMA nodes and core pinning

    ...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...
  6. M

    2 Host Cluster with SAN

    ...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...
  7. D

    3 Minute Delay Starting VM with GPU Passthrough (vfio-pci reset issue)

    ...Xeon(R) CPU E5-2697 v4 @ 2.30GHz GPU: Nvidia RTX 4060 Ti (PCI IDs: 02:00.0 and 02:00.1) VM Configuration (/etc/pve/qemu-server/100.conf): affinity: 0-15 agent: 1 balloon: 0 bios: ovmf boot: order=scsi0;ide2;ide0;net0 cores: 16 cpu: x86-64-v3 efidisk0...
  8. B

    My k3s cluster dies when PBS runs backups

    ...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...
  9. R

    WEB API for Proxmox 9 HA rules

    ...┌──────┬───────────────┐ │ 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...
  10. M

    Pinning vCPU threads to real pCPU cores and preventing host OS to use those pCores

    ...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...
  11. W

    Correct VM NUMA config on 2 sockets HOST

    Thank It's all clear now. Thanks.
  12. dakralex

    High Availability stoppt alle LXCs/VMs

    ...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.
  13. readyspace

    Correct VM NUMA config on 2 sockets HOST

    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...
  14. W

    Correct VM NUMA config on 2 sockets HOST

    ...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...
  15. cheiss

    [SOLVED] Will proxmox ever have a feature compared to ProxLB

    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.
  16. U

    CPU tunning for Windows 11 VMs

    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...
  17. J

    CPU tunning for Windows 11 VMs

    ...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
  18. C

    Undefined value as an ARRAY reference at [...]/Resources.pm line 498. (ha-manager relocate)

    ...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...
  19. B

    Checkpoint/Fortinet firewall failover not working on internet interface

    ...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...