upgrading VxVM quick and easy
- If the root disk is encapsulated by veritas volume manager
- Break any root volume mirror (remove/detach mirror plex from rootvol. This
way, you can simply boot back off of this mirror plex if you need to get back
quickly).
- Save a copy of your /etc/system file
- Comment out any "rootdevice" lines in the /etc/system file (remember to use '*' as the comment character!)
- save your VxVM volumes in vfstab (by copying the current vfstab to another file, and copy the vfstab.prevm as vfstab; or comment out the Veritas volumes in the vfstab file)
- remove any patches you may have applied to VxVM
- remove (pkgrm) the current Veritas (SEVM=SUNW... or Veritas=VRTS...) packages
- reboot
- add (pkgadd) new packages from the Volume Manager cdrom
- copy back your original (saved above) vfstab file as /etc/vfstab (yes, you can do this before running vxinstall - it doesn't take effect until the next reboot anyway); or uncomment the volumes.
- Run vxinstall
- Do a custom install.
ONLY encapsulate root disk into array - choose 4 to leave all other disks on all other controllers alone (or use an exclude file for the other disks)
- Let it do its reboots
- Done: when it reboots, you should see the volumes listed in vfstab (if you have them in a diskgroup
other than rootdg. If you had them in rootdg, you're going to get warnings about rootdg numbers not being the same.)