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

| Previous Contents Index Next
2. 1. Chapter 13 # Upgrading the Diskless Nodes To upgrade the diskless nodes, remove the Foundation Services 2.1 packages and then install the patches and packages required for the Foundation Services 2.1 6/03 release, as described in the following sections: Upgrading the Patches Upgrading the Packages Updating the Configuration Files Booting the Diskless Nodes The updates for the diskless nodes are made on the master node. Because these files are stored on a disk partition that is replicated, the updates will be available on the vice-master node when the master node and the vice-master node synchronize disks. ## Upgrading the Patches Install the patches required for Foundation Services 2.1 6/03. ### To Upgrade the Patches Log in to the master node as superuser. Upgrade the patches. If you are running Solaris 8, go to Step 3. If you are running Solaris 9, install the following patches. To know which versions of these patches to install, see the Netra High Availability Suite Foundation Services 2.1 6/03 README. For the patches to be installed in the `/usr` directory of the diskless node, you must install the patches as follows on the master node.
          # patchadd -R /export/Solaris_9 /NetraHASuite/Patches/112233
          # patchadd -R /export/Solaris_9 /NetraHASuite/Patches/113318
   2. For the patches to be installed in the `root` directory of the diskless node, install the patches as follows on the master node for each diskless node.
          # patchadd -R /export/root/diskless-node-name \
          /NetraHASuite/Patches/112233
          # patchadd -R /export/root/diskless-node-name \
          /NetraHASuite/Patches/113318
3. 1. If you are running Solaris 8, install the following patch. For the patch to be installed in the `/usr` directory of the diskless node, install the patch as follows on the master node.
          # patchadd -R /export/Solaris_8 /NetraHASuite/Patches/108727
   2. For the patch to be installed in the `root` directory of the diskless node, install the patch on the master node for each diskless node.
          # patchadd -R /export/root/diskless-node-name \
          /NetraHASuite/Patches/108727
2. ## Upgrading the Packages To upgrade the packages, you remove the Foundation Services 2.1 packages and then install the new Foundation Services 2.1 6/03 packages. ### To Upgrade the Packages Log in to the master node as superuser. Remove the local Foundation Services 2.1 packages installed for the diskless nodes. Use the list generated by the `nhadm` tool in To Check the Diskless Nodes. For example:
       # pkgrm -R /export/root/diskless-node-name -d /NetraHASuite/Packages \
       SUNWnhadm SUNWnhtp9 SUNWnhtu9 SUNWnhcdt SUNWnhcmd SUNWnhcma \
       SUNWnhcmb SUNWnhpma SUNWnhpmb SUNWnhpmn SUNWnhpms SUNWnhwdt SUNWnhmas
3. Note - Repeat this step for each diskless node. Install the new and updated packages delivered with Foundation Services 2.1 6/03.
       # pkgadd -R /export/root/diskless-node-name -d /NetraHASuite/Packages \
       SUNWnhadm SUNWnhtp9 SUNWnhtu9 SUNWnhhb SUNWnhcdt SUNWnhcmd SUNWnhcma \
       SUNWnhcmb SUNWnhpma SUNWnhpmb SUNWnhpmn SUNWnhpms SUNWnhwdt SUNWnhmas
