Virtualize OS X using vSphere on Mac hardware - Part 1

Originally posted on bmspeak.businessmann.dk

In this 3 part blog-series I will provide some information about how to virtualize OS X using vSphere on Mac hardware.

Considering the following questions:

  • What is required to vitualize OS X?
  • Which hardware is supported, and which hardware works?
  • How to license OS X in a virtual environment?
  • What are best practices for running OS X in a virtual environment?
  • How to safely deploy OS X from a template?
  • How to backup OS X in a virtual environment?

What is required to vitualize OS X?

Basically the requirements are same as with any another OS.

  • A computer/server
  • A hypervisor
  • An installer for the Guest OS... Continue reading

vCenter 5.5 install fails during vCenter Server Directory Service installation

Today I was installing a new vCenter 5.5 server for a customer, on a freshly installed Windows Server 2012 VM, which would also be hosting the Micrsoft SQL database locally.

I had already joined the server to the domain and setup Micrsoft SQL Server 2012 SP1, and created the vCenter Database, and an accompanying System DSN, so I was ready to do the vCenter installation.

I chose to install using the Simple Install method, because… well this was a simple installation.

SSO, vSphere Web Client and Inventory Service all installed with any issues.

But during the vCenter Server installation, I got a error... Continue reading

VMworld Europe 2013 – Day 1

I arrived in Barcelona sunday night with my colleagues, Heino Skov and Brian Markussen, and couple of customers... Continue reading

Avoid issues with backup of WordPress using BackWPup

I have used BackWPup in the past to do backup of this WordPress based website, but recently I encountered some problems.

In my original BackWPup setup there was a simple BackWPup-job that just created a ZIP-archive of everything WordPress related at my webhost, One.com, and then sent that ZIP-archive to my Dropbox.com account for offsite storing.

But recently I started receiving error-emails, that the backup did not finish correctly... Continue reading

Creating a never booted OS X template in vSphere 5.1 - Part 7 - Making the template in vCenter 5.1 using the never booted VMDK

I will focus on using the new vSphere Web Client, instead of the classic Windows-based vSphere Client. The following actions is also fully possible to do in the classic Windows-based vSphere Client... Continue reading

Creating a never booted OS X template in vSphere 5.1 - Part 6 - Converting the Sparseimage to VMDK format

The next thing is to convert our Sparseimage to VMDK format. For during this I will be using to Command Line utilities that are installed as part of VMware Fusion.

I would like to thank, a former colleague of mine, Alan Gordon, who is Chief Technology Officer at Humac Group for writing a article at Krypted.com on how to do this... Continue reading

Creating a never booted OS X template in vSphere 5.1 - Part 5 - Obtain VMware Tools from ESXi host and install into the Sparseimage

First we need to enable SSH on a ESXi.

Login to your vCenter through vSphere Web Client and navigate to ‘vCenter -> Host and Clusters’ and choose a ESXi host.

Under the ‘Manage’ tab, select the ‘Settings’ sub-tab.

In list on the left, select ‘Security Profile’, and scroll down to the section named ‘Services’ and click ‘Edit’... Continue reading

Creating a never booted OS X template in vSphere 5.1 - Part 4 - Clone the DMG to a Sparseimage file using Disk Utility.app and then install VMware Tools

The generated DMG image in the ‘Masters’ folder is not a copy of the original System DMG image from the ‘Library’ folder with a applied configuration.

To be precise it is a Read-Only DMG, with a ‘Apple Partition Map’ partition map scheme and it has been resized so that there is only around 100 MB of free space available in it... Continue reading

Creating a never booted OS X template in vSphere 5.1 - Part 3 - Applying a configuration and exporting a Master, using System Image Creator

After the image is created, go to the Main Menu of SIC, and select ‘5) System Setup’, and you will get a menu called ‘Configure System’ as shown below in the screenshot... Continue reading

Creating a never booted OS X template in vSphere 5.1 - Part 2 - Creating an never booted DMG using System Image Creator

Start by downloading the newest version of System Image Creator (SIC) from GitHub https://github.com/mondada/SIC/archive/master.zip.

Unzip the archive, and you should have one (or more) BASH scripts.

Open Terminal.app, located in /Applications/Utilities/, and type ‘sudo’ and then a space. Now drag in the downloaded BASH script, in my case called ‘SIC_1.5.sh’... Continue reading