Sun Cluster System Administration Guide for Solaris OS

ProcedureHow to Add a SCSI Quorum Device

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

Steps
  1. Become superuser on any node of the cluster.

  2. Start the scsetup utility.


    # scsetup
    

    The scsetup Main Menu is displayed.

  3. Type the number that corresponds to the option for Quorum.

    The Quorum Menu is displayed.

  4. Type the number that corresponds to the option for adding a quorum device, then type yes when the scsetup utility asks you to confirm that you want to add a quorum device.

    The scsetup utility asks what type of quorum device you want to add.

  5. Type the number that corresponds to the option for a SCSI quorum device.

    The scsetup utility asks which global device you want to use .

  6. Type the global device you are using.

    The scsetup utility asks you to confirm that the new quorum device should be added the global device you specified.

  7. Type yes to continue adding the new quorum device.

    If the new quorum device is added successfully, the scsetup utility displays a message to that affect.

  8. Verify that the quorum device has been added.


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


Example 5–1 Adding a SCSI Quorum Device

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


Become superuser on any cluster node.

[Execute the scsetup utility:]
# scsetup
Select Quorum>Add a quorum device.
Select SCSI device.
Type the global device your are using.
d20
Type yes to continue adding the new quorum device.

yes
[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 added:]
# 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/d20s1  1        1       Online
  Device votes:  /dev/did/rdsk/d20s2  1        1       Online