Home > Mac OS X, VMware, VMware ESXi > Creating a VMware ESXi-hosted VM using VMware Fusion 8.x

Creating a VMware ESXi-hosted VM using VMware Fusion 8.x

A new feature in VMware Fusion 8 Professional is the ability to create a new VM on an ESXi 6.x server. This new functionality gives Fusion users on OS X another tool for managing VMs on VMware’s ESXi hypervisor and complements the ability to copy VMs between VMware Fusion and VMware ESXi 5.5.x and 6.x.

There are a few things to know about if you want to create an OS X VM to an ESXi server running 6.x, so I’ve put together a procedure for those who want to leverage Fusion 8.x Pro to create new OS X VMs on ESXi. See below the jump for the details.

There are two issues to be aware of when creating VMs on ESXi 6.x using VMware Fusion 8.x:

  • As of August 27th 2015, ESXi 6.x supports up to VMware’s Hardware Version 11
  • In VMware Fusion 8.0, the new VM’s network interface may not be created correctly

Pre-requisites

  • VMware Fusion 8.x Professional
  • A fully-updated ESXi 6.x server running on Apple hardware. As of August 27th 2015, the latest version should be ESXi 6.0.0b (ESXi600-201507001).

1. Open VMware Fusion 8 Professional

2. Under the File menu, select New…

Screen Shot 2015 08 27 at 8 43 53 AM


3. The Create a New Virtual Machine window will appear.

Screen Shot 2015 08 27 at 12 49 34 PM

 

4. Select Create a virtual machine on a remote server and click the Continue button.

Screen Shot 2015 08 27 at 8 44 02 AM

 

5. The Choose a Server window will appear.

If you’ve connected to this ESXi server previously

Select the server from the list in the Choose a Server window and click the Continue button.

Screen Shot 2015 08 27 at 10 24 10 AM

 

Enter your credentials when prompted and click on the Connect button

Screen Shot 2015 08 27 at 10 24 27 AM

 

If you have not connected to this ESXi server previously

Click the Connect to another server… button

Screen Shot 2015 08 27 at 8 44 45 AM

 

Enter the server name and your credentials when prompted and click on the Connect button

Screen Shot 2015 08 27 at 8 45 24 AM

 

6. Once you’ve connected to the ESXi server, click the Create a new virtual machine button

Screen Shot 2015 08 27 at 8 46 35 AM

 

7. Select the ESXi server and datastore from the Choose a Host and Datastore window and click the Continue button.

Screen Shot 2015 08 27 at 8 47 16 AM

Screen Shot 2015 08 27 at 8 47 23 AM

 

8. Select a hardware version from the Choose a Hardware Version drop-down menu and click the Continue button.

Screen Shot 2015 08 27 at 8 47 36 AM

 

9. Select the guest operating system for the virtual machine and click the Continue button.

Screen Shot 2015 08 27 at 8 47 42 AM

 

In this case, I’m selecting OS X 10.10.x

Screen Shot 2015 08 27 at 8 47 46 AM

 

10. Configure the virtual disk by creating a new virtual disk or use an existing virtual disk. If you create a new virtual disk, use the disk size slider to specify the size of the virtual disk and specify the bus type.

Screen Shot 2015 08 27 at 8 48 43 AM

 

In this case, I’m selecting to create a new disk and specifying SATA for the bus type.

Screen Shot 2015 08 27 at 8 48 53 AM

 

11. Once your choices are complete, click the Continue button.

12. The Finish window displays.

At this point, the VM should be ready to go. However, as mentioned earlier, there may be an issue with the VM’s network interface not being created correctly.

You should be able to check for this from the Finish window by checking the Networking entry. If it says Unknown, that means that the VM’s network interface did not get created correctly.

Screen Shot 2015 08 27 at 8 49 00 AM

 

To fix this, please follow the procedure described below.

1. In the Finish window, click the Customize Settings button

Screen Shot 2015 08 27 at 8 49 01 AM

 

2. In the VM settings, select Network Adapter

Screen Shot 2015 08 27 at 8 49 14 AM


3. In the Network Adapter settings, click the Remove Network Adapter button

Screen Shot 2015 08 27 at 8 49 20 AM

 

4. Confirm that you want to delete the existing network adapter by clicking the Remove button.

