How to Replace a Quorum Device
Configure a new quorum device on the storage enclosure that currently includes the disk to be replaced.
You need to first add a new quorum device to the configuration to take the place of the old device. See How to Add a Quorum Device to add a new quorum device to the cluster.
Remove the failed disk as a quorum device.
See How to Remove a Quorum Device to remove the old quorum device from the configuration.
Replace the failed disk.
Refer to the hardware procedures for your disk enclosure in theSun Cluster 3.1 Hardware Administration Manual .
How to Modify a Quorum Device Node List
You can use the scsetup(1M) utility to add a node to or remove a node from the node list of an existing quorum device. To modify a quorum device's node list, you must remove the quorum device, modify the physical connections of nodes to the quorum device you removed, then add the quorum device to the cluster configuration again. When a quorum device is added, scconf(1M) automatically configures the node-to-disk paths for all nodes attached to the disk.
Become superuser on any node of the cluster.
Determine the name of the quorum device you are modifying.
# scconf -p | grep Quorum
Enter the scsetup utility.
# scsetup
The Main Menu is displayed.
Type 1 (Quorum) to work with quorum devices.
The Quorum Menu is displayed.
Type 2 (Remove a quorum disk) to remove the quorum device.
Follow the instructions. You will be asked the name of the disk to be removed.
Add or delete the physical node connections to the quorum device.
Type 1 (Add a quorum disk) to add a quorum device.
Follow the instructions. You will be asked the name of the disk to be used as the quorum device.
Verify that the quorum device has been added.
# scstat -q
Example--Modifying a Quorum Device Node List
The following example shows how to use the scsetup utility to add nodes to or delete nodes from a quorum device node list. In this example, the quorum device name is d2, and the final result of the procedures adds another node to the quorum device node list.
[Become superuser on any node in the cluster.]
[Determine the quorum device name:]
# scconf -p | grep Quorum
Quorum devices: d2
Quorum device name: d2
Quorum device votes: 1
Quorum device enabled: yes
Quorum device name: /dev/did/rdsk/d2s2
Quorum device hosts (enabled): phys-host-1 phys-host-2
Quorum device hosts (disabled):
[Execute the utility:]
# scsetup
Type 1 (Quorum).
Type 2 (Remove a quorum disk).
Answer the questions when prompted.
You Will Need: Example:
quorum device name d2
[Verify that the scconf command completed successfully:]
scconf -r -q globaldev=d2
Command completed successfully.
Type 1 (Quorum).
Type 1 (Add a quorum disk).
Answer the questions when prompted.
You Will Need: Example:
quorum device name d2
[Verify that the scconf command completed successfully:]
scconf -a -q globaldev=d2
Command completed successfully.
Quit the scsetup utility.
[Verify that the correct nodes have paths to the quorum device.
In this example, note that phys-schost-3 has been added to the
enabled hosts list.]
# scconf -p | grep Quorum
Quorum devices: d2
Quorum device name: d2
Quorum device votes: 2
Quorum device enabled: yes
Quorum device name: /dev/did/rdsk/d2s2
Quorum device hosts (enabled): phys-schost-1 phys-schost-2
phys-schost-3
Quorum device hosts (disabled):
[Verify that the modified quorum device is online.]
# scstat -q
-- Quorum Votes by Device --
Device Name Present Possible Status
----------- ------- -------- ------
Device votes: /dev/did/rdsk/d2s2 1 1 Online
[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
|



