USB hubs in VMs

Discussion in 'Virtualized Computing' started by NeghVar, Oct 31, 2018.

  1. NeghVar

    NeghVar 2[H]4U

    Messages:
    2,373
    Joined:
    May 1, 2003
    If I plug in a USB hub to a USB port which is bridged to the VM, will all the ports on the hub be part of the VM too?
     
  2. Spartacus09

    Spartacus09 Limp Gawd

    Messages:
    463
    Joined:
    Apr 21, 2018
    It should assuming pasthrough is working properly, I did this with vmware on a Dell poweredge on esxi 5.0 way back when.
     
  3. SGalbincea

    SGalbincea [H]Lite

    Messages:
    99
    Joined:
    Aug 14, 2008
  4. Eickst

    Eickst [H]ard|Gawd

    Messages:
    1,781
    Joined:
    Aug 24, 2005
    No experience with that particular unit, I do second the advice though. Using an IP based USB port makes life easy when you have to move VM's around. I've used stuff like this in the past to get around those USB hardlock keys for some server software that insists on using it for licensing
     
  5. kdh

    kdh Gawd

    Messages:
    681
    Joined:
    Mar 16, 2005
    Wow, thats kind of cool you can do that, never thought of doing that. What is the use case?
     
  6. Spartacus09

    Spartacus09 Limp Gawd

    Messages:
    463
    Joined:
    Apr 21, 2018
    For ours we wanted our badge system to be a VM rather than a physical box however it required a USB authentication key to allow use of the software, we did USB passthrough accordingly.
     
    Sulphademus likes this.
  7. kdh

    kdh Gawd

    Messages:
    681
    Joined:
    Mar 16, 2005
    Damn, thats pretty slick.
     
  8. dbwillis

    dbwillis [H]ardness Supreme

    Messages:
    7,153
    Joined:
    Jul 9, 2002
    We use the Digi USB over IP connections as well, they work great
     
  9. ironforge

    ironforge [H]ard|Gawd

    Messages:
    1,213
    Joined:
    Feb 7, 2006
    We have a digi 4 port USB in our environment. Use it for USB license dongles and have it passed-through to a VM license server. Used to have a physical license server with the key plugged in the back, not anymore! Works great.

    Just for kicks I have also passed-through a usb to serial port adapter on my desktop PC, to a VM. Had the serial port plugged into a cisco switch. Now you can console into the switch from the VM. Handy if you want a vendor to remote into your VM and you can erase it when he's done.
     
    Sulphademus likes this.
  10. Easius

    Easius Limp Gawd

    Messages:
    330
    Joined:
    Jan 1, 2009
    I've just ordered one of the Digi 5 port Anywhere USB... hoping to plug in digital certificate USB tokens in so our VDI users can sign documents anywhere without having to bring to PC with USB token. Hope it works.
     
  11. Spartacus09

    Spartacus09 Limp Gawd

    Messages:
    463
    Joined:
    Apr 21, 2018
    Just keep in mind with passthrough it's assigned to a specific VM, and depending on your VDI infrastructure may not assign the same VM to the same user each time (or is yours small enough you have dedicated VMs to dedicated users?).
     
  12. Easius

    Easius Limp Gawd

    Messages:
    330
    Joined:
    Jan 1, 2009
    Yes luckily small enough with dedicated VMs.