1. Planning the Oracle Solaris Cluster Configuration
2. Installing Software on Global-Cluster Nodes
3. Establishing the Global Cluster
4. Configuring Solaris Volume Manager Software
Configuring Solaris Volume Manager Software
How to Create State Database Replicas
How to Mirror the Root (/) File System
How to Mirror the Global Devices Namespace
How to Mirror File Systems Other Than Root (/) That Cannot Be Unmounted
How to Mirror File Systems That Can Be Unmounted
Creating Disk Sets in a Cluster
How to Add Drives to a Disk Set
How to Repartition Drives in a Disk Set
Configuring Dual-String Mediators
Requirements for Dual-String Mediators
5. Installing and Configuring Veritas Volume Manager
6. Creating a Cluster File System
7. Creating Non-Global Zones and Zone Clusters
8. Installing the Oracle Solaris Cluster Module to Sun Management Center
9. Uninstalling Software From the Cluster
A. Oracle Solaris Cluster Installation and Configuration Worksheets
This section provides information and procedures to configure dual-string mediator hosts.
A single disk string consists of a disk enclosure, its physical drives, cables from the enclosure to the node or nodes, and the interface adapter cards. A dual-string disk set includes disks in two disk strings, and is attached to exactly two nodes. If a single disk string in a dual-string disk set fails, such that exactly half the Solaris Volume Manager replicas remain available, the disk set will stop functioning. Dual-string mediators are therefore required for all Solaris Volume Manager dual-string disk sets. The use of mediators enables the Oracle Solaris Cluster software to ensure that the most current data is presented in the instance of a single-string failure in a dual-string configuration.
A dual-string mediator, or mediator host, is a cluster node that stores mediator data. Mediator data provides information about the location of other mediators and contains a commit count that is identical to the commit count that is stored in the database replicas. This commit count is used to confirm that the mediator data is in sync with the data in the database replicas.
The following table lists the tasks that you perform to configure dual-string mediator hosts. Complete the procedures in the order that is indicated.
Table 4-3 Task Map: Installing and Configuring Solaris Volume Manager Software
|
The following rules apply to dual-string configurations that use mediators.
Disk sets must be configured with two or three mediator hosts. Two of these mediator hosts must be the same two cluster nodes that are used for the disk set. The third may be another node in the cluster or a non-clustered host on the cluster's public network, such as a quorum server.
Mediators cannot be configured for disk sets that do not meet the two-string and two-host criteria.
These rules do not require that the entire cluster consist of only two nodes. An N+1 cluster and many other topologies are permitted under these rules.
Perform this procedure if your configuration requires dual-string mediators.
Before You Begin
If you will use a third mediator host for a dual-string disk set, and that host does not already have disk sets configured, perform the following steps:
Add the entry root to the sysadmingroup in the /etc/group file
Create a dummy disk set by using the command:
phys-schost-3# metaset -s dummy-diskset-name -a -h hostname
phys-schost# metaset -s setname -a -m mediator-host-list
Specifies the disk set name.
Adds to the disk set.
Specifies the name of the node to add as a mediator host for the disk set.
See the mediator(7D) man page for details about mediator-specific options to the metaset command.
Example 4-10 Adding Mediator Hosts
The following example adds the nodes phys-schost-1 and phys-schost-2 as mediator hosts for the disk set dg-schost-1. If needed, repeat the command a third time for a third mediator host. All commands are run from the node that masters the disk set for which you are adding mediator hosts, in this case phys-schost-1.
phys-schost# metaset -s dg-schost-1 -a -m phys-schost-1 phys-schost# metaset -s dg-schost-1 -a -m phys-schost-2 phys-schost# metaset -s dg-schost-1 -a -m phys-schost-3
Next Steps
Check the status of mediator data. Go to How to Check the Status of Mediator Data.
Before You Begin
Ensure that you have added mediator hosts as described in How to Add Mediator Hosts.
phys-schost# medstat -s setname
Specifies the disk set name.
See the medstat(1M) man page for more information.
Go to How to Fix Bad Mediator Data.
Next Steps
Go to How to Create Cluster File Systems to create a cluster file system.
Perform this procedure to repair bad mediator data.
phys-schost# metaset -s setname -d -m mediator-host-list
Specifies the disk set name.
Deletes from the disk set.
Specifies the name of the node to remove as a mediator host for the disk set.
phys-schost# metaset -s setname -a -m mediator-host-list
Adds to the disk set.
Specifies the name of the node to add as a mediator host for the disk set.
See the mediator(7D) man page for details about mediator-specific options to the metaset command.
Next Steps
Determine from the following list the next task to perform that applies to your cluster configuration. If you need to perform more than one task from this list, go to the first of those tasks in this list.
To create cluster file systems, go to How to Create Cluster File Systems.
To create non-global zones on a node, go to How to Create a Non-Global Zone on a Global-Cluster Node.
SPARC: To configure Sun Management Center to monitor the cluster, go to SPARC: Installing the Oracle Solaris Cluster Module for Sun Management Center.
Install third-party applications, register resource types, set up resource groups, and configure data services. See the documentation that is supplied with the application software and the Oracle Solaris Cluster Data Services Planning and Administration Guide.