Sharing of thoughts and information is what blogging is all about. This way we can learn from each other. Post A Comment!These postings are provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use.
Resident Bloggers
Chris Di LulloSr. IT Pro Marketing Manager Twitter | LinkedIn Pierre Roman Twitter | LinkedIn Mitch Garvis Twitter | LinkedIn Anthony Bartolo Twitter | LinkedIn
Jeff Woolsey, Principal Program Manager at Microsoft for Windows Server answers the question:
Can USB devices (like smart cards and storage devices) be accessed within a Hyper-V virtual machine?
The answer is “Yes” and here are two possible scenarios:
In this scenario, an end user logs into virtual machine which is running in a locked datacenter/closet etc. In this case, the end user is using a remote client (either thin or thick client) and wants to plug the USB device into the thin client and doesn’t have physical access to the virtualization host.
Solution: In this scenario, the answer is to use Remote Desktop Connection to provide the USB device with the VM. The advantages to this solution are twofold:
Here are the step-by-step instructions.
1.Launch the Remote Desktop Connection Client.
2. Click on the Local Resources tab.
3. Note the third group that states Local devices and resources. This allows you to share devices attached to your physical computer with the machine that you’re remoting into, regardless of whether it’s a physical or virtual machine.
4. Click on the More… button.
5. Notice that you can now select which devices you’d like to share through the Remote Desktop Connection. You can see that both Smart cards and any storage device can be connected.
In this secondary (and relatively uncommon) scenario, you have a server workload that requires access to a USB device such as a dongle for licensing purposes. In this scenario, using Remote Desktop Connection doesn’t satisfy a production workload requirement because the server workload needs access to the USB dongle without requiring someone to log in.
However, there’s another challenge.
By virtue of the fact that the application is employing a dongle in the first place, the application is likely an expensive and valuable asset they want to protect and minimize any downtime. While customers want the server workload to have access to the USB dongle so the workload can run within the virtual machine, they also require that virtual machines still have the ability to Live Migrate for load balancing, no downtime servicing and failover if needed.
Solution: For this scenario, the solution is to use a USB over IP solution. There are a number of options on the market which provide transparent access to USB devices over TCP/IP and can cost as little as $45 per device. Here are two such examples:
With this solution our customers achieve both USB dongle access within a VM without sacrificing VM Mobility.
Thanks! This a valuable piece of information re: USB dongle connectivity over IP. Thanks again!