Sun Cluster System Administration Guide for Solaris OS

Removing or Replacing a Quorum Device

This section provides the following procedures for removing or replacing a quorum device:

ProcedureHow to Remove a Quorum Device

You can also accomplish this procedure by using the Sun Cluster Manager GUI. See the Sun Cluster Manager online help for more information.

When a quorum device is removed, it no longer participates in the voting to establish quorum. Note that all two-node clusters require that at least one quorum device be configured. If this is the last quorum device on a cluster, clquorum(1CL) will fail to remove the device from the configuration. If you are removing a node, remove all quorum devices connected to the node.


Note –

If the device you intend to remove is the last quorum device in the cluster, see the procedure How to Remove the Last Quorum Device From a Cluster.


The phys-schost# prompt reflects a global-cluster prompt. Perform this procedure on a global cluster.

This procedure provides the long forms of the Sun Cluster commands. Most commands also have short forms. Except for the long and short forms of the command names, the commands are identical. For a list of the commands and their short forms, see Appendix B, Sun Cluster Object-Oriented Commands.

  1. Become superuser or assume a role that provides solaris.cluster.modify RBAC authorization on any node in the cluster.

  2. Determine the quorum device to be removed.


    # clquorum list -v
    
  3. Execute the clsetup(1CL) utility.


    # clsetup
    

    The Main Menu is displayed.

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

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

    Answer the questions displayed during the removal process.

  6. Quit clsetup.

  7. Verify that the quorum device is removed.


    # clquorum list -v
    

Example 6–5 Removing a Quorum Device

This example shows how to remove a quorum device from a cluster with two or more quorum devices configured.


Become superuser or assume a role that provides solaris.cluster.modify RBAC authorization on any cluster node.

[Determine the quorum device to be removed:]
# clquorum list -v
[Start the clsetup utility:]
# clsetup
[Select Quorum>Remove a quorum device]
[Answer the questions when prompted.] 
Quit the clsetup Quorum Menu and Main Menu.]
[Verify that the quorum device is removed:]
# clquorum list -v
 
 Quorum         Type
-------         ----
scphyshost-1    node
scphyshost-2    node
scphyshost-3    node

Troubleshooting

If you lose communications between the cluster and the quorum server host while removing a quorum server quorum device, you must clean up stale configuration information about the quorum server host. For instructions on performing this cleanup, see Cleaning Up Stale Quorum Server Cluster Information.

ProcedureHow to Remove the Last Quorum Device From a Cluster

This procedure removes the last quorum device from a cluster. Use this procedure only if you have a two-node cluster and you are removing one of the nodes. If one of the nodes fails, use the -F option to remove the device. Generally, you should first add the replacement quorum device and then remove the failed device. Adding a quorum device involves a node reconfiguration, which touches the failed quorum device and panics the machine. The Force option lets you remove the failed quorum device without panicking the machine.

If the device you intend to remove is not the last quorum device in a two-node cluster, follow the steps in How to Remove a Quorum Device.


Note –

All two-node clusters require at least one configured quorum device. If this is the last quorum device on a two-node cluster, the cluster must be placed into install mode before clquorum(1CL) enables you to remove the device from the configuration. This procedure should only be performed if a node is being removed from the cluster.


The phys-schost# prompt reflects a global-cluster prompt. Perform this procedure on a global cluster.

This procedure provides the long forms of the Sun Cluster commands. Most commands also have short forms. Except for the long and short forms of the command names, the commands are identical. For a list of the commands and their short forms, see Appendix B, Sun Cluster Object-Oriented Commands.

  1. Become superuser or assume a role that provides solaris.cluster.modify RBAC authorization on any node in the cluster.

  2. Place the node to be removed in maintenance state.

    See How to Put a Node Into Maintenance State.

  3. Remove the quorum device by using the clquorumcommand. If the quorum device failed, use the -F Force option to remove the failed device.

    The clsetup(1CL) cluster-administration menu options are not available while the cluster is in install mode.


    # clquorum remove -F qd1
    
  4. Verify that the quorum device has been removed.


    # clquorum list -v
    

Example 6–6 Removing the Last Quorum Device

This example shows how to remove the last remaining quorum device in a cluster configuration.


[Become superuser or assume a role that provides solaris.cluster.modify RBAC authorization on any cluster node.]
[Place the cluster in install mode:]
# cluster set -p installmode=enabled
[Remove the quorum device:]
# clquorum remove d3
[Verify that the quorum device has been removed:]
# clquorum list -v
 Quorum         Type
-------         ----
scphyshost-1    node
scphyshost-2    node
scphyshost-3    node

ProcedureHow to Replace a Quorum Device

Use this procedure to replace an existing quorum device with another quorum device. You can replace a quorum device with a similar device type, such as replacing a NAS device with another NAS device, or you can replace the device with a dissimilar device, such as replacing a NAS device with a shared disk.

The phys-schost# prompt reflects a global-cluster prompt. Perform this procedure on a global cluster.

This procedure provides the long forms of the Sun Cluster commands. Most commands also have short forms. Except for the long and short forms of the command names, the commands are identical. For a list of the commands and their short forms, see Appendix B, Sun Cluster Object-Oriented Commands.

  1. Configure a new quorum device.

    You need to first add a new quorum device to the configuration to take the place of the old device. See Adding a Quorum Device to add a new quorum device to the cluster.

  2. Remove the device that you are replacing as a quorum device.

    See How to Remove a Quorum Device to remove the old quorum device from the configuration.

  3. If the quorum device is a failed disk, replace the disk.

    Refer to the hardware procedures for your disk enclosure in the Sun Cluster 3.1 - 3.2 Hardware Administration Manual for Solaris OS.