VM CPU pinning on Nutanix AHV
You can do VM CPU pinning on Nutanix AHV as well. It is available from the command line as a parameter when you create or update VM. To enable or disable vCPU pinning for particular VM, you have to execute a command
vm.update with parameter
vcpu_hard_pin=false or true
NOTE: VM must be powered off state before you can make changes.
See example below:
<acropoli>vm.update test-win16-01 vcpu_hard_pin=true
Pull virtual machine configuration again
vm.get <vm_name> to see if changes were applied to the virtual machine configuration.
} num_cores_per_vcpu: 1 num_threads_per_core: 1 num_vcpus: 1 num_vnuma_nodes: 0 power_state_mechanism: "kGuest" vcpu_hard_pin: True vga_console: True vm_type: "kGuestVM" }
Below you can watch 2,5 minutes video on how to do VM CPU pinning on Nutanix AHV. Happy watching and do not forget to subscribe to the YouTube channel.