You do not need to configure quorum devices in the following circumstances:
You chose automatic quorum configuration during Sun Cluster software configuration.
You installed a single-node cluster.
You added a node to an existing cluster and already have sufficient quorum votes assigned.
Instead, proceed to How to Verify the Quorum Configuration and Installation Mode.
Perform this procedure one time only, after the cluster is fully formed. Use this procedure to assign quorum votes and then to remove the cluster from installation mode.
Perform the following preparations to configure a quorum server or a NAS device as a quorum device.
To configure a quorum server as a quorum device, do the following:
Install the Sun Cluster Quorum Server software on the quorum server host machine and start the quorum server. For information about installing and starting the quorum server, see Sun Cluster Quorum Server User’s Guide.
Ensure that network switches that are directly connected to cluster nodes meet one of the following criteria:
The switch supports Rapid Spanning Tree Protocol (RSTP).
Fast port mode is enabled on the switch.
One of these features is required to ensure immediate communication between cluster nodes and the quorum server. If this communication is significantly delayed by the switch, the cluster interprets this prevention of communication as loss of the quorum device.
Have available the following information:
A name to assign to the configured quorum device
The IP address of the quorum server host machine
The port number of the quorum server
To configure a Network Appliance network-attached storage (NAS) device as a quorum device, do the following:
Install the NAS device hardware and software. See Chapter 1, Installing and Maintaining Network Appliance Network-Attached Storage Devices in a Sun Cluster Environment, in Sun Cluster 3.1 - 3.2 With Network-Attached Storage Devices Manual for Solaris OS and your device documentation for requirements and installation procedures for NAS hardware and software.
Have available the following information:
The name of the NAS device
The LUN ID of the NAS device
See the following Network Appliance NAS documentation for information about creating and setting up a Network Appliance NAS device and LUN. You can access the following documents at http://now.netapp.com.
Task |
Network Appliance Documentation |
---|---|
Setting up a NAS device |
System Administration File Access Management Guide |
Setting up a LUN |
Host Cluster Tool for Unix Installation Guide |
Installing ONTAP software |
Software Setup Guide, Upgrade Guide |
Exporting volumes for the cluster |
Data ONTAP Storage Management Guide |
Installing NAS support software packages on cluster nodes |
Log in to http://now.netapp.com. From the Software Download page, download the Host Cluster Tool for Unix Installation Guide. |
To use a quorum server as a quorum device, prepare the cluster to communicate with the quorum server.
If the public network uses variable-length subnetting, also called Classless Inter-Domain Routing (CIDR), modify the following files on each node.
If you use classful subnets, as defined in RFC 791, you do not need to perform these steps.
Add to the /etc/inet/netmasks file an entry for each public subnet that the cluster uses.
The following is an example entry which contains a public-network IP address and netmask:
10.11.30.0 255.255.255.0 |
Append netmask + broadcast + to the hostname entry in each /etc/hostname.adapter file.
nodename netmask + broadcast + |
Ensure that the IP address of the quorum server is included in the /etc/inet/hosts or /etc/inet/ipnodes file on each node in the cluster.
If you use a naming service, ensure that the quorum server is included in the name-to-address mappings.
On one node, become superuser.
To use a shared SCSI disk as a quorum device, verify device connectivity to the cluster nodes and choose the device to configure.
From one node of the cluster, display a list of all the devices that the system checks.
You do not need to be logged in as superuser to run this command.
phys-schost-1# cldevice list -v |
Output resembles the following:
DID Device Full Device Path ---------- ---------------- d1 pcircinus1:/dev/rdsk/c0t0d0 d2 pcircinus1:/dev/rdsk/c0t6d0 d3 pcircinus2:/dev/rdsk/c1t1d0 d3 pcircinus1:/dev/rdsk/c1t1d0 … |
Ensure that the output shows all connections between cluster nodes and storage devices.
Determine the global device-ID name of each shared disk that you are configuring as a quorum device.
Any shared disk that you choose must be qualified for use as a quorum device. See Quorum Devices for further information about choosing quorum devices.
Use the scdidadm output from Step a to identify the device–ID name of each shared disk that you are configuring as a quorum device. For example, the output in Step a shows that global device d2 is shared by phys-schost-1 and phys-schost-2.
phys-schost# clsetup |
The Initial Cluster Setup screen is displayed.
If the Main Menu is displayed instead, initial cluster setup was already successfully performed. Skip to Step 9.
Answer the prompt Do you want to add any quorum disks?.
Specify what type of device you want to configure as a quorum device.
Specify the name of the device to configure as a quorum device.
For a quorum server, also specify the following information:
The IP address of the quorum server host
The port number that is used by the quorum server to communicate with the cluster nodes
For a Network Appliance NAS device, also specify the following information:
The name of the NAS device
The LUN ID of the NAS device
At the prompt Is it okay to reset "installmode"?, type Yes.
After the clsetup utility sets the quorum configurations and vote counts for the cluster, the message Cluster initialization is complete is displayed. The utility returns you to the Main Menu.
Quit the clsetup utility.
Verify the quorum configuration and that installation mode is disabled. Go to How to Verify the Quorum Configuration and Installation Mode.
Interrupted clsetup processing - If the quorum setup process is interrupted or fails to be completed successfully, rerun clsetup.
Changes to quorum vote count - If you later increase or decrease the number of node attachments to a quorum device, the quorum vote count is not automatically recalculated. You can reestablish the correct quorum vote by removing each quorum device and then add it back into the configuration, one quorum device at a time. For a two-node cluster, temporarily add a new quorum device before you remove and add back the original quorum device. Then remove the temporary quorum device. See the procedure “How to Modify a Quorum Device Node List” in Chapter 6, Administering Quorum, in Sun Cluster System Administration Guide for Solaris OS.