Sun Cluster 3.1 10/03 Software Installation Guide

How to Perform Postinstallation Setup

Perform this procedure one time only, after the cluster is fully formed.

  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. Determine the global device-ID name of each shared disk that you are configuring as a quorum device.

    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 8. See Quorum Devices for further information about planning quorum devices.

  4. Are you adding a new node to an existing cluster?

  5. Did you use SunPlex Manager to install Sun Cluster software?

    • If no, proceed to Step 6.

    • If yes, skip to Step 12. During Sun Cluster installation, SunPlex Manager assigns quorum votes and removes the cluster from installation mode for you.

  6. Become superuser on one node of the cluster.

  7. 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 12.


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

  8. At the prompt Do you want to add any quorum disks?, configure at least one shared quorum device if your cluster is a two-node cluster.

    If your cluster has three or more nodes, quorum device configuration is optional.

  9. At the prompt Is it okay to reset "installmode"?, answer 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.

  10. Quit the scsetup utility.

  11. From any node, verify the device and node quorum configurations.


    % scstat -q
    

  12. From any node, verify that cluster installation mode is disabled.

    You do not need to be superuser to run this command.


    % scconf -p | grep "install mode"
    Cluster install mode: 
                                disabled

  13. Do you intend to use VERITAS File System (VxFS) software?

    • If no, proceed to Step 2.

    • If yes, perform the following steps.

    1. Follow the procedures in your VxFS installation documentation to install VxFS software on each node of the cluster, if VxFS software is not already installed.

    2. In the /etc/system file on each node, set the value for the rpcmod:svc_default_stksize variable to 0x8000 and set the value of the lwp_default_stksize variable to 0x6000.


      set rpcmod:svc_default_stksize=0x8000
      set lwp_default_stksize=0x6000

      Sun Cluster software requires a minimum rpcmod:svc_default_stksize setting of 0x8000. Because VxFS installation changes the value of the rpcmod:svc_default_stksize variable to 0x4000, you must manually change the value back to 0x8000 after VxFS installation is complete.

      Also, you must set the lwp_default_stksize variable in the /etc/system file to override the VxFS default value of 0x4000.

  14. Install volume management software.