Sun Cluster Software Installation Guide for Solaris OS

How to Perform Postinstallation Setup and Configure Quorum Devices


Note –

You do not need to configure quorum devices in the following circumstances:

Instead, proceed to How to Verify the Quorum Configuration and Installation Mode.


Perform this procedure one time only, after the cluster is fully formed. Use this procedure to assign quorum votes and then to remove the cluster from installation mode.

  1. From one node, verify that all nodes have joined the cluster.

    Run the scstat(1M) command to display a list of the cluster nodes. You do not need to be logged in as superuser to run this command.


    % scstat -n
    

    Output resembles the following.


    -- Cluster Nodes --
                               Node name      Status
                               ---------      ------
      Cluster node:            phys-schost-1  Online
      Cluster node:            phys-schost-2  Online

  2. On each node, verify device connectivity to the cluster nodes.

    Run the scdidadm(1M) command to display a list of all the devices that the system checks. You do not need to be logged in as superuser to run this command.


    % scdidadm -L
    

    The list on each node should be the same. 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
    …

  3. If you are adding a new node to an existing cluster, determine whether you need to update the quorum configuration to accommodate your cluster's new configuration.

    If this is a new cluster, proceed to Step 4.

    1. See “Quorum Devices” in Sun Cluster Overview for Solaris OS and Sun Cluster Concepts Guide for Solaris OS for information about quorum.

    2. If you need to change the quorum configuration, follow procedures in “Administering Quorum” in Sun Cluster System Administration Guide for Solaris OS.

    3. When the modified quorum configuration is satisfactory, go to How to Verify the Quorum Configuration and Installation Mode.

  4. Determine the global device-ID name of each shared disk that you are configuring as a quorum device.


    Note –

    Any shared disk that you choose must be qualified for use as a quorum device. See Quorum Devices for further information about choosing quorum devices.


    Use the scdidadm output from Step 2 to identify the device–ID name of each shared disk that you are configuring as a quorum device. For example, the output in Step 2 shows that global device d2 is shared by phys-schost-1 and phys-schost-2. You use this information in Step 7.

  5. Become superuser on one node of the cluster.

  6. Start the scsetup(1M) utility.


    # scsetup
    

    The Initial Cluster Setup screen is displayed.


    Note –

    If the Main Menu is displayed instead, initial cluster setup was already successfully performed. Skip to Step 9.


  7. Answer the prompt Do you want to add any quorum disks?.

    • If your cluster is a two-node cluster, you must configure at least one shared quorum device. Type Yes and follow the prompts to configure one or more quorum devices.

    • If your cluster has three or more nodes, quorum device configuration is optional. Type No if you do not want to configure additional quorum devices or type Yes to configure more quorum devices.


    Tip –

    If you later increase or decrease the number of node attachments to a quorum device, the quorum vote count is not automatically recalculated. You can reestablish the correct quorum vote by removing each quorum device and then add it back into the configuration, one quorum device at a time.

    For a two-node cluster, temporarily add a new quorum device before you remove and add back the original quorum device. Then remove the temporary quorum device.

    See the procedure “How to Modify a Quorum Device Node List” in “Administering Quorum” in Sun Cluster System Administration Guide for Solaris OS.


  8. At the prompt Is it okay to reset "installmode"?, type Yes.

    After the scsetup utility sets the quorum configurations and vote counts for the cluster, the message Cluster initialization is complete is displayed. The utility returns you to the Main Menu.


    Tip –

    If the quorum setup process is interrupted or fails to be completed successfully, rerun scsetup.


  9. Quit the scsetup utility.

  10. Verify the quorum configuration and that installation mode is disabled.

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