Sun Cluster Software Installation Guide for Solaris OS

ProcedureHow to Update SCSI Reservations After Adding a Node

If you added a node to a two-node cluster that uses one or more shared SCSI disks as quorum devices, you must update the SCSI Persistent Group Reservations (PGR). To do this, you remove the quorum devices which have SCSI-2 reservations. If you want to add back quorum devices, the newly configured quorum devices will have SCSI-3 reservations.

Before You Begin

Ensure that you have completed installation of Sun Cluster software on the added node.

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

  2. View the current quorum configuration.

    The following example output shows the status of quorum device d3.


    # scstat -q
    

    Note the name of each quorum device that is listed.

  3. Remove the original quorum device.

    Perform this step for each quorum device that is configured.


    # scconf -r -q globaldev=devicename
    
    -r

    Removes

    -q globaldev=devicename

    Specifies the name of the quorum device

  4. Verify that all original quorum devices are removed.


    # scstat -q
    
  5. (Optional) Add a SCSI quorum device.

    You can configure the same device that was originally configured as the quorum device or choose a new shared device to configure.

    1. (Optional) If you want to choose a new shared device to configure as a quorum device, display all devices that the system checks.

      Otherwise, skip to Step c.


      # scdidadm -L
      

      Output resembles the following:


      1       phys-schost-1:/dev/rdsk/c0t0d0 /dev/did/rdsk/d1
      2       phys-schost-1:/dev/rdsk/c1t1d0 /dev/did/rdsk/d2
      2       phys-schost-2:/dev/rdsk/c1t1d0 /dev/did/rdsk/d2
      3       phys-schost-1:/dev/rdsk/c1t2d0 /dev/did/rdsk/d3
      3       phys-schost-2:/dev/rdsk/c1t2d0 /dev/did/rdsk/d3
      …
    2. From the output, choose a shared device to configure as a quorum device.

    3. Configure the shared device as a quorum device.


      # scconf -a -q globaldev=devicename
      
      -a

      Adds

    4. Repeat for each quorum device that you want to configure.

  6. If you added any quorum devices, verify the new quorum configuration.


    # scstat -q
    

    Each new quorum device should be Online and have an assigned vote.


Example 2–3 Updating SCSI Reservations After Adding a Node

The following example identifies the original quorum device d2, removes that quorum device, lists the available shared devices, and configures d3 as a new quorum device.


(List quorum devices)
# scstat -q
…
-- Quorum Votes by Device --
 
                    Device Name         Present Possible Status
                    -----------         ------- -------- ------
  Device votes:     /dev/did/rdsk/d2s2  1        1       Online

(Remove the original quorum device)
# scconf -r -q globaldev=d2
 
(Verify the removal of the original quorum device)
# scstat -q
…
-- Quorum Votes by Device --
 
                    Device Name         Present Possible Status
                    -----------         ------- -------- ------
 
(List available devices)
# scdidadm -L
…
3       phys-schost-1:/dev/rdsk/c1t2d0 /dev/did/rdsk/d3
3       phys-schost-2:/dev/rdsk/c1t2d0 /dev/did/rdsk/d3
…
 
(Add a quorum device)
# scconf -a -q globaldev=d3
 
(Verify the addition of the new quorum device)
# scstat -q
…
-- Quorum Votes by Device --

                    Device Name         Present Possible Status
                    -----------         ------- -------- ------
  Device votes:     /dev/did/rdsk/d3s2 2        2       Online

Next Steps