VM CPU pinning on Nutanix AHV

Shares

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
test-win16-01: complete

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.

You can find more useful blog articles about Nutanix AHV by clicking on this link. For those who are interested to learn more about Nutanix AHV, download the Nutanix AHV Best Practice guide.

0 0 votes
Article Rating

Artur Krzywdzinski

Artur is Consulting Architect at Nutanix. He has been using, designing and deploying VMware based solutions since 2005 and Microsoft since 2012. He specialize in designing and implementing private and hybrid cloud solution based on VMware and Microsoft software stacks, datacenter migrations and transformation, disaster avoidance. Artur holds VMware Certified Design Expert certification (VCDX #077).

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x

FOR FREE. Download Nutanix port diagrams

Join our mailing list to receive an email with instructions on how to download 19 port diagrams in MS Visio format.

NOTE: if you do not get an email within 1h, check your SPAM filters

You have Successfully Subscribed!

Don't miss any posts. Subscribe To Our Newsletter!!

Join our mailing list to receive the latest news and updates from www.vmwaremine.com.

You have Successfully Subscribed!

Pin It on Pinterest