> Host's configuration>Advanced Settings
This is for enabled VMdirectpath. You don't need that for USB passthrough.
It might be more ideal to connect the USB device directly to the host. In that case
1) Edit the VM and add a USB controller. You'll do this on the Hardware tab.
2) Add a USB device to the VM. You'll also do that on the Hardware tab for the VM.
VMware Communities User Moderator
Free ESXi Essentials training / eBook offer
Now available - VMware ESXi: Planning, Implementation, and Security
Also available - vSphere Quick Start Guide
The VM already has a USB controller added.
But your second point helped.
I didn't realize you had to add the device in the hardware screen.
I've mainly used VM Workstation before where it would automagically attach itself.
Anyways it works now. Thanks.
One issue with attaching the USB dongle to the host is that you cannot vMotion the dongle.
I have several VMs which require software dongles. I've been using a Digi AnywhereUSB/14 box to to connect the USB over IP.
Works perfectly with vMotion. It's also useful for some of the lab workstations that use very expensive software USB dongles. I can lock the dongles away in the datacenter preventing the sticky fingers from "borrowing" them.
Something like the Digi Anywhere USB solution is ideal if you have to move a VM around. However, you can vMotion a VM with a host attached USB device and it will continue to work (until the VM is powered down / suspended).Configuring USB Devices for vMotion
With USB passthrough from a host to a virtual machine, you can migrate a virtual machine to another ESXi host in the same datacenter and maintain the USB passthrough device connections to the original host.
If a virtual machine has USB devices attached that pass through to an ESXi host, you can migrate that virtual machine with the devices attached.
For a successful migration, review the following conditions:■
You must configure all USB passthrough devices connected to a virtual machine for vMotion. If one or more devices is not configured for vMotion, the migration cannot proceed. For troubleshooting details, see the vSphere Troubleshooting documentation.■
When you migrate a virtual machine with attached USB devices away from the host to which the devices are connected, the devices remain connected to the virtual machine. However, if you suspend or power off the virtual machine, the USB devices are disconnected and cannot reconnect when the virtual machine is resumed. The device connections can be restored only if you move the virtual machine back to the host to which the devices are attached.■
If you resume a suspended virtual machine that has a Linux guest operating system, the resume process might mount the USB devices at a different location on the file system.■
If a host with attached USB devices resides in a DRS cluster with distributed power management (DPM) enabled, disable DPM for that host. Otherwise DPM might turn off the host with the attached device. This action disconnects the device from the virtual machine because the virtual machine migrated to another host.
Host maintenance or a host outage would disable the USB if attached to the host. Just something to consider for your application availability.
my problem is slightly different: I need to connect an IOmega REV 120 to a virtualized Windows Server 2003 (or, in future, 2008) to perform certain fast backups.
I can't use Digi device due to USB 1.1 speed.
I'd like to connect the REV directely to USB on host (running ESXi 5.0, of course)
Any help will be appreciated :-)
I have a problem where I am unable to passthrough any USB device to a VM. At the moment I want to passthrough a usb drive to a VM of a SBS2008 server. I have installed the USB controller onto the VM however when you go to add another device the option for "USB device" is not present thus I am unable to passthrough the usb drive. You could do this easily with ESXi 4.1 however it does not seem to work with 5.0 - is this a bug?
Have tried restarting the managements agents and it is a HP Proliant ML350 G6 if that has any bearing on it.
Any advice would be greatly appreciated.
I am having the same issue as Jasper.
After upgrading to ESXi 5 the USB devive is unavailable and can't be added to the VM.
Has anyone seen this before?
Double check your VM hardware version, I had this issue just yesterday, couldn't figure out why USB Device would show up under some machines and not others. I had overlooked the fact that the last 2 machines I converted from physical to virtual got imported with VM hardware version 4 instead of 8, I ran my update manager and upgraded to VM hardware version 8 and now I am able to add USB devices to those machines.
I had a similar issue with ESXi 5, it turns out there's an issue with hostd loading before the usbartibrator. Check out this KB
In regards to the Digi AnywhereUSB/14 box have you come across any license dongles or software that this USB over IP method does not work for?