Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
2.  Installing and Configuring Sun Cluster Software Installing the Software How to Install Data-Service Software Packages (Web Start)  Previous   Contents   Next 
   
 

ProcedureHow to Install Data-Service Software Packages (scinstall)

Perform this task on each cluster node to install data services. If you install data services from the Sun Cluster 3.1 10/03 Data Services release, you can also use the Web Start program to install the packages. See How to Install Data-Service Software Packages (Web Start).


Note - You do not need to perform this procedure if you used SunPlex Manager to install Sun Cluster HA for NFS or Sun Cluster HA for Apache, or both, and if you do not intend to install any other data services. Instead, go to How to Perform Postinstallation Setup.


  1. Become superuser on a cluster node.

  2. Insert the Sun Cluster 3.1 Agents CD-ROM into the CD-ROM drive on the node.

  3. Change to the directory where the CD-ROM is mounted.
    # cd cdrom-mount-point

  4. Start the scinstall(1 M) utility.
    # scinstall

    Follow these guidelines to use the interactive scinstall utility.

    • Interactive scinstall enables you to type ahead. Therefore, do not press Return more than once if the next menu screen does not appear immediately.

    • Unless otherwise noted, you can press Control-D to return to either the start of a series of related questions or the Main Menu.

  5. To add data services, type 3 (Add support for new data services to this cluster node).

  6. Follow the prompts to select all data services to install.

    You must install the same set of data-service packages on each node. This requirement applies even if a node is not expected to host resources for an installed data service.

  7. After the data services are installed, exit the scinstall utility.

  8. Unload the Sun Cluster 3.1 Agents CD-ROM from the CD-ROM drive.

    1. To ensure that the CD-ROM is not being used, change to a directory that does not reside on the CD-ROM.

    2. Eject the CD-ROM.

      # eject cdrom
  9. Repeat Step 1 through Step 8 on each cluster node where you are installing data services.

  10. Install any Sun Cluster data-service patches.

    See "Patches and Required Firmware Levels" in Sun Cluster 3.1 Release Notes for the location of patches and installation instructions.

    You do not have to reboot after you install Sun Cluster data-service patches unless a reboot is specified by the patch special instructions. If a patch instruction requires that you reboot, perform the following steps:

    1. Shut down the cluster by using the scshutdown(1M) command.

    2. Reboot each node in the cluster.


    Note - Until cluster installation mode is disabled, only the first-installed node, which established the cluster, has a quorum vote. In an established cluster which is still in installation mode, if the cluster is not shut down before the first-installed node is rebooted, the remaining cluster nodes cannot obtain quorum. The entire cluster then shuts down. Cluster nodes remain in installation mode until the first time you run the scsetup(1M) command, during the procedure How to Perform Postinstallation Setup.


  11. Perform postinstallation setup and assign quorum votes.

    Go to How to Perform Postinstallation Setup.

ProcedureHow 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?

    • If no, proceed to Step 5.

    • If yes, you might need to update the quorum configuration to accommodate your cluster's new configuration. See the Sun Cluster 3.1 10/03 Concepts Guide for information about quorum. To change the quorum configuration, follow procedures in "Administering Quorum" in Sun Cluster 3.1 10/03 System Administration Guide.

      When the quorum configuration is satisfactory, skip to Step 12.

  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.

 
 
 
  Previous   Contents   Next