Friday, July 24, 2009

How to upgrade VERITAS Volume Manager (VxVM)

How to upgrade VERITAS Volume Manager (VxVM) and Solaris from an older version of Solaris and SUNWvxvm.
--------------------------------------------------------------------------------
Details:
Update both VxVM and Solaris as follows:

Note: It is important to follow these steps in the specified order.

1.Obtain and install a VxVM 3.0.x license key. If currently running version 2.X or higher, there will be a valid key.

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 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.
The upgrade scripts 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.

3.Load and mount the CD-ROM or change to the directory into which the packages were downloaded. The CD-ROM
should then be visible as the file system mounted on /CD_path. If the CD-ROM is mounted automatically, its path
should be /cdrom/CD_name; if mounted manually, the path should be /mnt.

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


# CD_path/scripts/upgrade_start
or
scripts/upgrade_start (from the directory where the packages are located)


The upgrade_start script looks for volumes containing file systems. If certain key file systems must be converted back to using partitions, the script will indicate that a reboot is necessary. If so, reboot to single-user mode before proceeding to the next step. If any volumes are in use, they must either be unmounted or it is necessary to reboot to single-user mode.

5.Reboot to single-user mode (using a command such as /etc/shutdown).

6.Remove all SUNWvxvm and SUNWvxva patches and packages.Refer to Sun documentation for this procedure.

7.Shut down and halt the machine by using a command such as /etc/shutdown.

8.Boot from the Solaris CD-ROM to upgrade Solaris. Refer to Sun documentation for correct upgrade procedures.

9.Reboot the machine to single-user mode (using a command such as /etc/shutdown). It is now necessary to remount the CD-ROM manually or change into the directory where the packages have been downloaded.

10. Add the VxVM 3.0.x package by typing:


# pkgadd -d CD_path/OS_version/pkgs VRTSvxvm (from the cdrom)
or
# pkgadd -d . VRTSvxvm (from the directory where the packages are located)

If this returns warnings that include the string /etc/vx, they can be ignored and it can be continued.

11. Complete the upgrade by entering:


# CD_path/scripts/upgrade_finish (from the cdrom)
or
scripts/upgrade_finish (from the directory where the packages are located)


12.To disable the hot-relocation feature, comment out the vxrelocd line in the startup file /etc/rc2.d/S95vxvm-recover, as
follows:


#vxrelocd root &


13. Reboot to multi-user mode. At this point, the pre-upgrade configuration should be in effect and any file systems previously defined on volumes should be defined and mounted.

14.Using pkgadd, install any or all of the additional packages VRTSvmsa, VRTSvmdoc, VRTSvmman and VRTSvmdev.

15. Check the VERITAS support website for the latest patches for the Volume Manager version installed: http://support.veritas.com/

16.Importing a pre-3.x Volume Manager disk group does not automatically upgrade the disk group version to the VxVM 3.x level. It may be necessary to manually upgrade each of the disk groups following a VxVM upgrade:

vxdg upgrade

Reference: http://seer.entsupport.symantec.com/docs/230184.htm

No comments:

Post a Comment