Sun Cluster 3.1 10/03 System Administration Guide

How to Add a Quorum Device

You can also accomplish this procedure by using the SunPlex Manager GUI. See the SunPlex Manager online help for more information.

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

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

  1. Become superuser on any node of the cluster.

  2. Enter the scsetup utility.


    # scsetup
    

    The Main Menu is displayed.

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

    The Quorum Menu is displayed.

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

    Follow the instructions and type the name of 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.

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.


Become superuser on any cluster node.
[Execute the scsetup utility:]
# scsetup
Select Quorum>Add a quorum disk.
Answer the questions when prompted.
[Verify that the scconf command completed successfully:]
 
scconf -a -q globaldev=d20
 
    Command completed successfully.
Quit the scsetup Quorum Menu and Main Menu.
[Verify the quorum device is removed:]
# 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
                 -----------         ------- -------- ------
  Device votes:  /dev/did/rdsk/d3s2  1        1       Online
  Device votes:  /dev/did/rdsk/d4s2  1        1       Online