Sun Microsystems
Products & Services
 
Support & Training
 
 

Previous Previous     Contents     Next Next
Chapter 3

Installing the Foundation Services on the Cluster

The nhinstall tool enables you to install and configure the Foundation Services on cluster nodes. This tool must be installed on the installation server, which must be connected to your cluster. For details on how to connect cluster nodes and the installation server, see Chapter 2, Setting Up and Connecting the Hardware.

To install the software on the cluster by using the nhinstall tool, see the following sections. Perform the tasks in sequential order.

Preparing the Installation Environment

Before installing the nhinstall tool on the installation server, create a Solaris distribution on the installation server. You must also prepare the installation server to install the Solaris operating system and the Foundation Services on nodes of the cluster.

ProcedureTo Create a Solaris Distribution on the Installation Server

The Solaris distribution is used to install the Solaris operating system on the nodes of the cluster.

  1. Check that at least 1.5 Gbytes of free disk space exists on the installation server.

  2. Log in to the installation server as superuser.

  3. Create a directory for the Solaris distribution.

  4. Change to the directory where the setup_install_server tool is located.

    # cd  Solaris-Dir/Solaris_x/Tools

    • Solaris-Dir is the directory containing the Solaris installation software. This could be a CD-ROM or an NFS-shared directory.

    • The x in Solaris_x depends on the Solaris version you plan to install. For the Solaris 9 operating system it is Solaris_9.

  5. Run the setup_install_server command.

    # ./setup_install_server Solaris-Distribution

    where Solaris-Distribution is the directory you created in Step 3.

    For more information on the setup_install_server command, see the appropriate documentation:

    • Solaris 8 Advanced Installation Guide and the setup_install_server(1M) man page

    • Solaris 9 Installation Guide and the setup_install_server(1M) man page

ProcedureTo Prepare the Installation Server

  1. Configure the installation server as described in Setting Up and Configuring the Installation Server.

  2. Use the pkginfo command to confirm that the SUNWpl5u, SUNWpl5p, and SUNWpl5m Perl 5.0 packages are installed on the installation server.

  3. Delete any entries for your cluster nodes in the following files:

    • /etc/hosts

    • /etc/ethers, if it exists

    • /etc/bootparams, if it exists

    The nhinstall tool automatically modifies these files on the installation server to add entries for the cluster nodes. If the nhinstall tool finds that the entries in these files differ from their content at initial install time, the installation stops and the tool displays an error.

  4. Disable the installation server as a router by creating a /etc/notrouter file.

    # touch /etc/notrouter

    If a system running the Solaris operating system has two network interfaces, the system is configured as a router by default. However, for security reasons, a Foundation Services cluster network must not be routed.

  5. In the /etc/nsswitch.conf file on the installation server, place files before nis in the hosts, ethers, and bootparams entries.

    hosts: files nis
    ethers: files nis
    bootparams: files nis

  6. From the installation server or the system from which you are connected to the installation server, open a terminal window to connect to the console of each node.

Installing and Configuring the nhinstall Tool

ProcedureTo Install the nhinstall Tool

Install the package containing the nhinstall tool on the installation server.

  1. Log in to the installation server as superuser.

  2. Install the nhinstall package, SUNWnhins, on the installation server.

    # pkgadd -d /software-distribution-dir/NetraHAS2.1/Packages/ SUNWnhins

    where software-distribution-dir is the directory that contains the Foundation Services packages.

  3. To access the man pages on the installation server, install the SUNWnhman package.

    # pkgadd -d /software-distribution-dir/NetraHAS2.1/Packages/ SUNWnhman

    The man pages are installed in the /opt/SUNWcgha/man directory.

ProcedureTo Configure the nhinstall Tool

  1. Log in to the installation server as superuser.

  2. Copy the configuration files to a local directory on the installation server.

    # mkdir config-file-directory
    # export NHOME=/opt/SUNWcgha/config.standard
    # cd config-file-directory
    # cp $NHOME/env_installation.conf.template env_installation.conf
    # cp $NHOME/cluster_definition.conf.template cluster_definition.conf

    The templates for the configuration files are contained in the /opt/SUNWcgha/config.standard directory with .template extensions. The configuration files must be in the same local directory on the installation server.

  3. To define the installation environment, configure parameters in the env_installation.conf file, for example:

    SERVER_INTERFACE=hme1
    AUTO_REBOOT=YES
    SOLARIS_INSTALL=ALL
    NHAS2_PRODUCT_DIR=/downloads/NetraHASuite
    SOLARIS_DIR=/export/home/s9hwl3


    Note - Make sure that the directories defined for the parameters NHAS2_PRODUCT_DIR and SOLARIS_DIR are shared through the Network File System (NFS).


    For more information, see the env_installation.conf(4) man page.

  4. To define the cluster nodes, configure parameters in the cluster_definition.conf file such as:

    MEN_INTERFACES=hme0 hme1
    NMEN_INTERFACES=hme0 hme1
    NODE=10 08:00:20:f9:c5:54 - node10
    NODE=20 08:00:20:f9:a8:12 - node20
    NODE=30 -                               - node30

    • node10 and node20 are the master-eligible nodes.

    • node30 is the diskless node.

    • For the master-eligible nodes, make sure that you specify the Ethernet address of the network interface that is connected to the same switch as the installation server. Usually, the NIC0, that is, the hme0, and the installation server are connected to the first switch.

    For details on additional parameters, including the parameters for defining external network access for the nodes, see the cluster_definition.conf(4) man page.

Previous Previous     Contents     Next Next