Configure vHBA Card as passthrough to VM using DirectPath I/O in vSphere 6.5

One of my friends asked me to help on this topic. Thanks to him i got the idea for next blog.

What is VMDirectPath I/O?

This feature is available from vSphere 5.1 onwards. Using this feature, we can assign the HBA card available to ESXi host to Virtual machine.

Benefit: Potentially improving performance. 

Disclaimer: Before implementing the DirectPath I/O, ensure all the requirements as per the vSphere version is satisfied. Although vSphere 6.5 is not updated in kb, I did not find my official link saying otherwise as well.

Implementation: 

I added an additional vHBA to the service profile for this demo purpose I.e, vHBA2 in my lab server.
undefined
which is available on my ESXi host as vmhba02:

figure 2

Following is the simple steps to configure the above mentioned device as DirectPath I/O:
Navigate to ESXi host-> Configure-> hardware-> PCI devices (Click edit)
Select the device:

Figure 3

Once selected, the status of the device will be changed and alert to reboot the host will be shown:

figure 4

After completing the reboot, we will move towards VM configuration.
Ensure the VM is powered off.
Navigate to : VM’s Settings-> add new device (select PCI device)

figure 5

Note: VM memory size must be reserved as shown in the figure 5.

Source: https://kb.vmware.com/s/article/1010789

Hope this helps!!!
Cheers

Samesh Dhankhar
Please follow and like us:
Twitter
Visit Us
Follow Me
LinkedIn
Share