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 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.
Ensure that you have completed installation of Sun Cluster software on the added node.
On any node of the cluster, become superuser.
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 … |
Note the name of each quorum device that is listed.
Remove the original quorum device.
Perform this step for each quorum device that is configured.
phys-schost# clquorum remove devicename |
Specifies the name of the quorum device.
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 |
Update the global-devices namespace.
phys-schost# cldevice populate |
This step is necessary to prevent possible node panic.
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 |
(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.
(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.
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 … |
From the output, choose a shared device to configure as a quorum device.
Configure the shared device as a quorum device.
phys-schost# clquorum add -t type devicename |
Specifies the type of quorum device. If this option is not specified, the default type shared_disk is used.
Repeat for each quorum device that you want to configure.
Verify the new quorum configuration.
phys-schost# clquorum list |
Output should list each quorum device and each node.
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 |
Go to How to Verify the Quorum Configuration and Installation Mode.