Post on 05-Jul-2018
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
1/26
Complete Checklist for Manual Upgrades to 11gR1 [ID 42982!1"
Modified 28-SEP-2010 Type BULLETIN Status PUBLISHED
In this Document Purpose Scope and Application o!plete "ec#list $or %anual Up&rades to 11&'1 Requirements and recommendations Compatibility Matrix Pre-Upgrade Steps Collecting Pre-Upgrade Information Preparing Database for Upgrade Upgrading Database to gR Post Upgrade Steps 'e$erences
#pplies to$
(racle Ser)er - Enterprise Edition - *ersion+ 11,1,0, to 11,1,0,. - 'elease+ 11,1 to 11,1(racle Ser)er - Standard Edition - *ersion+ 11,1,0, to 11,1,0,. /'elease+ 11,1 to 11,1In$or!ation in t"is docu!ent applies to an plat$or!,(racle Ser)er Enterprise Edition - *ersion+ 11,1,0,
%urposeT"is docu!ent is created $or use as a &uideline and c"ec#list "en !anuall up&radin& $ro!(racle 3i'24 (racle 10&'14 (racle 10&'2 to (racle 11&'1 511,16,
7or !ore detailed instructions4 it is alas su&&ested to re$er (racle Data9ase Up&rade:uide 11& 'elease 1 511,16,
&cope and #pplication
Data9ase Ad!inistrators4 Support
Complete Checklist for Manual Upgrades to 11gR1
Requirements and recommendations
• Donload and Install (racle 11& 'elease 1 in a ne (racle Ho!e and !a#e sure
t"ere are no relin#in& errors,• Install t"e latest a)aila9le Patc"set $ro! %etalin#, 5I$ a)aila9le6,
• Install t"e latest a)aila9le ritical Patc" Update, 5I$ a)aila9le6,
•
Eit"er ta#e a old or Hot 9ac#up o$ our source data9ase 5ad)isa9le to "a)e cold 9ac#up6,
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=429825.1#PURPOSEhttps://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=429825.1#SCOPEhttps://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=429825.1#BODYTEXThttps://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=429825.1#aref1https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=429825.1#aref2https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=429825.1#aref3https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=429825.1#aref4https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=429825.1#aref5https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=429825.1#aref6https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=429825.1#aref7https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=429825.1#REFhttp://download.oracle.com/docs/cd/B28359_01/server.111/b28300/toc.htmhttp://download.oracle.com/docs/cd/B28359_01/server.111/b28300/toc.htmhttp://www.oracle.com/technology/software/products/database/index.htmlhttps://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=429825.1#PURPOSEhttps://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=429825.1#SCOPEhttps://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=429825.1#BODYTEXThttps://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=429825.1#aref1https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=429825.1#aref2https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=429825.1#aref3https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=429825.1#aref4https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=429825.1#aref5https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=429825.1#aref6https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=429825.1#aref7https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=429825.1#REFhttp://download.oracle.com/docs/cd/B28359_01/server.111/b28300/toc.htmhttp://download.oracle.com/docs/cd/B28359_01/server.111/b28300/toc.htmhttp://www.oracle.com/technology/software/products/database/index.html
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
2/26
• I$ ou are up&radin& to 11,1,0,4 re)ie t"e $olloin& alert 9e$ore per$or!in& t"eup&rade and appl an re;uired patc"es+
Note EII?14 ('A-.@@< />(PESI and(I-21(?SIH'EAD1 'eported "ile Up&radin& To
11,1,0,
Compatibility Matrix
• %ini!u! *ersion o$ t"e data9ase t"at can 9e directl up&raded to (racle 11& 'elease
1
&ource Data'ase (arget Data'ase
3,2,0,@,0 5or "i&"er6 11,1,C10,1,0,2,0 5or "i&"er6 11,1,C
10,2,0,1,0 5or "i&"er6 11,1,C
• T"e $olloin& data9ase )ersion ill re;uire an indirect up&rade pat",
&ource Data'aseUpgrade %ath for (arget
Data'ase (arget Data'ase
.,=,=,0,0 5or loer6--
.,=,@,C -- 3,2,0,8--
11,1,C
8,0,
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
3/26
Step 1+-------Lo& in to t"e sste! as t"e oner o$ t"e ne 11&'1 ('ALEH(%E and cop t"e$olloin& $ile $ro! t"e 11&'1 ('ALEH(%EFrd9!sFad!in director to a directoroutside o$ t"e (racle "o!e4 suc" as t"e Ft!p director on our sste!+
$ORACLE_HOME/rdbms/admin/utlu111i.sql
Step 2+-------
"an&e to t"e director "ere utlu111i,s;l "as 9een copied in t"e pre)ious step,
Start SGLPlus and connect to t"e data9ase instance as a user it" SSDBA pri)ile&es, T"enrun and spool t"e utlu111i,s;l $ile, Please note t"at t"e data9ase s"ould 9e started usin& t"eSource (racle Ho!e 53,2,0,C or 10,1,0,C or 10,2,0,C6
$ sqlplus '/ as sysdba'SQL sp!!l up"rad#_in!.l!"SQL %utlu111i.sqlSQL sp!!l !
"ec# t"e spool $ile and eCa!ine t"e output o$ t"e up&rade in$or!ation tool,T"e sections "ic" $ollo4 descri9e t"e output o$ t"e Up&rade In$or!ation Tool,7or Sa!ple output4 lic# !ere
Database+
T"is section displas &lo9al data9ase in$or!ation a9out t"e current data9ase suc" as t"edata9ase na!e4 release nu!9er4 9loc#siJe4 co!pati9ilit le)el and t"e )ersion o$ t"e ti!eJone$ile, A arnin& is displaed under Update Para!eters4 i$ t"e (%PATIBLE initialiJation
para!eter needs to 9e adKusted 9e$ore t"e data9ase is up&raded, I$ t"e ti!eJone $ile )ersion isnot @4 t"en a arnin& is &i)en to Patc" t"e data9ase to ti!eJone $ile )ersion @ 9e$oreup&radin& t"e data9ase,
"ogfiles+
T"is section displas a list o$ redo lo& $iles in t"e current data9ase "ose siJe is less t"an @%B, 7or eac" lo& $ile4 t"e $ile na!e4 status4 &roup nu!9er and reco!!ended siJe isdisplaed, Ne $iles o$ at least @ %B 5pre$era9l 10 %B6 need to 9e created in t"e currentdata9ase, An redo lo& $iles less t"an @ %B !ust 9e dropped 9e$ore t"e data9ase is up&raded,
Tablespaces+
T"is section displas a list o$ ta9lespaces in t"e current data9ase, 7or eac" ta9lespace4 t"eta9lespace na!e and !ini!u! re;uired siJe is displaed, In addition4 a !essa&e is displaedi$ t"e ta9lespace is ade;uate $or t"e up&rade, I$ t"e ta9lespace does not "a)e enou&" $reespace4 t"en space !ust 9e added to t"e ta9lespace in t"e current data9ase, Ta9lespaceadKust!ents need to 9e !ade 9e$ore t"e data9ase is up&raded,
Update Parameters+
http://download.oracle.com/docs/cd/B28359_01/server.111/b28300/upgrade.htm#CACHIDJDhttp://download.oracle.com/docs/cd/B28359_01/server.111/b28300/upgrade.htm#CACHIDJD
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
4/26
T"is section displas a list o$ initialiJation para!eters in t"e para!eter $ile o$ t"e currentdata9ase t"at !ust 9e adKusted 9e$ore t"e data9ase is up&raded, T"e adKust!ents need to 9e!ade to t"e para!eter $ile a$ter it is copied to t"e ne (racle Data9ase 11& release 1 511,16,
Deprecated Parameter s+
T"is section displas a list o$ initialiJation para!eters in t"e para!eter $ile o$ t"e currentdata9ase t"at are deprecated in t"e ne (racle Data9ase 11& release 1 511,16, DeprecatedPara!eters !eans4 t"e para!eters "ic" &raduall p"ase-out it" ne releases, In $uture4t"ese ill 9e !ade o9solete4 so it is ad)isa9le to a)oid usin& deprecated para!eters,
#ppendix #+ Deprecated Initiali$ation Parameters $or a list o$ initialiJation para!eters t"atare deprecated in (racle Data9ase 11& release 1 511,16,
%bsolete Parameters&
T"is section displas a list o$ initialiJation para!eters in t"e para!eter $ile o$ t"e currentdata9ase t"at are o9solete in t"e ne (racle Data9ase 11& release 1 511,16, (9soletePara!eters need to 9e re!o)ed $ro! t"e para!eter $ile 9e$ore t"e data9ase is up&raded,(9solete Para!eters !eans4 "ic" are no lon&er )alid 5or6 in use,
#ppendix '+ %bsolete Initiali$ation Parameters $or a list o$ initialiJation para!eters t"at areo9solete in (racle Data9ase 11& release 1 511,16
Components&
T"is section displas a list o$ data9ase co!ponents in t"e ne (racle Data9ase 11& release 1511,16 t"at ill 9e up&raded or installed "en t"e current data9ase is up&raded,
Miscellaneous (arnings+
T"is section pro)ides arnin&s a9out speci$ic situations t"at !a re;uire attention 9e$oreandFor a$ter t"e up&rade, 7or instance4 in$or!ation a9out ti!eJone $iles4 stale opti!iJerstatistics4 in)alid o9Kects, Note t"at t"ese issues %UST 9e re)ieed 9e$ore t"e up&rade andaddressed appropriatel,
S)S#U* Tablespace+
T"is section displas t"e !ini!u! re;uired siJe $or t"e SSAU? ta9lespace4 "ic" isre;uired in (racle Data9ase 11& 'elease 1 511,16, I$ not present4 t"e SSAU? ta9lespace!ust 9e created a$ter t"e ne release is started and 9e$ore t"e up&rade scripts are in)o#ed5Not re;uired $or (racle 10&6,
Preparing Database for Upgrade
Step=
------
https://support.oracle.com/awiz.pl#appAhttps://support.oracle.com/awiz.pl#appBhttps://support.oracle.com/awiz.pl#appAhttps://support.oracle.com/awiz.pl#appB
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
5/26
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
6/26
)HERE 5RA+&EE *'CO++EC&'
5RA+&EE 4R-7-LE5E::::::: ::::::::::::::::::::::CO++EC& CREA&E 7-E)CO++EC& CREA&E &A3LE
CO++EC& AL&ER SESS-O+CO++EC& CREA&E CLS&ERCO++EC& CREA&E SESS-O+CO++EC& CREA&E S+O+MCO++EC& CREA&E SEQE+CECO++EC& CREA&E ,A&A3ASE L-+6
7ro! (racle 10,24 .C%,,CT. role onl includes OCR#T SSSI%, O pri)ile&e,
Step <-------Create Script for D'"I,/ 5In case t"e data9ase "as to 9e don&raded a&ain6
Durin& t"e up&rade to (racle Data9ase 11& 'elease 1 511,16 $ro! (racle Data9ase 3i'elease 2 53,26 or (racle Data9ase 10& 'elease 1 510,164 an passords in data9ase lin#s areencrpted, To don&rade to t"e ori&inal release4 all o$ t"e data9ase lin#s it" encrpted
passords !ust 9e dropped prior to t"e don&rade, onse;uentl4 t"e data9ase lin#s do noteCist in t"e don&raded data9ase, I$ ou anticipate a re;uire!ent to 9e a9le to don&rade toour ori&inal release4 t"en sa)e t"e in$or!ation a9out a$$ected data9ase lin#s $ro! t"eSS,LIN>M ta9le4 so t"at ou can re-create t"e data9ase lin#s a$ter t"e don&rade,
SELEC& 'CREA&E ';;,ECO,E.+AME0'43L-C'0'publi< '8;;',A&A3ASE L-+6 ';;CHR1=8
;;,ECO,E.+AME0'43L-C'0+ull0 'SS'0''0.+AME;;'.'8;; L.+AME;;r1=8;;'CO++EC& &O ' ;; L.SER-, ;; ' -,E+&--E, 3 ?';;L.4ASS)OR,;;'? S-+5''';;L.HOS&;;'''';;r1=8;;'9' &E2&ROM SS.L-+6$ L0 SS.SER$ )HERE L.O)+ER@ * .SER@9
Step -------"ec# $or TIMST#MP (IT0 TIM1%, Datatpe
T"e ti!e Jone $iles t"at are supplied it" (racle Data9ase 11& 'elease 1 511,16 "a)e 9een
updated $ro! )ersion 2 to )ersion @ to re$lect c"an&es in transition rules $or so!e ti!e Jonere&ions, T"e c"an&es !i&"t a$$ect eCistin& data o$ TI%ESTA%P ITH TI%E (NE datatpe, I$ ou "a)e not alread updated our eCistin& data9ases to ti!e Jone $ile )ersion @4 ou!ust do so prior to up&radin& to (racle Data9ase 11& 'elease 1 511,16, 'e$er 9elo articles$or t"e patc" a)aila9ilit
To $ind t"e *ersion @ Patc" $or our current Data9ase+
Note @1=.1,1 Applin& )ersion @ Ti!e one 7iles on an (racle Data9ase
I$ patc" is not a)aila9le $or our patc"set4 t"en re$er
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=413671.1https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=413671.1https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=413671.1
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
7/26
Note =3=8.,1 or#arounds "en Data9ase ti!e Jone patc"es are not a)aila9le $or our patc"set
I$ our eCistin& data9ases are alread usin& a ti!e Jone $ile )ersion &reater t"an @4 t"ena$ter installin& (racle Data9ase 11& 'elease 1 511,164 ou !ust patc" t"e ('ALEH(%E
it" t"e appropriate patc" $or t"e ti!e Jone $ile )ersion in use it" t"e data9ase5s6 ou ill 9e up&radin&,
I$ t"e ti!e Jone $ile )ersion used 9 t"e (racle Data9ase 11& 'elease 1 511,16 ser)er doesnot !atc" t"e ti!e Jone $ile )ersion t"at as used it" t"e eCistin& data9ase 9ein& up&raded4t"en t"e up&rade script ill ter!inate it"out up&radin& t"e data9ase, T"e TI%ESTA%PITH TI%E (NE data stored in t"e data9ase can 9e corrupted durin& t"e up&rade i$ t"ere isa ti!e Jone $ile )ersion !is!atc",
indin" t># 7#rsi!n ! #istin" tim#B!n# il#s
-n Ora
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
8/26
Note 823.=@,1 Actions $or t"e DST)@ update in t"e 11,1,0, 9ase release
"en up&radin& to 11,1,0,.+
Note
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
9/26
Note
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
10/26
5Applica9le onl i$ ou are up&radin& $ro! 10&, I$ ou are up&radin& $ro! 3,2,0,C t"en oucan i&nore t"is step6A$ter up&radin& to (racle Data9ase 11& release 1 511,164 i$ ou ant to don&rade (racleEnterprise %ana&er Data9ase ontrol ou !ust sa)e our Data9ase ontrol $iles and data
9e$ore up&radin& our data9ase, T"e e!d&rd utilit can 9e used to #eep a cop o$ our
data9ase control $iles and data 9e$ore up&radin& our data9ase, T"e e!d&rd utilit resides int"e ('ALEH(%EF9in director in t"e (racle Data9ase 11& release 1 511,16 "o!e,
1, Set ('ALEH(%E to our old (racle "o!e2, Set ('ALESID to t"e SID o$ t"e data9ase 9ein& up&raded,=, Set PATH4 LDLIB'A'PATH and SHLIBPATH to point to t"e (racle "o!e $ro!"ic" t"e data9ase is 9ein& up&raded,@, "an&e director to (racle Data9ase 11& release 1 511,16 "o!e,ALAD%IN pac#a&e is
introduced a$ter up&radin& t"e data9ase and not a)aila9le in prior releases,
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=562980.1https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=562980.1https://support.oracle.com/awiz.pl#33https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=562980.1https://support.oracle.com/awiz.pl#33
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
11/26
Step 12---------"ec# $or corruption in t"e dictionar4 use t"e $olloin& co!!ands in SGLPlus 5connectedas ss6+
S #riy % S spac &S lin '(&S )adin* % S dbac+ % S pa*s '&&&Sp%%l analy,!sql
SELEC- .Analy, clusr ".clusr_nam." #alida srucur cascad0.1ROM dba_clusrs2HERE %3nr4.S5S.678O7 SELEC- .Analy, abl ".abl_nam." #alida srucur cascad0.1ROM dba_abls2HERE %3nr4.S5S.A79 parii%nd4.7O.A79 :i%_yp4.8O-. OR i%_yp is 76LL;678O7 SELEC- .Analy, abl ".abl_nam." #alida srucur cascad in% in#alid_r%3s0.1ROM dba_abls2HERE %3nr4.S5S.A79 parii%nd4.5ES.0
sp%%l %
T!is creates a script called analy$e4sql4 ,o3 execute t!e follo3ing steps4
$ sqlplus "/ as sysdba"SQL> @$ORACLE_HOME/rdbms/admin/ul#alid!sqlSQL> @analy,!sql
T!is script 5analy$e4sql6 s!ould not return any errors4
,ote&
4 %R#-789:; mig!t occur< if t!ere is any external table is =alidated< 3!ic! can be safelyignored as per ,ote >8?7::4 %R#-789:;& Using #,#")1 T#'" for an xternal Table
>4 rrors s!o3n belo3 3!en executing analy$e4sql can be ignored&S SELEC- disinc:runc:las_rrs);;1ROM dba_snaps)%_rrs)_ims0
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=209355.1https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=209355.1
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
12/26
@or more information refer belo3 article ,ote >:A8>4 0o3 to monitor t!e progress of a materiali$ed =ie3 refres! 5M2I(6
Step 1@+
---------a6 Stop t"e listener $or t"e data9ase+
$ lsnrcl s%p
Pre=ious =ersions of t!e listener are not supported for use 3it! an %racle Database g Release 546 database4 0o3e=er< it is possible to use t!e ne3 =ersion of t!e listener 3it!
pre=ious =ersions of %racle Database4
If you are upgrading from ?i or upgrading manually 3it!out using D'U#< run %racle ,etConfiguration #ssistant before upgrading t!e %racle R#C database4
T!is is a t3o-step option4 )ou must first run %racle ,et Configuration #ssistant from t!e old
%racle !ome to remo=e t!e old listener4 T!en you must run %racle ,et Configuration #ssistant again from t!e ne3 %racle Database g Release 546 !ome to create a ne3
listener4
)ou must remo=e t!e old listener before creating a ne3 one4 If you attempt to create a ne3
listener from t!e ne3 %racle !ome first< and use t!e same name and port as t!e old listener<t!en %racle ,et Configuration #ssistant returns an error4
,ote&
T!is is your only option if you 3ant to upgrade your %racle R#C database manually4
b6 Stop ot!er executables suc! as dbconsole< isqlplus
$ mcl s%p dbc%ns%l$ isqlpluscl s%p
Step :&
--------
nsure no files need media reco=ery
$ sqlplus "/ as sysdba"SQL> SELEC- B 1ROM #$rc%#r_il0
T!is s!ould return no ro3s4
nsure no files are in bac+up mode&
SQL> SELEC- B 1ROM #$bac+up 2HERE saus4.7O- AC-8DE.0
T!is s!ould return no ro3s4
Step 9&
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=258021.1https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=258021.1
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
13/26
--------
Resol=e any outstanding unresol=ed distributed transaction&
SQL> slc B r%m dba_(pc_pndin*0
If t!is returns ro3s you s!ould do t!e follo3ing&SQL> SELEC- l%cal_ran_id
1ROM dba_(pc_pndin*0SQL> EEC6-E dbms_ransaci%n!pur*_l%s_db_nry:..;0SQL> COMM8-0
Step ;&--------
Disable all batc! and cron Bobs4
Step A&
-------- nsure t!e users sys and system !a=e .system. as t!eir default tablespace4
SQL> SELEC- usrnamF daul_ablspac1ROM dba_usrs2HERE usrnam in :.S5S.F.S5S-EM.;0
If D@#U"TT#'"SP#C is anyt!ing ot!er t!an S)STM tablespace< modify t!e default
tablespace to S)STM by using t!e belo3 command4
SQL> AL-ER usr S5S daul ablspac S5S-EM0SQL> AL-ER usr S5S-EM daul ablspac S5S-EM0
Step ?&---------
nsure t!at t!e aud is in t!e system tablespace 3!en auditing is enabled4
SQL> SELEC- ablspac_nam1ROM dba_abls2HERE abl_nam4.A69$.0
)ou may also 3is! to consider re=ie3ing&
,ote ?;??E>4 Database upgrade appears to !a=e !alted at S)S4#UD Table
to impro=e upgrade performance4
Step >8&
--------C!ec+ 3!et!er database !as any externally aut!enticated SS" users4
SQL> SELEC- nam 1ROM sys!usr$ 2HERE G_usrnam 8S 7O- 76LL A79 pass3%rd 4 .LOIAL.0
If any SS" users are found t!en Step 7 !as to be follo3ed after t!e upgrade
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=979942.1https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=979942.1
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
14/26
Step >&--------
,ote do3n t!e location of datafiles< redo logs< control files4 #lso ta+e a bac+up of all
configuration files li+e listener4ora484x t!en set t!e C%MP#TI'" parameter to 8448 until after t!eupgrade !as been completed successfully45Please note< once you set t!e
https://support.oracle.com/awiz.pl#appAhttps://support.oracle.com/awiz.pl#appAhttps://support.oracle.com/awiz.pl#appBhttps://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=454442.1https://support.oracle.com/awiz.pl#appAhttps://support.oracle.com/awiz.pl#appBhttps://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=454442.1
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
15/26
C%MP#TI'" to 84 t!ere is no 3ay to do3ngrade to ?ir> because of symptoms
described in ,ote 7AA98E4 & %R#-88>8 3!ile do3ngrading from 8gR> to 8gR or ?iR> 64
If you are upgrading from 84484x or 84>484x t!en you can lea=e t!e C%MP#TI'"
parameter set to it.s current =alue until t!e upgrade !as been completed successfully4
T!is 3ill a=oid any unnecessary %R#-?E> errors from being reported in SM%, trace files during t!e upgrade 5because t!e upgrade is loo+ing for 84> obBects t!at !a=e not yet been created6
• #dBust t!e =alues of t!e initiali$ation parameters to at least t!e minimum =alue
indicated by t!e Pre-Upgrade Information Tool4 Ma+e sure all pat! names in t!e parameter file are fully specified4 )ou s!ould not !a=e relati=e pat! names in t!e
parameter file4
• If you are using a cluster database< set t!e parameter C"USTRD#T#'#S@#"S
during t!e upgrade and set it bac+ to true after t!e upgrade4 If you are upgrading a
cluster database< t!en modify t!e initGSIDF4ora file in t!e same 3ay t!at youmodified t!e parameter file4
,ote& %nce t!e Parameter file is modified as per your requirement< copy t!e file to
%R#C"0%MJdbs 5database directory on (indo3s6 of gR %racle 0ome4
Step >7
--------C!ec+ for adequate freespace on arc!i=e log destination file systems4 ,ote t!at if your
database is in arc!i=elog mode< t!en it is al3ays desirable and ad=isable to upgrade t!edatabase in noarc!i=elog mode as t!at 3ill reduce t!e time ta+en to upgrade t!e database4
#fter t!e upgrade you can again put t!e database in t!e arc!i=elog mode4
Step >E
------- If your operating system is (indo3s t!en complete t!e actions in t!is Step< else s+ip to next
Step4
Stop t!e %racleSer=iceSID %racle ser=ice of t!e database you are upgrading< 3!ere SID is
t!e instance name4 @or example< if your SID is %RC"< t!en enter t!e follo3ing at a command prompt&
Set t!e en=ironment to Source J Pre=ious =ersion 5?4> J 84 J 84>6
- Stop t!e %racle database ser=iceCP> 7E- S-O< OraclSr#icORCL
>- Delete %racle ser=ice using %R#DIM binary from 3!ic! t!e database is upgraded to 44
CP> ORA98M =9ELE-E =S89 ORCL
7- Create t!e %racle Database g Release 546 ser=ice at a command prompt using t!e
%R#DIM command of t!e ne3 %racle Database release&
CP> ORA98M =7E2 =S89 S89 =87-
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
16/26
CP> ORA98M =7E2 =S89 ORCL =87-:
------- If your operating system is U,I* t!en complete t!is step< else s+ip to next Step4
4 Ma+e sure t!e follo3ing en=ironment =ariables point to t!e %racle g Release directories&
- %R#C"'#S- %R#C"0%M
- P#T0
$ Gp%r ORACLE_HOME4l%cai%n % Oracl ''!'> $ Gp%r
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
17/26
#t t!e operating system prompt< c!ange to t!e %R#C"0%MJrdbmsJadmin directory of
gR %racle 0ome
$ cd $ORACLE_HOME/rdbms/admin$ sqlplus "/ as sysdba"SQL> startup UPGRADE
SS!U" #ablespace
Create t!e S)S#U* tablespace only if you are upgrading from %racle Database?i Release >
5?4>6 3it! t!e follo3ing mandatory attributes&
%,"I,
PRM#,,T R#D (RIT
*T,T M#,#HM,T "%C#"SHM,T SP#C M#,#HM,T #UT%
T!e Pre-Upgrade Information Tool pro=ides an estimate of t!e minimum required si$e for t!eS)S#U* tablespace in t!e S)S#U* Tablespace section4 Refer t!e output generated by
utlui4sql script in Step 4 T!e follo3ing SK" statement 3ould create a :88 M' S)S#U*tablespace for t!e database&
SQL> CREA-E -AILES/sysauG&'!db.
S8UE V&&M RE6SE E-E7- MA7AEME7- LOCAL SEME7- S s c)% %nSQL> S @caup*rd!sqlSQL> sp%%l %
T!e catupgrd4sql script determines 3!ic! upgrade scripts must be run< runs t!em< and t!en
s!uts do3n t!e database4 )ou must run t!e script in t!e %racle Database g Release 546
en=ironment4 T!e upgrade script creates and alters certain data dictionary tables4 @or acomplete list of t!e database components t!at 3ill be installed J upgraded in t!e ne3 %racle
Database g Release 546 database refer to Step in %racle Database upgrade guide5Clic+ !ere 64
Database $ill be s%utdo$n by catupgrd&sql script& Restart t!e Instance to reinitiali$e t!e
system parameters for normal operation4 T!is restart< follo3ing t!e database s!utdo3n
performed as part of t!e catupgrd4sql script< flus!es all cac!es< clears buffers< and performsot!er !ouse+eeping acti=ities4
T!ese measures are an important final step to ensure t!e integrity and consistency of t!e
ne3ly upgraded %racle Database soft3are4#lso< if you encountered a message listingobsolete initiali$ation parameters 3!en you started t!e database for upgrade< t!en remo=e
http://download.oracle.com/docs/cd/B28359_01/server.111/b28300/upgrade.htm#CACGGHJChttp://download.oracle.com/docs/cd/B28359_01/server.111/b28300/upgrade.htm#CACGGHJC
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
18/26
t!e obsolete initiali$ation parameters from t!e parameter file before restarting4 If necessary<
con=ert t!e SP@I" to a P@I" so you can edit t!e file to delete parameters4
Post Upgrade Status #ool
Run t!e Post-Upgrade Status Tool '(R!C)*+,(M*rdbmsadminutlu111s&sql 3!ic!
pro=ides a summary of t!e upgrade at t!e end of t!e spool log4 It displays t!e status of t!edatabase components in t!e upgraded database and t!e time required to complete eac!component upgrade4 #ny errors t!at occur during t!e upgrade are listed 3it! eac!
component and must be addressed4 Clic+ !ere for sample output of utlus4sql and refer step
74
$ sqlplus "/as sysdba"SQL> S-AR-6<SQL> @ulu'''s!sql
!dditionally Required Upgrade !ction
Run catuppst4sql< located in t!e %R#C"0%MJrdbmsJadmin directory< to perform
upgrade actions t!at do not require t!e database to be in UP.R!D* mode&
SQL> @caupps!sql
/alidate In0alid Sc%ema (bects
T!is script can be run concurrently 3it! utlrp4sql4 Run utlrp4sql to recompile any remaining stored P"JSK" and La=a code in anot!er session4
SQL> @ulrp!sql
C!ec+ for t!e integrity of t!e upgraded database
"ec# $or t"e inte&rit o$ t"e up&raded data9ase 9 runnin& d9up&dia&,s;l script $ro! 9elo%etalin# article
Note
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
19/26
lsnrcl sar
Step >A
--------
n=ironment 2ariables
4 Ma+e sure t!e follo3ing en=ironment =ariables point to t!e %racle g Release directories&
- %R#C"'#S
- %R#C"0%M - P#T0
#lso c!ec+ t!at your oratab file and any client scripts t!at set t!e =alue of %R#C"0%M
point to t!e %racle Database g Release 546 !ome4
,ote & If you are upgrading a cluster database< t!en perform t!ese c!ec+s on all nodes in
3!ic! t!is cluster database !as instances configured4
>4 Modify JetcJoratab entry to use automatic startup
S89ORACLE_HOME5
1%r 8nsancF%rcl/%p/%racl/pr%duc/''!'/db_'5
Step >?
--------
Restore TIMST#MP (IT0 TIM1%, data
T!is step is not required if you !ad to follo3 t!e actions in Step 9 abo=e for
If t!is gi=es a =ersion time$onefile !ig!er or lo3er t!en E< t!en&
see
,ote A>?;7E4 #ctions for t!e DST=E update in t!e 44849 base release
,ote :9A>:4 #ctions for t!e DST=E update in t!e 4484; patc!set
#nd follo3ed all steps in one of t!e abo=e notes4
If your database !as TIMST#MP (IT0 TIM1%, data< you must update t!e data so t!at
it is con=erted and stored based on t!e ne3 time $one rules t!at come 3it! t!e upgrade4
If you used t!e export utility to export a copy of t!e affected tables< you s!ould no3 use t!e
import utility to import your data from t!ese tables bac+ into your database4 T!e importutility 3ill update t!e timestamp data as it imports4
If you used t!e manual script met!od< you 3ill need to update t!e affected timestamp databased on your bac+ed up table4
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=829734.1https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=568125.1https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=829734.1https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=568125.1
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
20/26
@or information on restoring bac+ed up data&
,ote 7?99;4 Usage of utlt$u=>4sql before updating time $one files in %racle 8
,ote 7?99;84 Usage of utlt$u=>4sql before updating time $one files in %racle ?
Step 78
--------Upgrade Statistics Tables Created by t!e D'MSST#TS Pac+age
If you created statistics tables using t!e D'MSST#TS4CR#TST#TT#'" procedure<
t!en upgrade t!ese tables by executing t!e follo3ing procedure&
EEC6-E 9IMS_S-A-S!6 ==dbusr db admin> ==dbusrpass3%rdpass3%rd> =a
If you are upgrading from 84>484x 5or !ig!er6< t!en you are not required to run t!is
command4
Step 7>
-------- nable Database 2ault
Refer to t!e follo3ing Metalin+ Documents for enabling %racle Database 2ault
,ote E:7?874 - nabling and Disabling %racle Database 2ault in U,I*
,ote E:7?8>4 - nabling and Disabling %racle Database 2ault in (I,D%(S
Step 77
--------Configure @ine-Hrained #ccess to xternal ,et3or+ Ser=ices
To a=oid %R#->E>E;& net3or+ access denied by access control list 5#C"6 3!en executing
UT" pac+ages 5,et3or+ related Pac+ages6< access !as to be granted to user using t!ese
pac+ages4
T!e follo3ing example first loo+s for any #C" currently assigned to !ostname4 If one is found< t!en t!e example grants username t!e C%,,CT pri=ilege in t!e #C" only if t!at
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=396671.1https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=396670.1https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=453903.1https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=453902.1https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=396671.1https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=396670.1https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=453903.1https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=453902.1
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
21/26
user does not already !a=e it4 If no #C" exists for !ostname< t!en t!e example creates a ne3
#C" called #C"name< grants t!e C%,,CT pri=ilege to username< and assigns t!e #C"to !ostname4
9ECLARE acl_pa) DARCHAR(:&&&;0IE87 SELEC- acl 87-O acl_pa) 1ROM dba_n3%r+_acls2HERE )%s 4 .)%s_nam. A79 l%3r_p%r 8S 76LL A79 uppr_p%r 8S 76LL081 9IMS_7E-2OR_ACL_A9M87!CHEC_E>E; & net3or+ access denied by access control list 5#C"6
,ote E:7;A94 %R#->E>E; (!en xecuting UT"0TTP UT"I,#DDR Pac+ages
Step 7E--------
dit init4ora&
- If you c!anged t!e C"USTRD#T#'#S parameter prior t!e upgrade set it bac+ to TRU
- Migrate your initiali$ation parameter file to a ser=er parameter file4
Create a ser=er parameter file 3it! a initiali$ation parameter file
SQL> cra spil r%m pil0
T!is 3ill create a spfile as a copy of t!e init4ora file located in %R#C"0%MJdbs 5U,I*6
Q%R#C"0%MQdatabase 5(indo3s64
Step 7:
--------
C!ange Pass3ords for %racle-Supplied #ccounts
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=453786.1https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=453786.1
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
22/26
Depending on t!e release from 3!ic! you upgraded< t!ere mig!t be ne3 %racle supplied
accounts4 %racle recommends t!at you loc+ all %racle supplied accounts except for S)S andS)STM< and expire t!eir pass3ords< t!us requiring ne3 pass3ords to be specified 3!en t!e
accounts are unloc+ed4
)ou can =ie3 t!e status of all accounts by issuing t!e follo3ing SK" statement&
SQL> SELEC- usrnamF acc%un_saus 1ROM dba_usrs OR9ER I5 usrnam0
To loc+ and expire pass3ords< issue t!e follo3ing SK" statement&
SQL> AL-ER 6SER usrnam 848
'! 1%r dici%nary ils c)c+ $ORACLE_HOME/cG/admin/cG'&(!G(! EGcu ) scrip as daabas usr S5SFS5S-EMF %r C-S5S $ORACLE_HOME/cG/admin/cG'&(!sql
If your %racle Text index uses /%R#,"*R 3!ic! 3as deprecated in %racle ?i anddesupported in %racle 8g Release >< see belo3 ,ote for furt!er information on manual
migration from /%R#,"*R to /%R#,M%RP0"*R4
,ote 788;>4 %bsolescence of /%R#,"*R "exer Type
Step 7;
--------Upgrade t!e %racle Cluster Registry 5%CR6 Configuration
If you are using %racle Cluster Ser=ices< t!en you must upgrade t!e %racle Cluster Registry
5%CR6 +eys for t!e database4
Use one of t!e follo3ing options to upgrade t!e %CR configuration to g&
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=300172.1https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=300172.1
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
23/26
4 Use sr=config from t!e %racle Database g Release 546 %racle !ome4
@or example&
sr#c%ni* =up*rad =dbnam db_nam =%ra)%m pr=''*_Oracl_)%m
>4 Run sr=ctl4
@or example&
1r%m %ld Oracl_H%m
N $ORACLE_HOME/bin/sr#cl rm%# daabas =d db_nam
1r%m ''* Oracl_H%m
N $ORACLE_HOME/bin/sr#cl add daabas =d db_nam =% l%cai%n % ''*)%m> N $ORACLE_HOME/bin/sr#cl add insanc =d db_nam =i insanc =n n%d
Step 7A--------
Configure nterprise Manager
If your database is being managed by %racle nterprise Manager Database Control or
%racle nterprise Manager Hrid Control< t!en use t!e follo3ing command to update t!econfiguration&
mca =up*rad :db asm db_asm; =clusr =siln paramrs
)ou need to run t!is from t!e ne3 %racle Database g %racle 0ome4 (!en prompted<
pro=ide t!e %racle !ome from 3!ic! t!e configuration is being upgraded4
#ppendix #&
Initiali$ation parameters deprecated in %racle Database g release 546
IACRO679_96M
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
24/26
99L_2A8-_1OR_LOCS LOM7R_MA_
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
25/26
References
N(TE+2.31@,1 - T"e National "aracter Set 5 NLSNHA'HA'ATE'SET 6 in(racle 3i4 10& and 11&
N(TE+=001.2,1 - (9solescence o$ >('EANLE?E' LeCer Tpe N(TE+=0@.0,1 - Securit Alerts and ritical Patc" Updates- 7re;uentl As#ed Guestions N(TE+=3.0,1 - Usa&e o$ utltJu)2,s;l 9e$ore updatin& ti!e Jone $iles in (racle 3 N(TE+=3.1,1 - Usa&e o$ utltJu)2,s;l 9e$ore updatin& ti!e Jone $iles in (racle 10 N(TE+@02.@2,1 - USA 200. DST "an&es+ 7re;uentl As#ed Guestions $or (racle Data9asePatc"es
N(TE+@1=.1,1 - Applin& )ersion @ Ti!e one 7iles on an (racle Data9ase N(TE+@
8/16/2019 Complete Checklist for Manual Upgrades to 11gR1
26/26
Bac# to top
'ate t"is docu!ent
Article 'atin&
'ate t"is docu!ent
ECcellent
:ood
Poor
Did t"is docu!ent "elpou
es
No
Qust 9rosin&
Ho eas as it to $indt"is docu!ent
*er eas
So!e"at eas
Not eas
o!!ents
Important ,ote$ t"is $eed9ac# is anon!ousl )isi9le to ot"ercusto!ers until processed 9 (racle Support,
ancel
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=429825.1#tophttp://displayfeedbackbox%28%29/http://displayfeedbackbox%28%29/https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=429825.1#tophttp://displayfeedbackbox%28%29/http://displayfeedbackbox%28%29/