Introduction
This series of articles will cover the build of a two-node cluster running Solaris Cluster 4.1 on Solaris 11 x86. A few failover resource types will be introduced, and the end setup will have highly-available zones deployed to it. I’ll also install iPlanet on one of the zones, to illustrate how to incorporate an SMF service within a zone into the cluster-managed framework, after cloning it to save time in creating a second zone.
This is all being done under VMware Fusion 5.0 on Mac OS X. As VMware Fusion does not support disk sharing, I’ll also build a third Solaris 11 node for use as an iSCSI target and Quorum Server. Later in the process, I’ll remove the Quorum Server from the mix (as when I thought about it, an iSCSI LUN can be used for this purpose). I’ve still kept the Quorum Server details in the article, however, as it’s still of interest. Solaris 11 has totally changed the way iSCSI sharing happens, too. You have to configure COMSTAR - gone is zfs set shareiscsi=on :/
To start with, I installed Solaris 11/11 onto three VMs, clusternode1 and clusternode2 (each with 1.5GB RAM), and storagenode (with 1GB RAM). Both cluster nodes have a single 20GB disk for use as rpool, and the storagenode has a 20GB disk for rpool, and two additional 10GB disks for use as iSCSI LUNs on ZFS volumes. These LUNs will be presented to our cluster, and used for failover storage - which will then be used as the zonepaths for our highly-available zones. The node details are:
- 10.1.1.70 - storageserver - iSCSI target and quorum server
- 10.1.1.71 - ha-zone-1 - Zone to be provisioned to host iPlanet
- 10.1.1.72 - ha-zone-2 - Zone to be provisioned to illustrate cloning
- 10.1.1.80 - clusternode1 - Solaris Cluster 4.1 node
- 10.1.1.90 - clusternode2 - Solaris Cluster 4.1 node
Each cluster node has four network interfaces, as follows:
net0-e1000g0- Public networknet1-e1000g1- Public networknet2-e1000g2-vmnet2- a private host-only network (with no other hosts on it)net3-e1000g3-vmnet4- a private host-only network (with no other hosts on it)
net0 and net1 will be configured as an IPMP group with transitive probing. net2 and net3 will be used as private cluster interconnects. It is important that no other hosts are using the interconnect networks, otherwise the cluster installation software will detect the traffic and complain, as it could interfere with cluster communications.
Let’s start with some basic preparation …