sun.com | docs.sun.com | How To Buy | My Sun | Worldwide Sites |  |

| Previous Contents Index Next
## Installing the Foundation Services on a Diskless Node The packages that are installed in the partitions for diskless nodes are a subset of the Foundation Services packages already installed on the master-eligible nodes. The following Foundation Services must be installed for each diskless node. Table 7-2 Foundation Services Packages for Diskless 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
`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
`SUNWjsnmp` | Java DMK 5.0 SNMP manager API classes
`SUNWnhwdt` | Watchdog Timer
2. ### To Install the Foundation Services Packages Log in to the master node as superuser. Install the Foundation Services packages. For example, to install the Foundation Services packages and the Java DMK package on Solaris 9, run the following command:
       # pkgadd -R /export/root/diskless-node-name -d /NetraHASuite/Packages \
       SUNWnhadm SUNWnhtp9 SUNWnhtu9 SUNWnhhb SUNWnhcdt SUNWnhcmd SUNWnhcma \
       SUNWnhcmb SUNWnhpma SUNWnhpmb SUNWnhpmn SUNWnhpms SUNWnhpmm \
       SUNWnhmas SUNWjdrt
3. In the preceding command, you also install the Java DMK 5.0 runtime classes in the root directory of each diskless 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. Install the Java DMK SNMP manager API classes package in the shared `/usr` directory for the diskless nodes:
       # pkgadd -R /export/Solaris_x/usr_sparc_all/ \
       -d /NetraHASuite/Packages SUNWjsnmp
4. 1. 1. where x is `8` or `9` depending on the Solaris version installed. Install the Watchdog Timer only if the diskless node is not a CompactPCI board. Note - If the diskless node is a CompactPCI board, the platform's software monitors the hardware watchdog and you do not need to install the Foundation Services Watchdog Timer. Install the following LOM driver packages: In the root directory of the diskless node, install the `SUNWlomr` package:
             # pkgadd -R /export/root/diskless-node-name \
             -d /NetraHASuite/Packages/ SUNWlomr
      2. In the `/usr` directory of the diskless node, install the `SUNWlomu` package:
             # pkgadd -R /export/Solaris_x/usr_sparc_all/ \
             -d /NetraHASuite/Packages SUNWlomu
   2. Install the Watchdog Timer package:
          # pkgadd -R /export/root/diskless-node-name \
          -d /NetraHASuite/Packages/ SUNWnhwdt
2. To enable the Watchdog Timer, modify the `nhfs.conf` file. For instruction on how to configure the Watchdog Timer, see the `nhfs.conf`(4) man page. The Watchdog Timer can be configured differently on each node according to your requirements. ## Configuring the Foundation Services for a Diskless Node To configure the Foundation Services for a diskless node, see the following procedures: To Update the Network ID Files for the Diskless Node To Configure External IP Addresses To Disable the Router Feature To Set Up File Systems for a Diskless Node To Create the `nhfs.conf` File for a Diskless Node ### To Update the Network ID Files for the Diskless Node Log in to the master node as superuser. Create the `/export/root/`diskless-node-name`/etc/hostname.`NIC0, `/export/root/`diskless-node-name`/etc/hostname.`NIC1, `/export/root/`diskless-node-name``/etc/dhcp.NIC0, and `/export/root/`diskless-node-name``/etc/dhcp.NIC1 files. where diskless-node-name is the hostname of the diskless node.
       # touch /export/root/diskless-node-name/etc/hostname.NIC0
       # /export/root/diskless-node-name/etc/hostname.NIC1
4. For example, if you are using a CP2160 board, create the files `/export/root/`diskless-node-name`/etc/hostname.eri0` and `/export/root/`diskless-node-name`/etc/hostname.eri1`. Note - These files must remain empty. Create the `/export/root/`diskless-node-name`/etc/hosts` file. Edit the `/export/root/`diskless-node-name`/etc/hosts` file to include the IP addresses and node names for all the network interfaces of all the nodes. The interfaces are the NIC0, NIC01, and `cgtp0` interfaces.
       127.0.0.1		  localhost
       10.250.1.10		netraMEN1-nic0
       10.250.2.10		netraMEN1-nic1
       10.250.3.10		netraMEN1-cgtp

       10.250.1.20		netraMEN2-nic0
       10.250.2.20		netraMEN2-nic1
       10.250.3.20		netraMEN2-cgtp

       10.250.1.30		netraDISKLESS1-nic0
       10.250.2.30		netraDISKLESS1-nic1
       10.250.3.30		netraDISKLESS1-cgtp

       10.250.1.1		 master-nic0
       10.250.2.1		 master-nic1
       10.250.3.1		 master-cgtp
8. Create the `/export/root/`diskless-node-name`/etc/nodename` file. Edit the `/export/root/`diskless-node-name`/etc/nodename` file to include the node name that is associated with the IP address of one of the network interfaces. For example, add the node name associated with the IP address of the `cgtp0` interface, that is, `netraDISKLESS1-cgtp`. Create the `/export/root/`diskless-node-name`/etc/netmasks` file. Edit the `/export/root/`diskless-node-name`/etc/netmasks` file to include a 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 Contents Index Next

Copyright 1994-2004 Sun Microsystems