Note Initial steps:-
1. Complete system log need to be provided in case of failures.
2. Unmount datadg’s, comment in vfstab and perform a sanity reboot
1. Remove the mirror disk from the volume manager control.( Recommended to pullout the mirror disk and remove the mirror plex.)
2. Add new harddisk in place of mirror disk,New image will be installed in this secondary disk
3. Remove old SUNWlu* packages and install it from solaris 10 image
After installation install below patch . -
pkgrm SUNWlur SUNWluu (Remove old packages and add solaris 10 live upgrade patches )
Location ->/solaris_image/Solaris_10/Product
pkgadd -d . SUNWlur
pkgadd -d . SUNWluu
patchadd 121430-14
4. Create a manual parttion in new hardisk using format -
Plan and create new root disk ,ensure flag is wm(Even for swap ) & remove tag 14 & 15 if any . { Failure of this step will not let you run the
lucreate successfully }
5. Run the lucreate command to create the OS image. Command is as follows -
e.g : lucreate -c be.org -m /:/dev/dsk/c2t1d0s0:ufs -m -:/dev/dsk/c2t1d0s1:swap -m /var:/dev/dsk/c2t1d0s3:ufs -n new.be
{ Make sure all /etc/vfstab entries except root is #ed. Also the c2t1d0s0 is the new disk }
6. Mount the newly created image. The command is as follows. -
# lumount new.be .
This will mount the new image.
Unencapsulation of secondary disk :-
Next three point are important ,if we do mistakes the original boot image will be effected,We need to edit files in newly created image –
7. comment out all veritas filesystem entries in mounted /.alt.10847 /etc/vfstab -
8. Comment out all "forceload" "vx" entries in mounted /.alt.10847 /etc/system -
9. Touch install-db and remove root-done from /.alt.10847/etc/vx/reconfig.d/state.d directory
`
11.Luumount
12. luactivate
It’s again a crucial step ,this will activate the new image on next reboot .
13. init 0 { Donot Use REBOOT/HALT}
Bring server to ok prompt
14. boot –s
Note :- this will boot to new image and secondary disk will be unencapsulated .
15. Remove Veritas packages
Pkginfo –i grep VRTS >/veritas
for i in `cat /veritas`; do pkgrm $i; done
We need to remove all packages of VERITAS .
16. init 0
17. Change the boot device back to the original boot environment by typing:
setenv boot-device disk:a {Primary Disk}
Boot to the original boot environment by typing:
Boot
Above message will displayed during lucreate .
PART 2: Upgrading the OS .
1. Upgrading your newly created Alternate Boot Environment (ABE) from a shared image on the network
luupgrade -u -n new.be -s /solaris_image
2. luactivate
It’s again a crucial step, this will activate the new image on next reboot .
3. init 0
Bring server to ok prompt
4. boot
This will boot new image upgraded with Solaris 10 .
PART 3: Apply Latest Kernel patch
In single user mode install the latest Sun recommended kernel patch.
PART 4: Install VERITAS 5 with MP1 – IDC
After installation with necessary reboots, encapsulate the secondary disk and import all other disk groups.
While Encapsulation, please have a standard naming convention as per all server.
No comments:
Post a Comment