Sun Cluster 3.0 System Administration Guide

4.1.1 How to Add a Quorum Device

To complete this procedure, identify a disk drive by its device ID (DID) that is shared by the nodes. Use the scdidadm -L command to see the list of DID names. Refer to scdidadm(1M) for additional information.

See scsetup(1M) and scconf(1M) for information on the commands used in this procedure.

  1. Become superuser on a node of the cluster.

  2. Enter the scsetup utility.


    # scsetup
    

    The Main Menu appears.

  3. To work with quorum devices, enter 1 (Quorum).

    The Quorum Menu appears.

  4. To add a quorum device, enter 1 (Add a quorum disk).

    Follow the instructions and enter the device to be used as the quorum device.

  5. Verify that the quorum device has been added.


    # scstat -q 
    
  6. Repeat Step 3 through Step 5 for each group of nodes that shares a storage enclosure.

4.1.1.1 Example--Adding a Quorum Device

The following example shows the scconf command generated by scsetup when it adds a quorum device and a verification step.


# scconf -a -q globaldev=d20
# scstat -q
 
-- Quorum Summary --
 
  Quorum votes possible: 4
  Quorum votes needed:   3
  Quorum votes present:  4
 
-- Quorum Votes by Node --
 
                    Node Name           Present Possible Status
                    ---------           ------- -------- ------
  Node votes:       phys-schost-1       1        1       Online
  Node votes:       phys-schost-2       1        1       Online
 
-- Quorum Votes by Device --
 
                 Device Name         Present Possible Status  Owner
                 -----------         ------- -------- ------  -----
  Device votes:  /dev/did/rdsk/d3s2  1        1       Online  phys-schost-1
  Device votes:  /dev/did/rdsk/d4s2  1        1       Online  phys-schost-1