Windows Clustering in VMware Workstation 5

Truly geeky people will appreciate the ability to run their mailbox on their very own Exchange cluster running on their laptop. Not quite high availability but high on a list of silly things to do. Here’s how to create a cluster in VMware Workstation:

  1. Create a new guest virtual machine with the following settings:
  • Hardware
    • RAM: 320Mb
    • HDD0: SCSI, 4 GB
    • CDROM
    • Ethernet 1: Bridged
    • Ethernet 2: Host-only
  • Options
    • Power: Shut Down Guest
    • Power: Restart Guest
    • Shared Folders: (if required)
    • Advanced: Enable Template mode
  1. Install Windows Server 2003, Enterprise Edition. This is best installed from an integrated Windows Server 2003 Service Pack 1 source;

  2. Install the following software/updates:

  • All current updates from Windows Update/WSUS;
  • VMware Tools.
  1. Make the following configuration changes:
  • Rename the Host-only adapter: Heartbeat Connection;
  • Unbind Client for Microsoft Networks and File and Printer Sharing for Microsoft Networks from this adapter;
  • Disable NetBIOS over TCP/IP and LMHOSTS lookup on this adapter;
  • Rename the Bridged connection: Public Network Connection.
  1. Make any other system changes to the guest machine as required. Shutdown the machine.

  2. Create two clone machines from this source. Example:

  • Cluster Node A; and
  • Cluster Node B.
  1. Edit the settings of Cluster Node A and create two new SCSI hard disks into a new folder. Do not use an existing folder in which one of the VMs resides.
  • Disk 1: This will be the quorum disk. Make this 0.5 GB and allocate all disk space now.
  • Disk 2: This will be the shared data disk. Make this at least 2.0 GB and allocate all disk space now.
  1. Close VMware Workstation and edit the VMware Configuration File (.VMX) file for this machine and make the following changes:
  • Add the following lines to create a second SCSI channel:
scsi1.present = "TRUE"
scsi1.virtualDev = "lsilogic"
  • Modify the additional hard drives to be attached to the new SCSI channel. Example:

```scsi1:5.present = “TRUE” scsi1:5.fileName = “I:\Cluster Shared\Quorum.vmdk” scsi1:6.present = “TRUE” scsi1:6.fileName = “I:\Cluster Shared\Data.vmdk”


* Add the following lines to disable disk locking and caching:

```disk.locking = "false"
diskLib.dataCacheMaxSize = "0"
  1. Add the same lines to the VMware Configuration of Cluster Node B.

  2. Start VMware Workstation and start Cluster Node A. Configure the new disks as Basic disks, format them with NTFS and assign drive letters.

  3. Start Cluster Node B and assign the same drive letters to the same disks.

  4. Configure a new cluster with the Operating System.

  5. Install your favourite cluster aware software, such as Exchange Server.