Sun Microsystems
Products & Services
 
Support & Training
 
 

Previous Previous     Contents     Index     Next Next

ProcedureTo Install Solaris Patches

After you have completed the Solaris installation, install the necessary Solaris patches. The Netra High Availability Suite Foundation Services 2.1 6/03 README contains the list of Solaris patches that you must install depending on the version of Solaris you installed.


Note - Some of these patches are required for CGTP. If you do not plan to install CGTP, do not install the CGTP patches. For more information about the impact of not installing CGTP, see Choosing a Cluster Network.


  1. Log in to the dataless node as superuser.

  2. Mount the directory from the installation server that contains the Solaris patches.

    See To Mount an Installation Server Directory on the Master-Eligible Nodes.

  3. Install the patches on the dataless node:

    # patchadd -M /NetraHASuite/Patches/ patch-name

Installing the Foundation Services on a Dataless Node

After the Solaris operating system has been installed on the dataless node, install the Foundation Services on the dataless node.

The set of services to be installed on the dataless node is a subset of the Foundation Services installed on the master-eligible nodes. Install the packages that are listed in the following table.

Table 8-2 Foundation Services Packages for Dataless Nodes

Package Name

Package Description

SUNWnhadm

Cluster administration tool

SUNWnhhb

Probe heartbeat module

SUNWnhcmd

CMM developer package (.h and .so files)

SUNWnhcma

CMM binaries

SUNWnhcmb

CMM binaries

SUNWnhcdt

Trace library

SUNWnhtp8 or SUNWnhtp9

CGTP kernel drivers and modules

SUNWnhtu8 or SUNWnhtu9

CGTP user-space components, configuration scripts, and files

SUNWjsnmp

Java DMK 5.0 SNMP manager API classes

SUNWnhmas

NMA configuration and startup script

SUNWnhpma

Daemon monitor /opt file system

SUNWnhpmb

Daemon monitor root file system

SUNWnhpms

Daemon monitor scripts

SUNWnhpmn

Daemon monitor scripts

SUNWnhpmm

Daemon monitor driver

SUNWlomr

LOM package required if you install the Watchdog Timer

SUNWlomu

LOM package required if you install the Watchdog Timer

SUNWnhwdt

Watchdog Timer required only if the dataless node is not a CompactPCI board

ProcedureTo Install the Foundation Services

  1. Mount the installation server directory on the dataless node as described in To Mount an Installation Server Directory on the Master-Eligible Nodes.

  2. Install the packages by using the pkgadd command:

    # pkgadd -d /NetraHASuite/Packages/ package-name

    where /NetraHASuite/Packages is the installation server directory that is mounted on the dataless node.

    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.


Configuring the Foundation Services on a Dataless Node

The following procedures explain how to configure the Foundation Services on a dataless node.

ProcedureTo Configure a Dataless Node

  1. Create a /etc/notrouter file:

    # touch /etc/notrouter

    Because the cluster network is not routable, the dataless nodes must be disabled as routers.

  2. Modify the /etc/default/login file so you can connect to the node from a remote system as superuser:

    # mv /etc/default/login /etc/default/login.orig
    # chmod 644 /etc/default/login.orig
    # sed '1,$s/^CONSOLE/#CONSOLE/' /etc/default/login.orig > /etc/default/login
    # chmod 444 /etc/default/login

  3. Disable power management:

    # touch /noautoshutdown

  4. Modify the .rhosts file according to the security policy for your cluster:

    # cp /.rhosts /.rhosts.orig
    # echo "+ root" > /.rhosts
    # chmod 444 /.rhosts

  5. Set the boot parameters:

    # /usr/sbin/eeprom local-mac-address?=true
    # /usr/sbin/eeprom auto-boot?=true
    # /usr/sbin/eeprom diag-switch?=false

  6. (Optional) If using the Network Time Protocol (NTP) to run an external clock, configure the dataless node as an NTP server.

    This procedure is described in the Solaris documentation.

ProcedureTo Configure an External IP Address

To configure external IP addresses for a dataless node, the node must have an extra physical network interface or logical network interface. A physical network interface is an unused interface on an existing Ethernet card or a supplemental HME or QFE Ethernet card, for example, hme2. A logical network interface is an interface configured on an existing Ethernet card, for example, hme1:101.

  1. Configure an external IP address for the extra network interface based on your public network policy.

ProcedureTo Update the Network ID Files on a Dataless Node

  1. Log in to the dataless node as superuser.

    As for the master-eligible nodes, three IP addresses are configured for each dataless node:

    • The IP address for the first network interface, NIC0

    • The IP address for the second network interface, NIC1

    • The IP address for the virtual network interface, cgtp0

    The IP addresses can be IPv4 addresses of any class. However, the nodeid that you later define in the cluster_nodes_table file and the nhfs.conf file must be a decimal representation of the host part of the node's IP address. For information about the files, see To Create the nhfs.conf File for a Dataless Node and To Update the Cluster Node Table.

  2. Create or update the file /etc/hostname.NIC0 for the NIC0 interface.

    This file must contain the cluster network name of the dataless node on the second interface, for example, netraDATALESS1-nic0.

  3. Create or update the file /etc/hostname.NIC1 for the NIC1 interface.

    This file must contain the cluster network name of the master-eligible node on the second interface, for example, netraDATALESS1-nic1.

  4. Create or update the file /etc/hostname.cgtp0 for the cgtp0 interface.

    This file must contain the cluster network name of the dataless node on the cgtp0 interface, for example, netraDATALESS1-cgtp.

  5. In the /etc/hosts file, add the IP address and node name for the NIC0, NIC01, and cgtp0 network interfaces of all the nodes in the cluster.

    127.0.0.1		  localhost
    10.250.1.10		netraMEN1
    10.250.2.10		netraMEN1-nic1
    10.250.3.10		netraMEN1-cgtp
    
    10.250.1.20		netraMEN2
    10.250.2.20		netraMEN2-nic1
    10.250.3.20		netraMEN2-cgtp
    
    10.250.1.30		netraDATALESS1-nic0	loghost  netraDATALESS1.localdomain
    10.250.2.30		netraDATALESS1-nic1	netraDATALESS1-nic1.localdomain
    10.250.3.30		netraDATALESS1-cgtp	netraDATALESS1-cgtp.localdomain
    
    10.250.1.1 		master
    10.250.2.1 		master-nic1
    10.250.3.1 		master-cgtp

  6. Update the /etc/nodename file with the name corresponding to the address of one of the network interfaces, for example, netraDATALESS1-cgtp.

  7. Create the /etc/netmasks file by adding one line for each subnet on the cluster:

    10.250.1.0    255.255.255.0
    10.250.2.0    255.255.255.0
    10.250.3.0    255.255.255.0

Previous Previous     Contents     Index     Next Next