When you use Solaris Live Upgrade while upgrading and running Veritas VxVM, the system panics on reboot unless you upgrade by using the following procedure. The problem occurs if packages do not conform to Solaris advanced packaging guidelines.
Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Create an inactive boot environment. See Creating a New Boot Environment in Solaris Express Installation Guide: Solaris Live Upgrade and Upgrade Planning.
Before upgrading the inactive boot environment, you must disable the existing Veritas software on the inactive boot environment.
Mount the inactive boot environment.
# lumount inactive_boot_environment_name mount_point |
For example:
# lumount solaris8 /mnt |
Change to the directory that contains the vfstab, for example:
# cd /mnt/etc |
Make a copy of the inactive boot environment's vfstab file, for example:
# cp vfstab vfstab.501 |
In the copied vfstab, comment out all Veritas file system entries, for example:
# sed '/vx\/dsk/s/^/#/g' < vfstab > vfstab.novxfs |
The first character of each line is changed to #, which makes the line a comment line. Note that this comment line is different than the system file-comment lines.
Copy the changed vfstab file, for example:
# cp vfstab.novxfs vfstab |
Change directories to the inactive boot environment's system file, for example:
# cd /mnt/etc |
Make a copy of the inactive boot environment's system file, for example:
# cp system system.501 |
Comment out all “forceload:” entries that include drv/vx.
# sed '/forceload: drv\/vx/s/^/*/' <system> system.novxfs |
The first character of each line is changed to *, which makes the line a command line. Note that this comment line is different than the vfstab file comment lines.
Create the Veritas install-db file, for example:
# touch vx/reconfig.d/state.d/install-db |
Unmount the inactive boot environment.
# luumount inactive_boot_environment_name |
Upgrade the inactive boot environment. See Chapter 5, Upgrading With Solaris Live Upgrade (Tasks), in Solaris Express Installation Guide: Solaris Live Upgrade and Upgrade Planning.
Activate the inactive boot environment. See Activating a Boot Environment in Solaris Express Installation Guide: Solaris Live Upgrade and Upgrade Planning.
Shut down the system.
# init 0 |
Boot the inactive boot environment in single-user mode:
OK boot -s |
Several messages and error messages that contain “vxvm” or “VXVM” are displayed that can be ignored. The inactive boot environment becomes active.
Upgrade Veritas.
Restore the original vfstab and system files:
# cp /etc/vfstab.original /etc/vfstab # cp /etc/system.original /etc/system |
Reboot the system.
# init 6 |