Sun Cluster 2.2 Cluster Volume Manager Guide

1.4.3 Upgrading to CVM Release 2.2.1

Note that CVM Release 2.2.1 running on Sun Cluster 2.2 requires Solaris 2.6, so it may be necessary to upgrade the operating environment at the same time. The recommended procedure is to upgrade the operating environment first (if needed), then install or upgrade to Sun Cluster 2.2, and finally, upgrade CVM.


Note -

If you have encapsulated one or more disks you must execute "" through Step 6 before doing the operating environment upgrade.


1.4.3.1 Upgrading From Earlier Versions of CVM

If you have Sun Cluster 2.0 or 2.1 installed, upgrade the CVM software and the operating environment as follows:

  1. Make sure you have enough space in /opt to upgrade the operating environment.

  2. If any of the file systems /, /usr, /var, or /opt are defined on volumes, make sure that at least one plex for each of those volumes is formed from a single subdisk that begins on a cylinder boundary.

    This is a required step. Part of the upgrade process includes temporarily placing file systems onto volumes that are using direct disk partitions. The Solaris operating environment requires that disk partitions start on cylinder boundaries. This conversion is handled automatically by the upgrade scripts, as necessary. If the upgrade scripts detect any problems (such as lack of cylinder alignment), the scripts display an explanation of the problem and the upgrade process stops.

  3. Load and mount the CVM 2.2.1 CD-ROM.

    It should then be visible as the file system mounted on /cdrom.

  4. Run the upgrade_start script to prepare the previous release of CVM for its removal:


    # /cdrom/cdrom0/CVM_2_2_1/Tools/scripts/upgrade_start
    

    The upgrade_start script looks for volumes containing file systems. If certain key file systems must be converted back to using partitions, this script handles the conversions.

  5. Reboot to single-user mode (using a command such as uadmin 2 3).

  6. Remove the volume manager package(s).


    phys-hahost1# pkgrm SUNWvmdev SUNWvmman SUNWvxva SUNWvxvm
    
  7. Shut down and halt the machine (using a command such as uadmin 2 0).

  8. (Optional) Upgrade the operating environment to Solaris 2.6, if necessary.

    Refer to the Solaris installation documentation for instructions on how to upgrade the Solaris software environment.

  9. Go to the directory containing the CVM packages (on the CVM CD-ROM):


    # cd /cdrom/cdrom0/CVM_2_2_1/		Product/	
    
  10. Use pkgadd to install the following packages:


    # pkgadd -d . SUNWvxvm SUNWvxva SUNWvmman SUNWvmdev
    
  11. Complete the upgrade by entering:


    # /cdrom/cdrom0/CVM_2_2_1/Tools/scripts/upgrade_finish
    
  12. Reboot to multi-user mode.

    At this point, your pre-upgrade configuration should be in effect and any file systems previously defined on volumes should be defined and mounted.

  13. Go to "1.4.4 Creating rootdg", to proceed with the CVM installation.