OS X Based Headless VM Server

Discussion in 'Mac OS X Server, Xserve, and Networking' started by Leslie.Hon, Oct 26, 2013.

  1. Leslie.Hon macrumors member

    Apr 27, 2008

    I using the ESXi on my 2012 Mac Mini, but after I tried Mavericks Server (OS X Server 3.0).
    The caching server 2 need to run in a native OS X installation. (Run on physical machine for register caching service)

    Now I change back to OS X Mavericks Server as Host OS and running few VM in the VMware Fusion 6
    But these vm should run after manual login and open VMware Fusion.

    I want to make the Mac mini to a headless vm (VMware Fusion / Virtual Box) server with the following function.
    (The VM is Ubuntu Server.)

    1. Can turn on the vm(s) when the computer start (WITHOUT Login)
    2. When the host turn off / reboot, VM will suspend / shutdown before host shutdown. (Admin click shutdown or shutdown button on the login screen)
    3. Can handle different VLAN e.g. VM1 > VLAN10 , VM2 > VLAN20 , HOST > NoVLAN
    4. Run in the background just like a service


    I think launched can handle task1(?) , but how about task2?
    I tried to create VLAN on OS X Host, and bridge the vm to the "interface", but not working
    I tried to make a startup item to power on vm, but notworking (have a vmx process )

    • Mac Mini 2012
    • Thunderbolt Ethernet Adapter (Dual Lan with the onboard)
    • Router: Mikrotik RouterOS 6 (setup some VLAN , can use it with ESXi)
    • VM are Ubuntu Server with no GUI

  2. unplugme71 macrumors 68030

    May 20, 2011
    Get another Mac Mini - run ESXi and run your VM's on that. Use the other Mac Mini for Caching..

    Or switch to Windows -- Hyper-V works pretty well, especially the latest version as you can have a live VM move from one physical host to another.
  3. spencers macrumors 68020


    Sep 20, 2004
    So the problem here is that Caching Server calls home to Apple and binds to the 12-character serial number of the machine. As I'm sure you're aware, any VM on ESXi has a really long VMW#### serial.

    Here's what I ran across https://communities.vmware.com/thread/460831
    As said, make sure you're running ESXi 5.5. I haven't tested this myself, as our Xserve is still running 5.1

Share This Page