Oracle® Solaris Cluster Software Installation Guide

Exit Print View

Updated: September 2014, E39580-02
 
 

How to Update Quorum Devices After Adding a Node to a Global Cluster

If you added a node to a global cluster, you must update the configuration information of the quorum devices regardless of whether you use shared disks, NAS devices, a quorum server, or a combination. To do this, you remove all quorum devices and update the global-devices namespace. You can optionally reconfigure any quorum devices that you still want to use. This update registers the new node with each quorum device, which can then recalculate its vote count based on the new number of nodes in the cluster.

Any newly configured SCSI quorum devices will be set to SCSI-3 reservations.

Before You Begin

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

  1. On any node of the cluster, assume the root role.
  2. Ensure that all cluster nodes are online.
    phys-schost# cluster status -t node
  3. View the current quorum configuration.

    Command output lists each quorum device and each node. The following example output shows the current SCSI quorum device, d3.

    phys-schost# clquorum list
    d3
    …
  4. Note the name of each quorum device that is listed.
  5. Remove the original quorum device.

    Perform this step for each quorum device that is configured.

    phys-schost# clquorum remove device-name
    device-name

    Specifies the name of the quorum device.

  6. Verify that all original quorum devices are removed.

    If the removal of the quorum devices was successful, no quorum devices are listed.

    phys-schost# clquorum status
  7. Update the global-devices namespace.
    phys-schost# cldevice populate

    Note -  This step is necessary to prevent possible node panic.
  8. On each node, verify that the cldevice populate command has completed processing before you attempt to add a quorum device.

    The cldevice populate command executes remotely on all nodes, even through the command is issued from just one node. To determine whether the cldevice populate command has completed processing, run the following command on each node of the cluster:

    phys-schost# ps -ef | grep scgdevs
  9. (Optional) Add a 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 and choose the shared device from the output.
      phys-schost# cldevice list -v

      Output resembles the following:

      DID Device          Full Device Path
      ----------          ----------------
      d1                  phys-schost-1:/dev/rdsk/c0t0d0
      d2                  phys-schost-1:/dev/rdsk/c0t6d0
      d3                  phys-schost-2:/dev/rdsk/c1t1d0
      d3                  phys-schost-1:/dev/rdsk/c1t1d0
      …
    2. Configure the shared device as a quorum device.
      phys-schost# clquorum add -t type device-name
      –t type

      Specifies the type of quorum device. If this option is not specified, the default type shared_disk is used.

    3. Repeat for each quorum device that you want to configure.
    4. Verify the new quorum configuration.
      phys-schost# clquorum list

      Output should list each quorum device and each node.

Example 3-4  Updating SCSI Quorum Devices After Adding a Node to a Two-Node Cluster

The following example identifies the original SCSI quorum device d2, removes that quorum device, lists the available shared devices, updates the global-device namespace, configures d3 as a new SCSI quorum device, and verifies the new device.

phys-schost# clquorum list
d2
phys-schost-1
phys-schost-2

phys-schost# clquorum remove d2
phys-schost# clquorum status
…
--- Quorum Votes by Device ---

Device Name       Present      Possible      Status
-----------       -------      --------      ------

phys-schost# cldevice list -v
DID Device          Full Device Path
----------          ----------------
…
d3                  phys-schost-2:/dev/rdsk/c1t1d0
d3                  phys-schost-1:/dev/rdsk/c1t1d0
…
phys-schost# cldevice populate
phys-schost# ps -ef - grep scgdevs
phys-schost# clquorum add d3
phys-schost# clquorum list
d3
phys-schost-1
phys-schost-2

Next Steps

Go to How to Verify the Quorum Configuration and Installation Mode.