Symantec logo

Upgrading VxVM and the Solaris OS

If you are upgrading from VxVM 3.5 MP4 and the Solaris operating system go to Upgrading VxVM and the Solaris OS.

If you are upgrading only the Solaris operating system, go to Upgrading the Solaris OS only.

This section explains how to upgrade both the Solaris operating system and VxVM. (Refer to the VxVM and Solaris operating system upgrade paths to determine if an operating system upgrade is required.) If VxVM 3.5 MP4 is running on Solaris 7, you cannot upgrade directly to Solaris 10.

This upgrade procedure covers both the possible scenarios, which are:

 To upgrade both VxVM and the Solaris OS

  1. If you have not already obtained and installed a VxVM 5.0 license key, do so now. See Symantec product licensing for details.

      Note   The directory /opt must exist, be writable, and must not be a symbolic link. This is because the volumes not temporarily converted by upgrade_start are unavailable during the upgrade process. If you have a symbolic link from /opt to one of the unconverted volumes, the symbolic link will not function during the upgrade and items in /opt are not installed.


  2. Load and mount the DVD by starting the volmgt daemon.

    # /etc/init.d/volmgt start

  3. Run the upgrade_start with the -check argument to detect any problems that exist which could prevent a successful upgrade. (Be sure to run the upgrade_start and upgrade_finish scripts that are supplied with the VxVM 5.0 release.) If this command reports success, you can proceed with running the upgrade_start script, but if it reports errors, correct the problem(s) and rerun upgrade_start -check.

    # cd /cdrom/cdrom0/volume_manager/scripts

    # ./upgrade_start -check

  4. Run the upgrade_start script so that the system can come up with partitions. The upgrade_start script searches for volumes containing file systems, and if any are found, converts them to partitions:

    # ./upgrade_start

  5. Reboot to single-user mode.

    # reboot -- -s

  6. If needed, mount /opt manually before you run pkgrm to remove VxVM packages.
  7. If VxVM 3.5 MP4 was previously installed, stop any VxVM processes. Then remove the old packages (including VRTSvxvm), as follows:

    # pkgrm VRTSvmman VRTSvmdoc VRTSvmpro VRTSfspro VRTSobgui

    # pkgrm VRTSvxvm VRTSob VRTSvlic

  8. If VxVM 4.0 or 4.1 was previously installed, remove the old packages, as follows:

    # cd /opt/VRTS/install

    # /opt/VRTSob/bin/vxsvcctrl stop

    # ./uninstallvm `hostname`

    # ./uninstallinfr

  9. Upgrade the operating system to Solaris 8, 9 or 10.

      Note   Refer to the Solaris installation documentation for instructions on how to upgrade the Solaris operating system. After installing the Solaris operating system, install the required patches that are listed in "Solaris Patch Requirements" in the Veritas Storage Foundation Release Notes.


  10. Once the system is up after upgrading the Solaris operating system, ensure that /opt is mounted. Then load and mount the software disc by starting the volmgt daemon.

    # /etc/init.d/volmgt start

  11. Install the VxVM packages from the VM 5.0 distribution media:

    # cd /cdrom/cdrom0/volume_manager

    # ./installvm `hostname` -installonly

  12. Complete the upgrade:

    # cd /cdrom/cdrom0/volume_manager/scripts

    # ./upgrade_finish

  13. Perform a reconfiguration reboot:

    # reboot -- -r

  14. Configure the VxVM packages from the VM 5.0 distribution media:

    # cd /cdrom/cdrom0/volume_manager

    # ./installvm `hostname` -configure

  15. To take advantage of the new features in this release, you should upgrade to the latest disk group version. See Upgrading CVM protocol and disk group version To confirm that the VxVM upgrade has been successful, see Verifying the Veritas Storage Foundation upgrade.