2. These new packages are installed: `SUNWnhpmm` includes the Daemon Monitor driver files `SUNWnhhb` includes the Probe heartbeat module ## Updating the Configuration Files Update the Foundation Services configuration files and the DHCP configuration files for each diskless node. ### To Update the Foundation Services Configuration Files Log in to the master node as superuser. Edit the `/export/root/`diskless-node-name`/etc/opt/SUNWcgha/nhfs.conf` file. The following parameters are new: Mandatory new parameters: `WATCHDOG.NhasWatchdog` if using the Watchdog Timer Optional new parameters: `WATCHDOG.ShutDownTimeout` if using the Watchdog Timer `WATCHDOG.OsTimeout` if using the Watchdog Timer `WATCHDOG.PattingIntvl` if using the Watchdog Timer For information about configuring these new parameters, see the `nhfs.conf`(4) man page. Create a `/export/root/`diskless-node-name`/etc/hostname.cgtp0` file. In this file, type the cluster network name of the master-eligible node on the `cgtp0` interface, for example, `netraDISKLESS1-cgtp`. Delete the `/export/root/`diskless-node-name`/etc/opt/SUNWcgha/nhwdt.conf` file. ### To Update the DHCP Configuration Files For Foundation Services 2.1 6/03, update the DHCP configuration files with a new macro, `NhCgtpAddr`. In addition, update the `SUNWnhrbs1_dhcptab` file with the new macro for each network interface of each diskless node. To check the DHCP files, see the `/etc/inet/dhcpsvc.conf` file on the master node for the path to these DHCP files. Log in to the master node as superuser. Modify the DHCP configuration file, `SUNWnhrbs1_dhcptab`, to add the new macro:
       # dhtadm -A -s NhCgtpAddr -d 'Site,128,IP,1,1'
3. 1. Update the DHCP configuration file, `SUNWnhrbs1_dhcptab`, for each diskless node. For the NIC0 interface, run the following command:
          # dhtadm -A -m macro-name -d \
          ':NhCgtpAddr=local-cgtp-addr:Include=Common:\
          BootFile=inetboot.sun4u.os:\
          SrootPTH=root-path-name:\
          SswapPTH=swap-path-name:Include=subnet:'
      macro-name is the IP address of the diskless node. local-cgtp-addr is the IP address of the `cgtp0` interface of the diskless node. os is the operating system. This parameter can have the value `Solaris_8` or `Solaris_9` for Solaris 8 or Solaris 9, respectively. /export/root/diskless-node-name is the path to the `root` directory for the diskless node. `/export/swap/`diskless-node-name is the path to the `swap` directory for the diskless node. subnet is the IP address of the NIC0 interface. For the diskless node, `netraDISKLESS1`, with the NIC0 IP address `10.250.1.30` on a Solaris 9 cluster, run the `dhtadm` command as follows:
          # dhtadm -A -m 10.250.1.30 -d \
          ':NhCgtpAddr=10.250.3.30:Include=Common:BootFile=inetboot.sun4u.Solaris_9:\
          SrootPTH=/export/root/netraDISKLESS1:\
          SswapPTH=/export/swap/netraDISKLESS1:Include=10.250.1.0:'
   2. For the NIC1 interface, run the following command:
          # dhtadm -A -m macro-name -d \
          ':NhCgtpAddr=local-cgtp-addr:Include=Common:\
          BootFile=inetboot.sun4u.os:\
          SrootPTH=root-path-name:\
          SswapPTH=swap-path-name:Include=subnet:'
      macro-name is the IP address of the diskless node. local-cgtp-addr is the IP address of the `cgtp0` interface of the diskless node. os is the operating system. This parameter can have the value `Solaris_8` or `Solaris_9` for Solaris 8 or Solaris 9, respectively. `/export/root/`diskless-node-name`` is the path to the `root` directory for the diskless node. `/export/swap/`diskless-node-name`` is the path to the `swap` directory for the diskless node. subnet is the IP address of the NIC1 interface. For the diskless node, `netraDISKLESS1`, with the NIC1 IP address `10.250.2.30` on a Solaris 9 cluster, run the `dhtadm` command as follows:
          # dhtadm -A -m 10.250.2.30 -d \
          ':NhCgtpAddr=10.250.3.30:Include=Common:BootFile=inetboot.sun4u.Solaris_9:\
          SrootPTH=/export/root/netraDISKLESS1:\
          SswapPTH=/export/swap/netraDISKLESS1:Include=10.250.2.0:'
4. Reload the DHCP table, `SUNWnhrbs1_dhcptab`, on the master node and the vice-master node:
       # pkill -HUP in.dhcpd
Previous Contents Index Next

Copyright 1994-2004 Sun Microsystems