Cody at Professional VMware has a nice write up on VMDirectPath and Paravirutal SCSI, titled : VMDirectPath? Paravirtual SCSI? – vSphere VM Options and You!
“This post comes because I am just as confused as the rest of you when it comes to the options available in some of these new vSphere interfaces. I figure it best to take a look at some of the options, and figure when it is best to move away from defaults and start tuning things just right.
This one is another post that originated from the great Mr. @rogerlund.
Specifically Mr. Lund asked me to answer the following three questions: “Which applications would be good for Paravirtual SCSI? Which for VMDirectPath? And; How do we choose?”
“
Paravirtual SCSI (PVSCSI)
Part (most) of the when & why for PVSCSI is provided in the quote from above. You use PVSCSI when you need a high performance virtual storage adapter. What does this mean? It means you will not use this for your AD server, or print server. You also generally will not use this on local storage, or DAS (Direct Attached Storage).
When would you use it? Well, I’m glad you asked. Remember that database that you were not virtualizing, because of it’s high IO requirement? That graphics rendering app for marketing that let the magic blue smoke out of your last SAN array? These are good candidates for PVSCSI.
VMDirectPath
This here, is where we answer the when and why, for VMDirectPath. VMDirectPath is quite a bit different than PVSCSI, but no less cool. It allows VMs to directly access PCI(e) devices. Up to two per VM. Now why would you want to do that? Wasn’t hardware abstraction one of the beauties of virtualizing your environment? Remember that security appliance? The one that corporate security insists be physical as it has this oddball entropy card? That goes here.
”
I only quoted a couple key parts, please refer to the full post to read the full article http://professionalvmware.com/2009/08/17/vmdirectpath-paravirtual-scsi-vsphere-vm-options-and-you/
Thanks to Cody for writing this up!
I did want to cover the steps on setting both of these up. The following steps are taken from the VMware vSphere Online Library.
“
Add a Paravirtualized SCSI Adapter
- Right-click on the virtual machine and select Edit Settings.
- Click Add.
- Select SCSI Device and click Next.
- Select a SCSI device.
- Select an unused Virtual Device Node.
- Click Next.
- Review your selections and click Finish.
- A new SCSI device and a new SCSI controller are created.
- Select the new SCSI controller and click Change Type.
- Select VMware Paravirtual and click OK.
“
PCI devices connected to a host can be marked as available for passthrough from the Hardware Advanced Settings in the Configuration tab for the host.
To use VMDirectPath, the host must have Intel® Virtualization Technology for Directed I/O (VT-d) or AMD I/O Virtualization Technology (IOMMU) enabled in the BIOS. In order to add PCI devices to a virtual machine, the devices must be connected to the host and marked as available for passthrough. In addition, PCI devices can be added only to virtual machines with hardware version 7.
- Select the virtual machine from the inventory panel and click Virtual Machine > Edit Settings.
- On the Hardware tab, click Add.
- In the Add Hardware wizard, select PCI Device and click Next.
- Select the passthrough device to connect to the virtual machine from the drop-down list and click Next.
- Click Finish.
“
With Cody’s Write up, and the above directions, we should be set, have fun playing!
Roger L.