This section explains how to upgrade Veritas Storage Foundation if the root disk is encapsulated.
The following procedures are for Veritas Storage Foundation, Veritas Storage Foundation for DB2, Veritas Storage Foundation for Oracle, and Veritas Storage Foundation for Sybase.
Note If your root disk is not encapsulated, see Upgrading Veritas Storage Foundation on Solaris 8, 9, or 10.
If you are upgrading a Veritas Storage Foundation product on a system with an encapsulated root disk, you must first remove the previous release of Veritas Volume Manager.
Note It is important that you follow these steps in the specified order.
To upgrade on a system with an encapsulated root disk
upgrade_check
command to see the status of the root disk.
upgrade_start
script to prepare the previous release of Veritas Volume Manager for removal:
# /
mount_point
/storage_foundation/scripts
The upgrade_start
script looks for volumes containing file systems. If certain key file systems must be converted back to using partitions, the script indicates that a reboot is necessary. If any volumes are in use, you must either unmount those volumes or reboot to single-user mode.
If any error messages are encountered during the upgrade_start
process, run the upgrade_finish
script immediately to restore the system. Examine the error messages and address them accordingly. Then, run the upgrade_start
script again. Do not proceed to Step 3 until upgrade_start
runs without producing any errors.
shutdown
).
VRTSfsnbl
) is installed, remove it before you install the new packages.
To remove the package, use the pkgrm
command as follows:
Respond to any system messages as needed.
The libraries contained in this package are included in the VRTSvxfs
package in 4.0.
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
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.
/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.
# mount -F hsfs -o ro /dev/dsk/c0t6d0s2 /
mount_point
where c0t6d0s2
is the default address for the DVD-ROM drive. For more information, see Mounting the software disc.
install
command on the disc as shown in this example:
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.
/etc/vfstab
file, uncomment them.
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
:
upgrade_finish
script.
At this point, your pre-upgrade configuration should be in effect and any file systems previously defined on volumes should be defined and mounted.