Screen Shot 2015 08 27 at 8 49 29 AM

 

5. Verify that Network Adapter no longer appears in the VM settings, then click the Add Device… button

Screen Shot 2015 08 27 at 8 49 37 AM

 

6. In the Add Device window, select Network Adapter

Screen Shot 2015 08 27 at 8 49 43 AM

 

7. Once Network Adapter has been selected, click the Add… button.

Screen Shot 2015 08 27 at 8 49 48 AM

 

8. In the VM settings, verify that Network Adapter has been added.

Screen Shot 2015 08 27 at 8 50 01 AM

 

9. Select Network Adapter in the VM settings.

10. In the Network Adapter settings, click the Generate button to create a new MAC address for the network adapter.

Screen Shot 2015 08 27 at 8 50 06 AM

 

11. Verify that a MAC address is now being displayed in the MAC Address: entry.

Screen Shot 2015 08 27 at 8 50 13 AM

At this point, you may also want to make other changes to the VM settings like increasing memory or adding processors, but that’s up to you.

Screen Shot 2015 08 27 at 8 50 00 AM

 

Once all changes have been completed, you should be able to boot the VM.

Screen Shot 2015 08 27 at 8 51 12 AM

Categories: Mac OS X, VMware, VMware ESXi
  1. MattF.
    August 27, 2015 at 6:55 pm

    How do you get around the fact that the EULA for OS X doesn’t allow their OS inside a virtual machine like this?

    • August 27, 2015 at 7:01 pm

      By reading Apple’s EULA. Here’s Yosemite’s:

      Click to access OSX10103.pdf

      Here’s the relevant section:

      ——–

      (iii) to install, use and run up to two (2) additional copies or instances of the Apple Software within virtual operating system environments on each Mac Computer you own or control that is already running the Apple Software, for purposes of: (a) software development; (b) testing during software development; (c) using OS X Server; or (d) personal, non-commercial use.

      ——–

      Here’s VMware’s guidance on Apple’s EULA:

      http://kb.vmware.com/kb/1000131

  2. jhbush
    August 27, 2015 at 7:26 pm

    What media are you using to install from in this scenario? It looks like it’s still using the Recovery HD just like a local OS X vm would.

  3. Régis Duchesne
    August 31, 2015 at 10:30 am

    You created a blank OS X VM, how is it able to find a bootloader in order to boot (the white-on-black Apple logo you show in the screenshot)?

    Did you also configure a separate NetBoot server by any chance?

    • August 31, 2015 at 3:22 pm

      Yes, I had a NetBoot server available and the VM booted from that.

  4. September 11, 2015 at 2:04 pm

    I have a robust NetBoot environment. I have casperImaging NB sets as well as 10.10.5 NetInstall and NetRestores. All the VM’s I create using the above method hang on boot. Am I missing something?

    • September 14, 2015 at 1:44 pm

      After doing some digging, at least I’m my experience, ESXi is not correctly adding the smc.present=”TRUE” key to the .vmx file. Having added that key the VM will boot to my .nbi’s. However, the vmdk isn’t attaching. Looks like there are some missing keys in the .vmx file. I’ll be digging in further today. Is anyone else seeing this behavior?

      • H. Talbot
        September 19, 2015 at 1:07 am

        I’ve uploaded a working osx 10.10 vm onto a esxi 6 server using Fusion 8 pro, and indeed the Esxi version is not seeing the boot disk for some reason.

      • September 21, 2015 at 2:17 pm

        Here’s what I’ve found so far. Uploading a working VM seems to leave behind the .vmdk. I haven’t found a work around for this. If I create a new VM on the remoter server through Fusion Pro 8. The .vmdk (Virtual Hard Disk) IS created but remains unformatted. Booting to a Casper Imaging.nbi and presumably any other bootable network drive, and using DiskUtility to format the drive results in a VM that is ready for imaging/Installation.

  5. November 29, 2015 at 12:00 am

    hi I have the Problem that I can’t see the Datastores under Step 7. Did anyone hat such a Problem ? I can see my esxi 6 Server with my Fusion 8 Pro but not the DataStores.
    Any suggestions ?

    many Thanks Michael

  1. No trackbacks yet.

Leave a comment