You are on page 1of 16

Procedure for Live Upgrading a System from Sol8 to Sol9 (These steps were performed on

17!"1!#!1" server$
1) Remove previously installed luu & lur packages from the server.
# pkginfo -l SUNluu
P%&'(ST) SU(*luu
(+,-) Live Upgrade !. 1./.1 (usr$
0+T-&123) application
+204) sparc
5-2S'1() 11!862-57..1!1.!".!17!1
8+S-9'2) /
5-(912) Sun ,icrosystems6 'nc!
9-S0) Live Upgrade (usr$
PST+,P) on8:patch..11.".17"
'(ST9+T-) ;e< 1. ..= 1#)=9
41TL'(-) Please contact your local service provider
ST+TUS) completely installed
;'L-S) 1=# installed pathnames
" shared pathnames
7 directories
>7 e?ecuta<les
19=" <loc@s used (appro?$
# pkginfo -l SUNlur
P%&'(ST) SU(*lur
(+,-) Live Upgrade !. 1./.1 (root$
0+T-&123) application
+204) sparc
5-2S'1() 11!862-57..1!11!1=!1!=
8+S-9'2) /
5-(912) Sun ,icrosystems6 'nc!
9-S0) Live Upgrade (root$
PST+,P) on8:patch..1111=1=".1
'(ST9+T-) ;e< 1. ..= 1#)=9
41TL'(-) Please contact your local service provider
ST+TUS) completely installed
;'L-S) 8 installed pathnames
7 shared pathnames
" lin@ed files
1" directories
8 e?ecuta<les
1"7. <loc@s used (appro?$
# pkgrm SUNluu
The following pac@age is currently installed)
SU(*luu Live Upgrade !. 1./.1 (usr$
(sparc$ 11!862-57..1!1.!".!17!1
9o you want to remove this pac@ageA y
BB 2emoving installed pac@age instance CSU(*luuD
BB 5erifying pac@age dependencies!
BB Processing pac@age information!
BB 2emoving pathnames in class CnoneD
/usr/s<in/luupgrade
/usr/s<in/luumount
/usr/s<in/lustatus
/usr/s<in/lurename
/usr/s<in/lumount
/usr/s<in/luma@e
/usr/s<in/lufslist
/usr/s<in/ludelete
/usr/s<in/lucurr
/usr/s<in/lucreate
/usr/s<in/lucompare
/usr/s<in/lucancel
/usr/s<in/luactivate
/usr/s<in/lu
/usr/s<in Cshared pathname not removedD
/usr/li</lu/menu/lu!init
/usr/li</lu/menu/Te?t!success
/usr/li</lu/menu/Te?t!status
/usr/li</lu/menu/Te?t!o@
/usr/li</lu/menu/Te?t!loc@err
/usr/li</lu/menu/Te?t!list
/usr/li</lu/menu/Te?t!flash!nomedia
/usr/li</lu/menu/Te?t!flash!noarchive
/usr/li</lu/menu/Te?t!flash!invalid
/usr/li</lu/menu/Te?t!flash!delete
/usr/li</lu/menu/Te?t!fail
/usr/li</lu/menu/Te?t!err
EEEEEEEEEEEEEEEEEEEEETruncatedEEEEEEEEEEEEEEEEEEEEEEEEE
/usr/li</lu/fstypes
/usr/li</lu/compare
/usr/li</lu
/usr/li< Cshared pathname not removedD
/usr Cshared pathname not removedD
BB Updating system information!
2emoval of CSU(*luuD was successful!
# pkgrm SUNlur
The following pac@age is currently installed)
SU(*lur Live Upgrade !. 1./.1 (root$
(sparc$ 11!862-57..1!11!1=!1!=
9o you want to remove this pac@ageA y
BB 2emoving installed pac@age instance CSU(*lurD
BB 5erifying pac@age dependencies!
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEETruncatedEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
/etc/init!d Cshared pathname not removedD
/etc/default Cshared pathname not removedD
/etc Cshared pathname not removedD
BB Updating system information!
2emoval of CSU(*lurD was successful!
!) No" install SUNluu & SUNlur packages either from #$R%& or from an 'S%
image of Sol( )kept under *usr*hit+soft"ares on 'tinfranoc server)
# lofiadm -a *opt*live-upgrade*sol(-sparc.iso
/dev/lofi/1
# mount -, hsfs *dev*lofi*1 *mnt
# df -k
;ilesystem @<ytes used avail capacity ,ounted on
/dev/ds@/c1t.d.s. 181==.18 7>##=> 1=#81> 1#F /
/proc . . . .F /proc
fd . . . .F /dev/fd
mntta< . . . .F /etc/mntta<
swap >#8>7 " >#8>>. 1F /var/run
swap >#877"# ">9# >#8>>. 1F /tmp
/dev/ds@/c1t.d.s" ">.8.>=" 7=91899 #1>77=. "F /opt
/dev/lofi/1 "=181# "=181# . 1..F /mnt
#cd * mnt*Solaris+(*-roduct
# pkgadd -d . SUNlur
Processing pac@age instance CSU(*lurD from C/mnt/SolarisG9/ProductD
Live Upgrade (root$
(sparc$ 11!962-57..>!.=!1.!18!>>
0opyright .. Sun ,icrosystems6 'nc! +ll rights reserved!
Use is su<Hect to license terms!
Using C/D as the pac@age <ase directory!
BB Processing pac@age information!
BB Processing system information!
9 pac@age pathnames are already properly installed!
BB 5erifying pac@age dependencies!
BB 5erifying dis@ space reIuirements!
BB 0hec@ing for conflicts with pac@ages already installed!
BB 0hec@ing for setuid/setgid programs!
This pac@age contains scripts which will <e e?ecuted with super:user
permission during the process of installing this pac@age!
9o you want to continue with the installation of CSU(*lurD Jy6n6AK y
'nstalling Live Upgrade (root$ as CSU(*lurD
BB -?ecuting preinstall script!
BB 'nstalling part 1 of 1!
"79 <loc@s
/etc/lu/synclist
J verifying class C+dd(oUpdateD K
Updating /etc/default/lu
J verifying class C-tc9efLuD K
BB -?ecuting postinstall script!
7777777777777777777777777777777777777777777777777777777
',P12T+(T (1T'0-
Patches (eeded to 2un Solaris Live Upgrade
0orrect operation of Solaris Live Upgrade reIuires that a limited set of
patch revisions <e installed for Sun1S =!8 for the sparc platform!
8efore installing or running Live Upgrade6 you are reIuired to install a
limited set of patch revisions! ,a@e sure you have the most recently
updated patch list <y consulting sunsolve!sun!com! Search for the info doc
7.99 on the SunSolve(tm$ we< site!
Live Upgrade may fail to wor@ properly if the latest limited set
of patch revisions are not installed on this system!
7777777777777777777777777777777777777777777777777777777
'nstallation of CSU(*lurD was successful!
# pkgadd -d . SUNluu
Processing pac@age instance CSU(*luuD from C/mnt/SolarisG9/ProductD
Live Upgrade (usr$
(sparc$ 11!962-57..=!.#!8!"!9
0opyright .. Sun ,icrosystems6 'nc! +ll rights reserved!
Use is su<Hect to license terms!
Using C/D as the pac@age <ase directory!
BB Processing pac@age information!
BB Processing system information!
7 pac@age pathnames are already properly installed!
BB 5erifying pac@age dependencies!
BB 5erifying dis@ space reIuirements!
BB 0hec@ing for conflicts with pac@ages already installed!
BB 0hec@ing for setuid/setgid programs!
This pac@age contains scripts which will <e e?ecuted with super:user
permission during the process of installing this pac@age!
9o you want to continue with the installation of CSU(*luuD Jy6n6AK y
'nstalling Live Upgrade (usr$ as CSU(*luuD
BB 'nstalling part 1 of 1!
.1# <loc@s
BB -?ecuting postinstall script!
7777777777777777777777777777777777777777777777777777777
',P12T+(T (1T'0-
Patches (eeded to 2un Solaris Live Upgrade
0orrect operation of Solaris Live Upgrade reIuires that a limited set of
patch revisions <e installed for Sun1S =!8 for the sparc platform!
8efore installing or running Live Upgrade6 you are reIuired to install a
limited set of patch revisions! ,a@e sure you have the most recently
updated patch list <y consulting sunsolve!sun!com! Search for the info doc
7.99 on the SunSolve(tm$D we< site!
Live Upgrade may fail to wor@ properly if the latest limited set
of patch revisions are not installed on this system!
7777777777777777777777777777777777777777777777777777777
'nstallation of CSU(*luuD was successful!
'nstall the packages listed in the order at
.http/**sunsolve.sun.com*search*document.do0assetkey11-21-3!4((-15
-lease follo" the instructions given under 6elo" mentioned section on the
UR7
-atches are kept at *usr*hit+soft"ares*sol8-lu-patchlist on 'tinfranoc server
L9he follo"ing patches provide 7ive Upgrade functionality for Solaris 8
S-:R#/5 "hile proceeding "ith the patch install.
9he follo"ing patches provide 7ive Upgrade functionality for Solaris 8 S-:R#/
11."8.:.# or higher li<adm patches
11.9">:# or higher p@g utilities patch
11"9#:." or higher fgrep patches
111111:.7 or higher naw@ patches
1.8987:18 or higher patchadd/patchrm patch;;
11.97:.7 or higher cpio patch
111879:.1 or higher prodreg patches for Live Upgrade
1.91>7:>" or higher lin@er patches
1.8>">: or higher SU(*li<0 patches
1.8>"=: or higher SU(*li<0? patches
1.8#9":# or higher 9is@suite patches
The following patch is only reIuired if the SU(*mdHa pac@age is installed)
1117==:. or higher 9is@suite patches
11">=:.> or higher Pa? patches
The following patch is only reIuired if one or more of the SU(*@cspg6 SU(*@csrt6
SU(*@csp?6 or SU(*@csr? pac@ages are installed)
111>..:.> or higher @cmsGserver and @cmsGconfigure patch
The following patch is only reIuired if one or more of the SU(*=ttfe6 SU(*c<cp6
SU(*cttfe! SU(*cw<cp6 SU(*c?oft6 SU(*gttfe6 SU(*hpcp6 SU(*httfe6
SU(*@<cp6 SU(*@ttfe6 or SU(*@w<cp pac@ages are installed)
1179:." or higher +L0 Procedural script patch
The following patch is only reIuired if one or more of the SU(*gttf6 SU(*gttfe6 or
SU(*g?fnt pac@ages are installed)
11>=1:.1 or higher +L0 Procedural script patch (Solaris 8 /.$
1.8977:.1 or higher li<smedia patch
1.897>:. or higher sd and uata driver patch
'f applied to the live <oot environment6 the following patch must <e applied in single:user
mode and a re<oot is reIuired to <ring the system to a consistent state)
1.89#8:1 or higher vol/vold/rmmount/devGpcmem!so!1 patch (2e<oot can <e ignored
here$
# patchadd 114<84-42
0hec@ing installed patches!!!
5erifying sufficient filesystem capacity (dry run method$!!!
'nstalling patch pac@ages!!!
Patch num<er 11."8.:.# has <een successfully installed!
See /var/sadm/patch/11."8.:.#/log for details
Patch pac@ages installed)
SU(*arc
SU(*arc?
SU(*csl
SU(*csl?
SU(*csr
SU(*cstl
SU(*cstl?
# patchadd 114(<=-!2
0hec@ing installed patches!!!
5erifying sufficient filesystem capacity (dry run method$!!!
'nstalling patch pac@ages!!!
Patch num<er 11.9">:# has <een successfully installed!
See /var/sadm/patch/11.9">:#/log for details
Patch pac@ages installed)
SU(*arc
SU(*csu
# patchadd 11!<(2-4<
0hec@ing installed patches!!!
5erifying sufficient filesystem capacity (dry run method$!!!
'nstalling patch pac@ages!!!
Patch num<er 11"9#:." has <een successfully installed!
See /var/sadm/patch/11"9#:."/log for details
Patch pac@ages installed)
SU(*csr
SU(*csu
# patchadd 111111-43
0hec@ing installed patches!!!
5erifying sufficient filesystem capacity (dry run method$!!!
'nstalling patch pac@ages!!!
Patch num<er 111111:.7 has <een successfully installed!
See /var/sadm/patch/111111:.7/log for details
Patch pac@ages installed)
SU(*csr
SU(*esu
# patchadd 148(83-18
0hec@ing installed patches!!!
5erifying sufficient filesystem capacity (dry run method$!!!
'nstalling patch pac@ages!!!
Patch num<er 1.8987:18 has <een successfully installed!
See /var/sadm/patch/1.8987:18/log for details
Patch pac@ages installed)
SU(*admr
SU(*swmt
# patchadd 11!4(3-43
0hec@ing installed patches!!!
5erifying sufficient filesystem capacity (dry run method$!!!
'nstalling patch pac@ages!!!
Patch num<er 11.97:.7 has <een successfully installed!
See /var/sadm/patch/11.97:.7/log for details
Patch pac@ages installed)
SU(*csu
# patchadd 11183(-41
#hecking installed patches...
%ne or more patch packages included in
11183(-41 are not installed on this system.
-atchadd is terminating. )9his >ehavior can 6e safely ignored)
# patchadd 14(1=3-=<
0hec@ing installed patches!!!
5erifying sufficient filesystem capacity (dry run method$!!!
'nstalling patch pac@ages!!!
Patch num<er 1.91>7:>" has <een successfully installed!
See /var/sadm/patch/1.91>7:>"/log for details
Patch pac@ages installed)
SU(*arc666 SU(*<tool666 SU(*<too?666 SU(*csl6666 SU(*csl?6666666 SU(*csr66666666
SU(*csu6666 SU(*cs?u66666 SU(*hea666 SU(*md<666 SU(*md<?6666
SU(*osdem666 SU(*too66 SU(*too?
# patchadd 148=<=-!!
0hec@ing installed patches!!!
5erifying sufficient filesystem capacity (dry run method$!!!
'nstalling patch pac@ages!!!
Patch num<er 1.8>">: has <een successfully installed!
See /var/sadm/patch/1.8>">:/log for details
Patch pac@ages installed)
SU(*li<0
# patchadd 148=<?-!!
0hec@ing installed patches!!!
5erifying sufficient filesystem capacity (dry run method$!!!
'nstalling patch pac@ages!!!
Patch num<er 1.8>"=: has <een successfully installed!
See /var/sadm/patch/1.8>"=:/log for details
Patch pac@ages installed)
SU(*li<0?
# patchadd 1482(<-!2
0hec@ing installed patches!!!
5erifying sufficient filesystem capacity (dry run method$!!!
'nstalling patch pac@ages!!!
Patch num<er 1.8#9":# has <een successfully installed!
See /var/sadm/patch/1.8#9":#/log for details
Patch pac@ages installed)
SU(*mdg
SU(*mdnu
SU(*mdr
SU(*mdu
SU(*md?
# patchadd 111=44-4=
0hec@ing installed patches!!!
5erifying sufficient filesystem capacity (dry run method$!!!
'nstalling patch pac@ages!!!
Patch num<er 111>..:.> has <een successfully installed!
See /var/sadm/patch/111>..:.>/log for details
Patch pac@ages installed)
SU(*@cspg
SU(*@csp?
SU(*@csrt
SU(*@csr?
# patchadd 148(28-1!
0hec@ing installed patches!!!
5erifying sufficient filesystem capacity (dry run method$!!!
'nstalling patch pac@ages!!!
Patch num<er 1.89#8:1 has <een successfully installed!
See /var/sadm/patch/1.89#8:1/log for details
Patch pac@ages installed)
SU(*csr
SU(*esu
SU(*hea
SU(*volu
SU(*volu?
Note/ -atches giving errors "hile installation can 6e safely ignored..
>reak if hard"are R:'$ implemented.
raidctl @d Avol nameB
>elo" mentioned is the status on the server "hile lucreate command is CDecuting
# lustatus
8oot -nvironment 's +ctive +ctive 0an 0opy
(ame 0omplete (ow 1n 2e<oot 9elete Status
:::::::::::::::::::::::::: :::::::: :::::: ::::::::: :::::: ::::::::::
sol8 yes yes yes no :
sol9 no no no no :#9'EC
# df -k
;ilesystem @<ytes used avail capacity ,ounted on
/dev/ds@/c1t.d.s. 181==.18 771>78 1=.199. 1#F /
/proc . . . .F /proc
fd . . . .F /dev/fd
mntta< . . . .F /etc/mntta<
swap >#1>8=# >. >#1>81# 1F /var/run
swap >#18"7# "=#. >#1>81# 1F /tmp
/dev/ds@/c1t.d.s" ">.8.>=" 7#>77= #.9"7> "F /opt
/dev/lofi/1 "=181# "=181# . 1..F /mnt
/dev/ds@/c1td.s. 181==.18 >97= 179"7>" 1F *.alt.tmp.6-F6.mnt
/dev/ds@/c1td.s" ">.8.>=" >.=>7" 9#8>917 1"F *.alt.tmp.6-F6.mnt*opt
)9his is the status "hile running the lucreate command.)
-erform lucreate
# *usr*s6in*lucreate -c sol8 -n sol( -# *dev*dsk*c1t4d4s4 -m */*dev*dsk*c1t!d4s4/ufs
-m *opt/*dev*dsk*c1t!d4s</ufs
9iscovering physical storage devices
9iscovering logical storage devices
0ross referencing storage devices with <oot environment configurations
9etermining types of file systems supported
5alidating file system reIuests
Preparing logical storage devices
Preparing physical storage devices
0onfiguring physical storage devices
0onfiguring logical storage devices
+nalyMing system configuration!
(o name for current <oot environment!
0urrent <oot environment is named Csol8D!
0reating initial configuration for primary <oot environment Csol8D!
The device C/dev/ds@/c1t.d.s.D is not a root device for any <oot environment!
P8- configuration successful) P8- name Csol8D P8- 8oot 9evice C/dev/ds@/c1t.d.s.D!
0omparing source <oot environment Csol8D file systems with the file
system(s$ you specified for the new <oot environment! 9etermining which
file systems should <e in the new <oot environment!
Updating <oot environment description data<ase on all 8-s!
Searching /dev for possi<le <oot environment filesystem devices
Updating system configuration files!
The device C/dev/ds@/c1td.s.D is not a root device for any <oot environment!
0reating configuration for <oot environment Csol9D!
0reating <oot environment Csol9D!
0reating file systems on <oot environment Csol9D!
0reating CufsD file system for C/D on C/dev/ds@/c1td.s.D!
0reating CufsD file system for C/optD on C/dev/ds@/c1td.s"D!
,ounting file systems for <oot environment Csol9D!
0alculating reIuired siMes of file systems for <oot environment Csol9D!
Populating file systems on <oot environment Csol9D!
0hec@ing selection integrity!
'ntegrity chec@ 1%!
Populating contents of mount point C/D!
Populating contents of mount point C/optD!
0opying!
0reating shared file system mount points!
0reating compare data<ases for <oot environment Csol9D!
0reating compare data<ase for file system C/optD!
0reating compare data<ase for file system C/D!
Updating compare data<ases on <oot environment Csol9D!
,a@ing <oot environment Csol9D <oota<le!
Population of <oot environment Csol9D successful!
0reation of <oot environment Csol9D successful!
Eerify status
# lustatus
8oot -nvironment 's +ctive +ctive 0an 0opy
(ame 0omplete (ow 1n 2e<oot 9elete Status
:::::::::::::::::::::::::: :::::::: :::::: ::::::::: :::::: ::::::::::
sol8 yes yes yes no :
sol9 yes no no yes :
-erform luupgrade
# *usr*s6in*luupgrade -u -n Gsol(G -s G*mntG
5alidating the contents of the media C/mntD!
The media is a standard Solaris media!
The media contains an operating system upgrade image!
The media contains CSolarisD version C9D!
0onstructing upgrade profile to use!
Locating the operating system upgrade program!
0hec@ing for e?istence of previously scheduled Live Upgrade reIuests!
0reating upgrade profile for 8- Csol9D!
9etermining pac@ages to install or upgrade for 8- Csol9D!
Performing the operating system upgrade of the 8- Csol9D!
0+UT'1() 'nterrupting this process may leave the <oot environment unsta<le
or un<oota<le!
Upgrading Solaris) 1..F completed
'nstallation of the pac@ages from this the media is complete!
+dding operating system patches to the 8- Csol9D!
The operating system patch installation is complete!
'(;12,+T'1() C/var/sadm/system/logs/upgradeGlogD contains a log of the
upgrade operation!
'(;12,+T'1() C/var/sadm/system/data/upgradeGcleanupD contains a log of
cleanup operations reIuired!
*+2('(&) C1D pac@ages failed to install properly on <oot environment Csol9D!
'(;12,+T'1() C/var/sadm/system/data/upgradeGfailedGp@gaddsD on <oot
environment Csol9D contains a list of pac@ages that failed to upgrade or
install properly!
'(;12,+T'1() 2eview the files listed a<ove on <oot environment Csol9D!
8efore you activate the <oot environment6 determine if any additional
system maintenance is reIuired or if additional media of the software
distri<ution must <e installed!
The Solaris upgrade of the <oot environment Csol9D is partially complete!
-erform -atch Upgrade
#luupgrade -n sol( -s .*var*tmp*(+Recommended5 @t Hcat patch+orderH
*here Nu 7 indicates the function to perform:to install an 1S image!
:n 7 (ame of the 8- to receive an 1S upgrade!
:s 7 Path name of a directory containing an 1S image! ('n our case6 Solaris 1.
959$
-erform luactivate
#luactivate sol(
8oot -nvironment 's +ctive +ctive 0an 0opy
(ame 0omplete (ow 1n 2e<oot 9elete Status
:::::::::::::::::::::::::: :::::::: :::::: ::::::::: :::::: ::::::::::
sol8 yes yes no no :
sol9 yes no yes yes :
(ote) ,a@e sure you have the console access during re<oot!
'mportant) 'n case of a failure while <ooting to the target 8-6 the following process needs to <e
followed to fall<ac@ to the currently wor@ing <oot environment)
1! -nter the P21, monitor (o@ prompt$!
! 8oot the machine to Single User mode using a different <oot device (li@e the Solaris 'nstall 09
or (etwor@$! -?amples)
+t the P21, monitor (o@ prompt$)
;or <oot to Solaris 09) <oot cdrom :s
"! ,ount the 0urrent <oot environment root slice to some directory (li@e /mnt$! 3ou can use the
following command to mount)
mount :; ufs /dev/ds@/c.t.d.s. /mnt
>! 2un CluactivateD utility with out any arguments from the current <oot environment root slice6 as
shown <elow)
/mnt/s<in/luactivate
=! luactivate6 activates the previous wor@ing <oot environment and indicates the result!
#! -?it Single User mode and re<oot the machine!
No" re6oot the server using either .SIU9$%*init 25 to activate the 7U .Sol(5
:ctivity completed.

You might also like