Sun Cluster Software Installation Guide for Solaris OS

How to Configure Sun Cluster Software on All Nodes (scinstall)

Perform this procedure to configure Sun Cluster software on all nodes of the cluster.

  1. Ensure that the Solaris operating environment is installed to support Sun Cluster software.

    If Solaris software is already installed on the node, you must ensure that the Solaris installation meets the requirements for Sun Cluster software and any other software that you intend to install on the cluster. See How to Install Solaris Software for more information about installing Solaris software to meet Sun Cluster software requirements.

  2. Did you disable remote configuration during Sun Cluster software installation?

    • If no, proceed to Step 3.

    • If yes, enable remote shell (rsh(1M)) or secure shell (ssh(1)) access for superuser to all cluster nodes.

  3. Do you intend to use the scinstall utility to install patches?

    • If no, proceed to Step 4.

    • If yes, download patches to a patch directory.

      The scinstall command checks for patches in the /var/cluster/patches directory or the /var/patches directory. If neither of the directories exist, then no patches are added. If both directories exist, then only the patches in the /var/cluster/patches directory are added.

      You can include a patch-list file in the patch directory. The default patch-list file name is patchlist. For information about creating a patch-list file, refer to the patchadd(1M) man page.

  4. Complete one of the following configuration worksheets:

    See Planning the Sun Cluster Environment for planning guidelines.

    Table 2–2 Interactive scinstall Configuration Worksheet (Typical)

    Component 

    Description/Example 

    Enter Answers Here 

    Cluster Name 

    What is the name of the cluster that you want to establish? 

     

    Cluster Nodes 

    What are the names of the other cluster nodes planned for the initial cluster configuration? 

     

    Cluster-Transport Adapters and Cables 

    What are the names of the two cluster-transport adapters that attach the node to the private interconnect? 

     

    Validation Checks 

    Do you want to interrupt installation for sccheck errors?

    Yes  |  No 

    For the Typical configuration of Sun Cluster software, scinstall automatically specifies the following defaults.

    Component 

    Default Value 

    Private-network address 

    172.16.0.0

    Private-network netmask 

    255.255.0.0

    Cluster-transport junctions 

    switch1 and switch2

    Global-devices file-system name 

    /globaldevices

    Installation security (DES) 

    Limited 

    Solaris and Sun Cluster patch directory 

    /var/cluster/patches

    Table 2–3 Interactive scinstall Configuration Worksheet (Custom)

    Component 

    Description/Example 

    Enter Answers Here 

    Cluster Name 

    What is the name of the cluster that you want to establish? 

     

    Cluster Nodes 

    What are the names of the other cluster nodes planned for the initial cluster configuration? 

     

    DES Authentication 

    Do you need to use DES authentication? 

    No  |  Yes  

    Network Address for the Cluster Transport 

    Do you want to accept the default network address (172.16.0.0)?

    Yes   |  No  

    If no, supply your own network address: 

    _____ . _____.0.0

    Do you want to accept the default netmask (255.255.0.0)?

    Yes   |  No  

    If no, supply your own netmask: 

    255.255. ___ . ___

    Point-to-Point Cables  

    If this is a two-node cluster, does this cluster use transport junctions? 

    Yes  |  No 

    Cluster-Transport Junctions  

    If used, what are the names of the two transport junctions? 

      Defaults: switch1 and switch2


    First

    Second

    Cluster-Transport Adapters and Cables 

    Node name (the node from which you run scinstall):

     

    Transport adapters: 

    First

      

    Second

      

    Where does each transport adapter connect to (a transport junction or another adapter)?

      Junction defaults: switch1 and switch2


      

    For transport junctions, do you want to use the default port name? 

    Yes | No 

    Yes | No 

    If no, what is the name of the port that you want to use? 

      

    Do you want to use autodiscovery to list the available adapters for the other nodes? 

    If no, supply the following information for each additional node: 

    Yes  |  No 

     

    Node name: 

     

    Transport adapters: 

    First

      

    Second

      

    Where does each transport adapter connect to (a transport junction or another adapter)?

      Defaults: switch1 and switch2


      

    For transport junctions, do you want to use the default port name? 

    Yes | No 

    Yes | No 

    If no, what is the name of the port that you want to use? 

      

    Software Patch Installation 

    Do you want scinstall to install patches for you?

    Yes  |  No 

    If yes, what is the name of the patch directory? 

     

    Do you want to use a patch list? 

    Yes  |  No 

    Global-Devices File System 

    (specify for each node)

    Do you want to use the default name of the global-devices file system (/globaldevices)?

    Yes  |  No 

    If no, do you want to use an already-existing file system? 

    Yes  |  No 

    What is the name of the file system that you want to use? 

     

    Validation Checks 

    Do you want to run the sccheck utility to validate the cluster?

    Yes  |  No 


    Note –

    You cannot change the private-network address and netmask after scinstall processing is finished. If you need to use a different private-network address or netmask and the node is still in installation mode, follow the procedures in How to Uninstall Sun Cluster Software to Correct Installation Problems. Then perform the procedures in How to Install Sun Cluster Software Packages and in this procedure to reinstall the software and configure the node with the correct information.


  5. Become superuser on the cluster node from which you intend to configure the cluster.

  6. Start the scinstall utility.


    # /usr/cluster/bin/scinstall
    

  7. Follow these guidelines to use the interactive scinstall utility:

    • Interactive scinstall enables you to type ahead. Therefore, do not press the Return key 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 to the Main Menu.

    • Default answers or answers to previous sessions are displayed in brackets ([ ]) at the end of a question. Press Return to enter the response that is in brackets without typing it.

  8. From the Main Menu, choose Install a cluster or cluster node.


     *** Main Menu ***
    
        Please select from one of the following (*) options:
    
          * 1) Install a cluster or cluster node
            2) Configure a cluster to be JumpStarted from this install server
            3) Add support for new data services to this cluster node
          * 4) Print release information for this cluster node
    
          * ?) Help with menu options
          * q) Quit
    
        Option:  1
    

  9. From the Install Menu, choose Install all nodes of a new cluster.

  10. From the Type of Installation menu, choose either Typical or Custom.

  11. Follow the menu prompts to supply your answers to Table 2–2 or Table 2–3, which you completed in Step 4.

    The scinstall utility installs and configures all cluster nodes and reboots the cluster. The cluster is established when all nodes have successfully booted into the cluster. Sun Cluster installation output is logged in a /var/cluster/logs/install/scinstall.log.N file.

  12. SPARC: Do you intend to install VERITAS File System?

