Tuesday May 06, 2008

Live upgrade with solaris

1)
During the initial install create alternate partition or else leave enough disk space for
alternate partition, boot environment,
I created 2 partitions 1 for initial install and second for secondary.

2)
I have had
/dev/dsk/c1t0d0s0 mounted as /
and
/dev/dsk/c1t0d0s4 mounted as /second_root
slices.
df -hk output will show the available clices and also the mountpoints.

3)
#umount /second_root
comment out corresponding entry from /etc/vfstab

4)
now execute command-
lucreate -c "snv_87: -m/:/dev/dsk/c1t0d0s4:ufs -n "snv_87_2"

5)
I do LUpgrade from a install cd.
now execute command -
luupgrade -u -n snv_87_2 -s /cdrom/sol_x11_86

6)
remove DVD

7)
#init 6

8)
after reboot into either partition you will see -
# lustatus
Boot Environment Is Active Active Can Copy
Name Complete Now On Reboot Delete Status
-------------------------- -------- ------ --------- ------ ----------
snv_87 yes no no yes -
snv_87_2 yes yes yes no -

9)
you can do lumount the other partition.
#lumount snv_87
/.alt.snv_87

10)
you can cd to /.alt.snv_87 change contents and or bfu into this alternate bootable
partition such as -
# bfu /.../nightly /.alt.snv_87
#acr
#reboot