Upgrading Veritas and/or Solaris.
Method 1:- Using Scripts.
CAUTION: Do not do boot cdrom and hit the upgrade button.
NOTE: First log in as root and back up the data on your system.
Stop all the processes (database or other applications) that are accessing
Volume Manager volumes except /, swap, /usr and /opt.
Unmount all file systems mounted on Volume Manager volumes except
/, swap, /usr and /opt.
Comment out any Volume Manager entries in /etc/vfstab except for /, /swap, /usr
and /opt
If the disk is encapsulated(/, /usr and swap), go to the /cdrom/
cdrom0, and there are two scripts, upgrade_start and upgrade_finish.
Do the following....
1. Run the upgrade_start.
2. Remove any VM patches.
3. Remove VM packages.
4. Upgrade OS.
5. Install VM packages.
6. Install VM patches.
7. Run the upgrade_finish script.
Method 2:-By Hand!!
# In vxva recursively remove all volumes in root dg from volume manager control
# Convert all root file systems like "/,/var,/opt,/usr" back to there underlying devices in /etc/vfstab.
# Comment out all other "vx" devices in /etc/vfstab
# Edit /etc/system.. Remove two lines:-
rootdev:/pseudo/vxio@0:0
set vxio:vol_rootdev_is_volume=1
# Reboot
# Remove SUNWvxva.
# Upgrade Solaris if needed.
# Install New Volume Manager.
# Run vxinstall and choose option 2 "CUSTOM INSTALL"
# Add the boot disk for encapsualtion and its mirror as a new device. DO NOT SELECT ANY OTHER DEVICES!!!!
# The system will reboot twice and encapsulate the disk.
# Remove all commented out vx devices in /etc/vfstab and reboot.
# All devices are now seen.
# Using vxva,add the mirrors to the boot disk if required.
Подписаться на:
Комментарии к сообщению (Atom)
Комментариев нет:
Отправить комментарий