Sun Cluster 3.0 System Administration Guide

4.1.7 How to Bring a Node Out of Maintenance State and Reset Quorum

After a quorum device or a node has been in maintenance state, and is being brought back online, use the following procedure to reset the quorum vote count to the default. For cluster nodes, the default quorum count is one. For quorum devices, the default quorum count is N-1, where N is the number of nodes with non-zero vote counts that have ports to the quorum device.

When a node has been put into maintenance state, the node's quorum vote count is decremented by one. All quorum devices that are configured with ports to the node will also have their quorum vote counts decremented. When the quorum vote count is reset and a node is brought back out of maintenance state, both the node's quorum vote count and the quorum device vote count are incremented by one.

You should run this procedure any time a node or a quorum device has been put into maintenance state and you are bringing it out of maintenance state.


Caution - Caution -

If you do not specify either the globaldev or node options, the quorum count is reset for the entire cluster.


  1. Become superuser on a node of the cluster.

  2. Reset the quorum count.

    This sample shows the quorum count being reset for a quorum device. Refer to "4.1.7.2 Example--Resetting the Quorum Vote Count (Cluster Node and Quorum Devices)" for an example using a cluster node rather than a quorum device.

    For a cluster node, reset the quorum count from another node before rebooting the node or it might hang waiting for quorum.


    # scconf -c -q globaldev=device,reset
    
    -c

    Specifies the change form of the scconf command.

    -q

    Manages the quorum options.

    globaldev=device

    Specifies the DID name of the quorum device to reset, for example, d4.

    reset

    The change flag that resets quorum.

  3. If you are resetting the quorum count because a node was in maintenance state, reboot the node.

  4. Verify the quorum vote count.


    # scconf -p | grep -i quorum
    

4.1.7.1 Example--Resetting the Quorum Vote Count (Quorum Device)

The following example resets the quorum count for a quorum device back to the default and verifies the result.


# scconf -c -q globaldev=d20,reset
# scconf -p | grep -i quorum
  Node quorum vote count:                          1
  Node quorum vote count:                          1
Quorum devices:                                    d20
Quorum device name:                                d20
  Quorum device votes:                             1
  Quorum device enabled:                           yes
  Quorum device path:                              /dev/did/rdsk/d20s2
  Quorum device hosts (enabled):                   phys-schost-2 phys-schost-3
  Quorum device hosts (disabled): 

4.1.7.2 Example--Resetting the Quorum Vote Count (Cluster Node and Quorum Devices)

The following example resets the quorum count for a cluster node and its quorum devices back to their defaults and verifies the result.


# scconf -c -q node=phys-schost-1,reset
# scconf -pv | grep -i vote
 Node quorum vote count:           1
 Node quorum vote count:           1
 Node quorum vote count:           1
 (d20) Quorum device votes:                        1
 (d21) Quorum device votes:                        1