Symantec logo

Upgrading Veritas Storage Foundation and earlier Solaris releases

This section describes upgrading to the current Veritas Storage Foundation if you are not running Solaris 8, 9, or 10, have an unencapsulated root disk and need to upgrade the Solaris version in addition to the Veritas packages. If you are running SUNWvxvm, go to Upgrading from SUNWvxvm.

This upgrade procedure allows you to retain existing VxVM and VxFS configurations. After upgrading, you can resume using your file systems and volumes as before (without having to run vxinstall again).


  Note   It is important that you follow these steps in the specified order.


 To prepare to upgrade the operating system

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

    This is necessary because part of the upgrade process involves temporarily converting file systems on volumes back to using direct disk partitions, and Solaris requires that disk partitions start on cylinder boundaries. Upgrade scripts (located in the /scripts directory on the disc) automatically convert file systems on volumes back to using regular disk partitions, as necessary. If the upgrade scripts detect any problems (such as lack of cylinder alignment), they display an explanation of the problem and the upgrade does not proceed.

  1. Check to see if any VxFS file systems are mounted using the df command. If so, unmount them by using the umountall command:

    # df -F vxfs

    # umountall -F vxfs


      Note   You need to remove previous versions of VxFS packages prior to upgrading the operating system and the Veritas Storage Foundation product. You do not need to remove existing VxFS file systems, but all of them must remain unmounted throughout the upgrade process. If any VxFS file systems are mounted with the QuickLog option, QuickLog must be disabled.


  2. Check to see if any Veritas packages are on the machine using the pkginfo command.

    # pkginfo | grep VRTS

    If any VxFS packages, including Veritas Quick I/O (VRTSfdd or VRTSqio) or Veritas QuickLog (VRTSvxld or VRTSqlog) are present, remove them as shown in Step 4.

  3. Remove the VxFS related packages using the pkgrm command.
        # pkgrm VRTSfsdoc VRTSfdd VRTSqio VRTSvxld VRTSqlog VRTSvxfs
\
 

VRTSfsnbl


  Note   If the VxFS NetBackup libraries package (VRTSfsnbl) is installed, remove it before upgrading.


  1. Load and mount the disc as described in Mounting the software disc.
  2. Run the upgrade_start script to prepare the previous release of the Volume Manager for its removal.
  3. Reboot the machine to single-user mode (using a command such as shutdown).
  4. Remove any existing VxVM packages.

    For example, if you are removing older VxVM packages, which could be stand-alone or part of Veritas Foundation Suite 3.5, follow this sequence:

    # pkgrm VRTSvmdoc VRTSvmman VRTSvmpro VRTSvxvm

    or

    If you have multiple versions of VxVM loaded, remove the packages using this sequence:

    # pkgrm VRTSvmdoc VRTSvmman VRTSvmpro VRTSvxvm.\*


      Note   If you have made any additional modifications or have applied any patches, remove these before removing the VRTSvxvm package. If you are using SUNWvxvm and SUNWvxva packages, see the Sun documentation for details on how to remove SUNWvxvm and SUNWvxva patches and packages.


  5. If you have VxFS file systems specified in the /etc/vfstab file, comment them out.
  6. Shut down and halt the machine (using a command such as shutdown).

 To upgrade the operating system

  1. Upgrade the operating system to Solaris 8, 9, or 10, according to the Solaris installation documentation.

      Note   Instructions on upgrading the operating system are beyond the scope of this document.


  2. Reboot the machine to single-user mode (using a command such as shutdown).

 To upgrade the Veritas Storage Foundation packages after upgrading the operating system

  1. If your system has separate /opt and /var file systems, make sure they are mounted before proceeding with installation. When the system is in single user mode, /opt and /var are not normally mounted.
  2. Remount the disc manually.

    # mount -F hsfs -o ro /dev/dsk/c0t6d0s2 /mount_point

    where c0t6d0s2 is the default address for the DVD-ROM drive.

  3. To invoke the common installer, run the install command on the disc as shown in this example:

    # cd /cdrom/cdrom0

    # ./installer

  4. Depending on your existing configuration, various messages and prompts may appear. Answer the prompts appropriately.

    If you do not intend to view or print the online documentation, you can omit the VRTSdbdoc, VRTSfsdoc, and VRTSvmdoc packages. If you do not intend to use the GUI, you can omit the VRTSobgui package.

  5. If you commented out VxFS File System entries in the /etc/vfstab file in step 9 of the pre-upgrade procedures, uncomment them.
  6. To disable the hot-relocation feature, comment out the vxrelocd line.

    For Solaris 8 and 9, this line is in the startup file /etc/init.d/vxvm-recover:

    # vxrelocd root & # commented out to disable hot-relocation

    For Solaris 10, this line is in the startup file /lib/svc/method/vxvm-recover:

    # vxrelocd root & # commented out to disable hot-relocation

  7. Complete the upgrade using the upgrade_finish script.

    # /mount_point/storage_foundation/scripts/upgrade_finish

  8. Reboot the machine to multiuser mode (using a command such as shutdown).

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

  9. Importing a pre-5.0 Veritas Volume Manager disk group does not automatically upgrade the disk group version to the VxVM 5.0 level. You may need to manually upgrade each of your disk groups following a VxVM upgrade. See Upgrading the disk group version separately.
  10. Follow the instructions in Veritas Enterprise Administrator to set up and start VEA.