Sun Microsystems
Products & Services
 
Support & Training
 
 

Previous Previous     Contents     Index     Next Next

Installing the Foundation Services on the Master-Eligible Nodes

The following procedures explain how to install the Foundation Services on the master-eligible nodes:

ProcedureTo Install the nhadm Tool

The nhadm tool is a cluster administration tool that can verify that the installation was completed correctly. You can run this tool when your cluster is up and running.

  1. As superuser, install the nhadm tool package on each master-eligible node:

    # pkgadd -d /NetraHASuite/Packages/ SUNWnhadm

ProcedureTo Install the Carrier Grade Transport Protocol

CGTP enables a redundant network for your cluster.


Note - If you do not require CGTP, do not install the CGTP packages. For more information about the impact of not installing CGTP, see Choosing a Cluster Network.


  1. Before you install the CGTP packages, make sure that you have installed the Solaris patches for CGTP.

    See To Install Solaris Patches.

  2. As superuser, install the following CGTP packages on each master-eligible node:

    # pkgadd -d /NetraHASuite/Packages/ SUNWnhtpx SUNWnhtux

    where x is 8 or 9 depending on the version of the Solaris operating system you install.

ProcedureTo Install the Node State Manager

  1. As superuser, install the Node State Manager packages on each master-eligible node:

    # pkgadd -d /NetraHASuite/Packages/ SUNWnhnsa SUNWnhnsb


    Note - During the installation of the Node State Manager packages, the /etc/opt/SUNWcgha/not_configured file is created automatically. This file enables you to reboot a cluster node during the installation process without starting the Foundation Services.


    For more information about the Node State Manager, see the Netra High Availability Suite Foundation Services 2.1 6/03 Overview.

ProcedureTo Install the Cluster Membership Manager

  1. As superuser, install the following Cluster Membership Manager (CMM) packages on each master-eligible node:

    # pkgadd -d /NetraHASuite/Packages/ SUNWnhcdt SUNWnhhb \
    SUNWnhcmd SUNWnhcma SUNWnhcmb


    Note - During the installation of the CMM packages, the /etc/opt/SUNWcgha/not_configured file is created automatically. This file enables you to reboot a cluster node during the installation process without starting the Foundation Services.


    For instructions on configuring the CMM, see Configuring the Foundation Services on the Master-Eligible Nodes.

    For information about the CMM, see the Netra High Availability Suite Foundation Services 2.1 6/03 Overview.

ProcedureTo Install the Reliable NFS

Install the Reliable NFS packages to enable the Reliable NFS service and disk mirroring features of Foundation Services. For a description of the Reliable NFS service, see "File Sharing and Data Replication" in Netra High Availability Suite Foundation Services 2.1 6/03 Overview. The Reliable NFS feature is enabled by the StorEdge Network Data Replicator (SNDR), which is provided with the Reliable NFS packages.


Note - SNDR is supplied for use only with the Foundation Services. Any use of this product other than on a Foundation Services cluster is not supported.


  1. As superuser, install the following Reliable NFS and SNDR packages on a master-eligible node in the following order:

    # pkgadd -d /NetraHASuite/Packages/ SUNWscmr \
    SUNWscmu SUNWspsvr SUNWspsvu SUNWrdcr SUNWrdcu SUNWnhfsa SUNWnhfsb


    Note - During the installation of the SNDR package SUNWscmu, you might be asked to specify a database configuration location. You can choose to use the SNDR directory that is automatically created. This directory is of the format /sndrxy where x.y is the version of the SNDR release.


  2. Repeat Step 1 on the second master-eligible node

  3. Install the SNDR patches on each master-eligible node.

    See the Netra High Availability Suite Foundation Services 2.1 6/03 README for a list of SNDR patches.

  4. Edit the /usr/kernel/drv/rdc.conf file on each master-eligible node to change the value of the rdc_bitmap_mode parameter.

    To have changes to the bitmaps written on the disk at each update, change the value of the rdc_bitmap_mode parameter to 1.

    To have changes to the bitmaps stored in memory at each update, change the value of the rdc_bitmap_mode parameter to 2. In this case, changes are written on the disk when the node is shut down. However, if both master-eligible nodes fail, both disks must be synchronized.

    For example: rdc_bitmap_mode=2.

ProcedureTo Install the Node Management Agent

Install the Node Management Agent (NMA) packages to gather statistics on Reliable NFS, CGTP, and CMM. For a description of the NMA, see the Netra High Availability Suite Foundation Services 2.1 6/03 Overview.

The NMA consists of four packages. One NMA package is installed on both master-eligible nodes. Three packages are NFS-mounted as shared middleware software on the first master-eligible node. The first master-eligible node is the node that is booted first after you complete installing and configuring all the services on the master-eligible nodes.

The NMA requires the Java DMK packages, SUNWjsnmp and SUNWjdrt, to run. For information about installing the entire Java DMK software, see the Java Dynamic Management Kit 5.0 Installation Guide.

The following table describes the packages that are required on each type of node.

Table 6-3 NMA and Java DMK Packages Installed on the Master-Eligible Nodes

Package

Description

Installed On

SUNWjsnmp

Java DMK 5.0 Simple Network Management Protocol (SNMP) manager API classes

Both master-eligible nodes

SUNWjdrt

Java DMK 5.0 dynamic management runtime classes

First master-eligible node

SUNWnhmas

NMA configuration and startup script

Both master-eligible nodes

SUNWnhmaj

NMA Java classes

First master-eligible node

SUNWnhmal

NMA JNI libraries

First master-eligible node

SUNWnhmad

NMA Javadoc files

First master-eligible node

Follow this procedure to install and configure the NMA.

  1. As superuser, install the following NMA package and Java DMK package on both master-eligible nodes:

    # pkgadd -d /NetraHASuite/Packages/ SUNWnhmas SUNWjsnmp

  2. On the first master-eligible node, install the following shared Java DMK package and NMA packages:

    # pkgadd -d /NetraHASuite/Packages/ \
    -M -R /SUNWcgha/local/export/services \
    -a none SUNWjdrt SUNWnhmaj SUNWnhmal SUNWnhmad

    The packages are installed with a predefined root path in the /SUNWcgha/local/export/services directory.

  3. You are asked to specify the BASEDIR.

    Specify a path that identifies the version of the software you are installing, for example, /ha_v1/opt.

    Therefore, the packages are installed in the directory /SUNWcgha/local/export/services/ha_v1/opt.

  4. To configure the NMA, see the Netra High Availability Suite Foundation Services 2.1 6/03 NMA Programming Guide.

Previous Previous     Contents     Index     Next Next