In my last post I used two clusters; one to host a high availability (HA) file server where I stored a virtual machine and another cluster to run the virtual machine. The file server cluster was built from two virtual machines (VMs) and is commonly known as a guest cluster. However to enable HA for VM I needed to cluster two physical server (aka my Dell Precision Laptops).
What I could have done was to put both the File Server role and the VM role into the same cluster (which would still have to be built from physical servers), and this what is known as a collapsed cluster. My screencast on how to make one of those is here..
But you may be wondering why you would bother as this seems to be needlessly adding another layer of complexity and another potential source of problems rather than just using a SAN. The answer is that a HA File Server doesn’t have to be built on top of a SAN it could be built on any disks you have including JBOD (Just A Bunch of Disks and SAS (Shared Serially attached SCSI) disks. Hardware vendors are bringing out these cluster in a box appliances ; two servers SAS storage multiple controllers and network interfaces and a collapsed cluster like this is an ideal way to set these up to run lots of VMs in a small business that wants to run its own infrastructure.
The two roles (the VMs and the storage) don’t have to run on the same node, but if you are doing maintenance on one node in a two node cluster then they will have to be.
I used a small disk as a quorum disk which is needed to decide which node “owns” the cluster after a node fails the answer being the one that has ownership of the quorum disk.
Nodes in a Windows Server Clusters need to members of the same domain. Does this mean you have to have a physical domain controller outside the cluster in case of a cluster failure? No clusters in Windows Server 2012 will start without one but remember they need to find each other and so you will need to use things like fixed IP addresses and an etc/hosts file in each node so this can happen before your DNS and DHCP infrastructure comes up. You could also run a DC as a non HA VM on each node of the cluster and these only need modest resources (512Mb RAM 10GB disk etc.)
While I used the evaluation edition of Windows Server 2012, I could have built all of this using the free Hyper-V Server 2012 and while you would still need to license any operating systems in the VMs with this, you can build collapsed clusters/cluster in a box solutions for production with this edition.