Introduction
In my previous article, we ended up with a working cluster, with all appropriate cluster software installed. In this article, I’ll start to configure cluster resources. I want to configure two resource groups, ha-zone-1-rg and ha-zone-2-rg. Each resource group will contain a highly-available failover filesystem, a highly-available failover IP address and a highly-available Solaris Zone. I’ll illustrate the process for cloning a zone to save on installation time, as zones in Solaris 11 now use IPS and unless you have a local IPS repository, will connect to http://pkg.oracle.com to download all appropriate packages during zone installation - not something you want to repeat too many times.
A summary of the resources/resource groups I’m looking to create is as follows:
ha-zone-1-rg- Resource group for the first set of failover resourcesha-zone-1-hasp- aSUNW.HAStoragePlusresource for the first failover zpool used for the zonepath for the first failover zone, ha-zone-1ha-zone-1-lh-res- aSUNW.LogicalHostnameresource for the first failover zoneha-zone-1-res- aSUNW.gdsresource, coupled withSUNWsczone/sczbtzone boot registration to create a highly-available zone, ha-zone-1ha-zone-1-http-admin-smf-res- aSUNW.gdsresource, coupled withSUNWsczone/sczsmfzone SMF service registration to create a highly-available iPlanet admin server instanceha-zone-1-http-instance-smf-res- aSUNW.gdsresource, coupled withSUNWsczone/sczsmfzone SMF service registration to create a highly-available iPlanet instanceha-zone-2-rg- Resource group for the second set of failover resourcesha-zone-2-hasp- aSUNW.HAStoragePlusresource for the second failover zpool used for the zonepath for the second failover zone, ha-zone-2ha-zone-2-lh-res- aSUNW.LogicalHostnameresource for the second failover zoneha-zone-2-res- aSUNW.gdsresource, coupled withSUNWsczone/sczbtboot registration to create a highly-available zone, ha-zone-2
This article will cover a lot of ground, much more so than the previous two parts. By the end of the article, you will see two HA resource groups in action, each with a failover zpool and logical hostname resource. I’ll also install the two zones, but won’t make them HA as yet - that’ll be in the next part of the series, as will the configuration of the HA SMF iPlanet resources.
As always, ensure that you read the Oracle Solaris Cluster 4.1 documentation library for full details.
Let’s make a start …