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 cluser in VMware Workstation:
- Create a new guest virtual machine with the following settings:
- RAM: 320Mb
- HDD0: SCSI, 4 GB
- Ethernet 1: Bridged
- Ethernet 2: Host-only
- Power: Shut Down Guest
- Power: Restart Guest
- Shared Folders: (if required)
- Advanced: Enable Template mode
Install Windows Server 2003, Enterprise Edition. This is best installed from an integrated Windows Server 2003 Service Pack 1 source;
Install the following software/updates:
- All current updates from Windows Update/WSUS;
- VMware Tools.
- 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.
Make any other system changes to the guest machine as required. Shutdown the machine.
Create two clone machines from this source. Example:
- Cluster Node A; and
- Cluster Node B.
- 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.
- 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.virtualDev = "lsilogic"
- Modify the additional hard drives to be attached to the new SCSI channel. Example:
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:
diskLib.dataCacheMaxSize = "0"
Add the same lines to the VMware Configuration of Cluster Node B.
Start VMware Workstation and start Cluster Node A. Configure the new disks as Basic disks, format them with NTFS and assign drive letters.
Start Cluster Node B and assign the same drive letters to the same disks.
Configure a new cluster with the Operating System.
Install your favourite cluster aware software, such as Exchange Server.