Example – Configuring Sun Cluster Software on All Nodes

The following example shows the scinstall progress messages that are logged as scinstall completes configuration tasks on a two-node cluster. The cluster node names are phys-schost-1 and phys-schost-2. The specified adapter names are qfe2 and hme2.


  Installation and Configuration

    Log file - /var/cluster/logs/install/scinstall.log.834

    Testing for "/globaldevices" on "phys-schost-1" ... done
    Testing for "/globaldevices" on "phys-schost-2" ... done

    Checking installation status ... done

    The Sun Cluster software is already installed on "phys-schost-1".
    The Sun Cluster software is already installed on "phys-schost-2".

    Starting discovery of the cluster transport configuration.

    Probing ..

    The following connections were discovered:

        phys-schost-1:qfe2  switch1  phys-schost-2:qfe2
        phys-schost-1:hme2  switch2  phys-schost-2:hme2

    Completed discovery of the cluster transport configuration.

    Started sccheck on "phys-schost-1".
    Started sccheck on "phys-schost-2".

    sccheck completed with no errors or warnings for "phys-schost-1".
    sccheck completed with no errors or warnings for "phys-schost-2".

    Configuring "phys-schost-2" ... done
    Rebooting "phys-schost-2" ... done

    Configuring "phys-schost-1" ... done
    Rebooting "phys-schost-1" ... 

Log file - /var/cluster/logs/install/scinstall.log.834

Rebooting ...