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

| Previous Contents Index Next
3. Chapter 11 # Preparing to Upgrade the Cluster To successfully upgrade the cluster, the procedures described in this part of the book assumes the following: You have a cluster that is running the Foundation Services 2.1. You do not change the hardware configuration. You do not change the software configuration, that is, the version of the Solaris operating system, the volume management configuration, or the boot policy. You do not change the cluster addressing model of the cluster. If these assumptions can be fulfilled, see the following sections to start upgrading your cluster: Preparing the Installation Server Checking the Cluster Stopping the Cluster Note - If these assumptions cannot be fulfilled, reinstall the cluster. For instructions, see one of the following: To reinstall using the `nhinstall` tool, see Part II, Installing and Configuring Software on the Cluster Using the `nhinstall` Tool To reinstall manually, see Part III, Manually Installing and Configuring the Software on the Cluster ## Preparing the Installation Server ### To Prepare the Installation Server Log in to your installation server as superuser. Check that the installation server is connected to the cluster network. For more information, see To Connect the Installation Server to the Cluster Network. Check that the `mountd` and `nfsd` daemons are running on the installation server. For example, use the `ps` command:
       # ps -ef | grep mountd
       root 184 1 0 Aug 03 ? 0:01 /usr/lib/autofs/automountd
       root 290 1 0 Aug 03 ? 0:00 /usr/lib/nfs/mountd
       root 2978 2974 0 17:40:34 pts/2 0:00 grep mountd
       #
       # ps -ef | grep nfsd
       root 292 1 0 Aug 03 ? 0:00 /usr/lib/nfs/nfsd -a 16
       root 2980 2974 0 17:40:50 pts/2 0:00 grep nfsd
       #
   If a process ID is not returned for the `mountd` and `nfsd` daemons, start the NFS daemons:
       # /usr/etc/inid.d/nfs.server start
4. Add the following line to the `/etc/dfs/dfstab` file to share the directory containing the software distributions for the Foundation Services 2.1 6/03 release and the Solaris operating system:
       share -F nfs -o ro,anon=0 software-distribution-dir
       share -F nfs -o ro,anon=0 Solaris-distribution-dir
5. software-distribution-dir is the directory that contains the Foundation Services 2.1 6/03 packages. Solaris-distribution-dir is the directory that contains the Solaris distribution. Share the directories defined in the `/etc/dfs/dfstab` file:
       # shareall
7. Log in to a master-eligible node as superuser. Create the mount point directory, `NetraHASuite`, on the master-eligible node:
       # mkdir /NetraHASuite
8. Mount the software distribution directory on the installation server:
       # mount -F nfs \
       installation-server-IP-address:/software-distribution-dir/NetraHAS2.1 \
       /NetraHASuite
2. installation-server-IP-address is the IP address of the cluster network interface that is connected to the installation server. software-distribution-dir is the directory that contains the Foundation Services 2.1 6/03 packages. Log in to the other master-eligible node as superuser. Repeat Step 7 and Step 8. ## Checking the Cluster To check the cluster, you need to make a list of the Foundation Services 2.1 patches and packages installed on your cluster. ### To Check the Master Node and the Vice-Master Node Log in to the master node as superuser. List the packages and patches installed on the master node by using the `nhadm` tool:
       # /opt/SUNWcgha/sbin/nhadm check
       OS and Software checking

          64-bit kernel mode                                 OK
          OS release                                         OK

       Local packages

          Package SUNWnhtp9                                  OK
          Package SUNWnhtu9                                  OK
          Package SUNWnhadm                                  OK
          Package SUNWnhcdt                                  OK
          Package SUNWnhcmd                                  OK
          Package SUNWnhcma                                  OK
          Package SUNWnhcmb                                  OK
          Package SUNWscmr                                   OK
          Package SUNWscmu                                   OK
          Package SUNWspsvr                                  OK
          Package SUNWspsvu                                  OK
          Package SUNWrdcr                                   OK
          Package SUNWrdcu                                   OK
          Package SUNWnhfsa                                  OK
          Package SUNWnhfsb                                  OK
          Package SUNWnhpma                                  OK
          Package SUNWnhpmb                                  OK
          Package SUNWnhpmn                                  OK
          Package SUNWnhpms                                  OK
            --> WARNING: package SUNWnhnsa not installed
            --> WARNING: package SUNWnhnsb not installed
          Package SUNWj3rt                                   OK
          Package SUNWnhmas                                  OK
          Package SUNWjsnmp                                  OK
          Package SUNWnhrbb                                  OK
          Package SUNWnhrbs                                  OK
          Package SUNWnhsms                                  OK

       Shared packages (on /SUNWcgha/swdb)

          Package SUNWjdrt                                   OK
          Package SUNWnhmaj                                  OK
          Package SUNWnhmal                                  OK
          Package SUNWnhmad                                  OK

       Patches

       Can take a long time ...

          Patch 112233-03                                    OK
          Patch 112902-06                                    OK
          Patch 112904-01                                    OK
          Patch 112917-01                                    OK
          Patch 112918-01                                    OK
          Patch 112919-01                                    OK
          INST_RELEASE file for shared packages              OK
4. Make a copy of this list of packages and patches because you reinstall only the packages and patches already installed on the node. The previous list might be slightly different from the actual output for your node. Check for the Watchdog packages:
       # pkginfo SUNWnhwdt SUNWlomu SUNWlomr
Repeat Step 1 through Step 4 on the vice-master node.
Previous Contents Index Next

Copyright 1994-2004 Sun Microsystems