Q&A for those new to ESXi 5 (Cloning, Sound, and USB 2.0 handling)

Posted by Paul Braren on Dec 19 2011 (updated on Jan 22 2012) in
  • Virtualization
  • ESXi
  • esxiusbconfiguration

    I've recently received a bunch of ESXi 5.0 related questions. I had really figured most readers were trying to get VMware certified, or already VMware Certified, and naturally, also trying to get an affordable home lab going. But it appears some of the visitors are merely trying to reduce the number of machines they leave running in home, such as for home automation. With the enhanced USB handling, and broader compatibility that ESXi 5.0 now has since August release, this sort of use is becoming much more a viable option.

    Here's the paraphrased questions that have arisen, and my first stab at some first draft replies:

    Dear Tinkererguy:
    ...I'm very happy with the AsRock board and all seems to be going well. I took your advice using a USB stick and to my surprise that seems to be working great. I do have a couple of things that are puzzling me. First, it was not clear to me how to clone the VM to another machine. More specifically, I was not sure which of their 400 versions of software to use. Lastly, have you had any luck with sound from a VM? Did you end up having to use a USB device? Anyway, having fun with this and looks like it will be a great solution for me in eliminating at least two machines for now. Thanks again.

    Tinkererguy's response:

    1) Cloning

    Yes, the VMware “Store” of sorts (the appliance marketplace) is confusing:
    www.vmware.com/appliances

    I do plan to blog about this soon...Cloning (and moving from one drive to another, called Storage vMotion, can be done even when VM is running!) will be available once you get vCenter installed. Then you login to your datacenter with the vSphere client, putting in the name or IP of the vCenter appliance, instead of ESXi 5.0 that you login to now.

    There’s the hard way to get/configure vCenter (configure your own database, install it in Windows 2008 Server, etc), but let’s go with the largely preconfigured vCenter appliance, which gives you all the capability you need, just some very minor limitations:
    vmwire.com/2011/08/09/vmware-vcenter-server-virtual-appliance-vcsa-feature-parity

    Here’s the 3 files you need (it was quite hard to find these direct links):  authenticate the first time you click a link, login, then go back and click each of these to get the 3 files downloaded:

    Link 1

    Link 2

    Link 3

    Here’s the guide to get started with actually importing these files and configuring the VM under ESXi 5.0:
    vmwire.com/2011/07/15/vsphere-vcenter-server-linux-virtual-appliance-quick-start-guide

    2) Sound

    Not sure exactly what you're using sound for, but you could configure passthrough like this:
    TinkerTry.com/usb3passthru/

    Or just use Remote Desktop Connection and get basic sound support from there. I also noticed a full install of VMware Tools into the virtual machine gets some sound options, haven’t played with that yet or even researched it yet, will have to look more into that, meanwhile, check this post out as well.

    Some folks have actually passed video cards through as well:
    disqus.com/dashboard/?query=pcihole.end

    but that gets confusing fast (ESXi boot screens seen on planar VGA, then added graphics cards put out a VM’s DVI/HDMI video).

    I tried this briefly once, went into some wormhole/rabbit hole hybrid, but it didn’t work (but I didn’t care too much either, although having access to GPU stuff in a VM for video rendering would be an interesting future project, using Intel® Quick Sync Video, Intel's built-in hardware acceleration for Sandy Bridge Z68 mobos).

    3) USB

    This info may also help:
    pubs.vmware.com/vsphere-50/index.jsp?topic=/com.vmware.vsphere.vm_admin.doc_50/GUID-3E6E58AA-2AD4-4370-9955-07E5FBDE800D.html

    You can assign a USB 2.0 port to a virtual machine, and install things like Grid Junction, APC PowerChute, or CyberPower Panel from there, as seen in this walkthru video I just created below.