Before you can add a Sun Cluster Quorum Server as a quorum device, the Sun Cluster Quorum Server software must be installed on the host machine and the quorum server must be started and running. For information about installing the quorum server, see the How to Install and Configure Quorum Server Software in Sun Cluster Software Installation Guide for Solaris OS.
The phys-schost# prompt reflects a global-cluster prompt. Perform this procedure on a global cluster.
This procedure provides the long forms of the Sun Cluster commands. Most commands also have short forms. Except for the long and short forms of the command names, the commands are identical. For a list of the commands and their short forms, see Appendix B, Sun Cluster Object-Oriented Commands.
Become superuser or assume a role that provides solaris.cluster.modify RBAC authorization on any node of the cluster.
Make sure that all Sun Cluster nodes are online and can communicate with the Sun Cluster Quorum Server.
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.
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:
Append netmask + broadcast + to the hostname entry in each /etc/hostname.adapter file.
nodename netmask + broadcast +
On each node in the cluster, add the quorum server hostname to the /etc/inet/hosts file or the /etc/inet/ipnodes file.
Add a hostname-to-address mapping to the file, such as the following.
The IP address of the computer where the quorum server is running.
The hostname of the computer where the quorum server is running.
If you use a naming service, add the quorum server host's name-to-address mapping to the name-service database.
Start the clsetup utility.
The clsetup Main Menu is displayed.
Type the number that corresponds to the option for Quorum.
The Quorum Menu is displayed.
Type the number that corresponds to the option for adding a quorum device. Then type yes to confirm that you are adding a quorum device.
The clsetup utility asks what type of quorum device you want to add.
Type the number that corresponds to the option for a quorum-server quorum device. Then type yes to confirm that you are adding a quorum-server quorum device.
The clsetup utility asks you to provide the name of the new quorum device.
Type the name of the quorum device you are adding.
The quorum device name can be any name you choose. The name is only used to process future administrative commands.
The clsetup utility asks you to provide the name of the filer for the new quorum device.
Type the name of the host of the quorum server.
This name specifies the IP address of the machine where the quorum server runs or the hostname of the machine on the network.
Depending on the IPv4 or IPv6 configuration of the host, the IP address of the machine must be specified in the /etc/hosts file, the /etc/inet/ipnodes file, or both.
The machine you specify must be reachable by all cluster nodes and must run the quorum server.
The clsetup utility asks you to provide the port number of the quorum server.
Type the port number that is used by the quorum server to communicate with the cluster nodes.
The clsetup utility asks you to confirm that the new quorum device should be added.
Type yes to continue adding the new quorum device.
If the new quorum device is added successfully, the clsetup utility displays a message to that effect.
Verify that the quorum device has been added.
# clquorum list -v
The following example shows the clquorum command that is generated by clsetup when it adds a quorum server quorum device. The example also shows a verification step.
Become superuser or assume a role that provides solaris.cluster.modify RBAC authorization on any cluster node. [Start the clsetup utility:] # clsetup [Select Quorum > Add a quorum device] [Answer the questions when prompted.] [You will need the following information.] [Information: Example:] [Quorum Device quorum_server quorum device] [Name: qd1] [Host Machine Name: 10.11.124.84] [Port Number: 9001] [Verify that the clquorum command was completed successfully:] clquorum add -t quorum_server -p qshost=10.11.124.84,-p port=9001 qd1 Command completed successfully. [Quit the clsetup Quorum Menu and Main Menu.] [Verify that the quorum device is added:] # clquorum list -v Quorum Type ------- ---- qd1 quorum_server scphyshost-1 node scphyshost-2 node # clquorum status === Cluster Quorum === -- Quorum Votes Summary -- Needed Present Possible ------ ------- -------- 3 5 5 -- Quorum Votes by Node -- Node Name Present Possible Status --------- ------- -------- ------ phys-schost-1 1 1 Online phys-schost-2 1 1 Online -- Quorum Votes by Device -- Device Name Present Possible Status ----------- ------- -------- ------ qd1 1 1 Online d3s2 1 1 Online d4s2 1 1 Online