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.
which is available on my ESXi host as vmhba02:
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:
Once selected, the status of the device will be changed and alert to reboot the host will be shown:
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)
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
- How to Implement Hytrust KMS and enable vSAN encryption? - 16/10/2022
- How to delete Inaccessible objects in vSAN datastore? - 16/09/2022
- Availability options with vROPs 8. - 04/07/2022