Вы находитесь на странице: 1из 10

Applying PSU to Oracle 11.1.0.

7
Contents
1. Specification
2. Patch Installation
Patch Pre-Installation Instructions
Patch Installation Instructions
Post Installation Instructions
3. Post Installation Instructions for Databases Created or Upgraded after Installation of PSU
11.1.0.7.1 in the racle !o"e
Specification
Patch Set Update #PSU$ patches are cu"ulati%e. &hat is' the content of all pre%ious PSUs is
included in the latest PSU patch.
&o install the PSU 11.1.0.7.1 patch' the racle ho"e "ust ha%e the 11.1.0.7.0 Database patch set
installed.
Platfor"s and Co"ponents for Patch ((332)7
&he PSU is "ade a%ailable on the follo*ing platfor"s+
!P-U, Itaniu"
!P-U, P--.ISC #/0-bit$
I12 -I, on P34. S5ste"s #/0-bit$
6inu7 7(/
6inu7 7(/-/0
Sun Solaris SP-.C #/0-bit$
Patch Installation
Patch Pre-Installation Instructions
4nsure that 5our racle Database installation is the sa"e base release for *hich 5ou are appl5ing this patch. In other *ords' onl5 appl5
the PSU 11.1.0.7.1 patch to racle Database .elease 11.1.0.7.0.
S. No Step Action
1 4n%iron"ent Chec8s 4nsure that the 9P-&! definition has the follo*ing e7ecutables+ "a8e' ar' ld'
and n".
&he location of these e7ecutables depends on 5our operating s5ste". n "an5
operating s5ste"s' the5 are located in :usr:ccs:bin' in *hich case 5ou can set
5our P-&! definition as follo*s+
export PATH=$PATH:/usr/ccs/bin
2 ne-off Patch Conflict Detection and .esolution Deter"ine *hether an5 currentl5 installed one-off patches conflict *ith the
PSU patch as follo*s+
un;ip p((332)7<11107<=platfor">.;ip
opatch prere? Chec8Conflict-gainst!3ithDetail -ph1aseDir .:((332)7
&he report *ill indicate the patches that conflict *ith PSU ((332)7 and the
patches for *hich PSU ((332)7 is a superset. .efer to @Patch Set Updates
Patch Conflict .esolution@ in 25 racle Support Aote (B002(.1 Patch Set
Updates for Oracle Products.
Aote that racle proacti%el5 pro%ides 11.1.0.7.1 one-off patches for co""on
conflicts.3hen all the 11.1.0.7.1 one-off patches that 5ou ha%e re?uested are
a%ailable at 25 racle Support' proceed *ith the belo* Installation.
Patch Installation Instructions
S. No Step Action
1 Shutdo*n -S2 instance If 5ou are patching an -S2 instance' shut do*n all racle Database instances
that use this -S2 instance.
&o see *hich racle Database instances are connected to this -S2 instance'
?uer5 the C9-S2<C6I4A& %ie*.
2 Shut do*n all instances and listeners Do one of the follo*ing' depending on *hether this is a .-C en%iron"ent+
If this is a .-C en%iron"ent' choose one of the patch installation
"ethods pro%ided b5 Patch #rolling' all node' or "ini"u"
do*nti"e$' and shutdo*n instances and listeners as appropriate for the
installation "ethod selected.
&his PSU patch is rolling .-C installable. .efer to 25 racle Support
Aote 200201.1 Rolling Patch - OPatch Support for RAC.
If this is not a .-C en%iron"ent' shut do*n all instances and listeners
associated *ith the racle ho"e that 5ou are updating.
3 -ppl5 the patch Set 5our current director5 to the director5 *here the patch is located and then
run the Patch utilit5 b5 entering the follo*ing co""ands+
unzip p8833297_11107_<platform>.zip
c 8833297
op!tc" !pp#$
0 Conflict resolution one-off patches If an5 currentl5 installed one-off patches conflict *ith the PSU patch' appl5 the
patch conflict resolution one-off patches that *ere deter"ined to be needed *hen
5ou perfor"ed the steps in Step2 of Patch Pre-Installation Instructions
Post Installation Instructions
Do not perfor" the operations in this section on -S2 instances. !o*e%er' if 5ou shut do*n -S2 as part of appl5ing the CPU' 5ou "ust
start -S2 instances before 5ou can perfor" an5 of the actions in this section on an5 database instances.
6oading 2odified .s?l Diles into the Database
S. No Step Action
1 Dor each database instance running on the racle
ho"e being patched run the c!tbun#e.s%#
script.
Connect to the database using SE6FPlus. Connect as SGSD1- and run the
catbundle.s?l script as follo*s+
c $&'A()*_H&+*/rb,s/!,in
s%#p#us /no#o-
./)0 (&11*(T / A. .2.34A
./)0 .TA'T5P
./)0 6c!tbun#e.s%# cpu !pp#$
./)0 /57T
2 Chec8 the logs Chec8 the follo*ing log files in
$&'A()*_H&+*/c8-too##o-s/c!tbun#e for an5 errors+
c!tbun#e_(P5_<database SID>_APP)2_<TIMESTAMP>.#o-
c!tbun#e_(P5_<database
sid>_9*1*'AT*_:TIMESTAMP>.#o-
*here TIMESTAMP is of the for" YYYYMMMDD!!MMSS.
.eco"piling Cie*s in the Database
S. No Step Action
1 Cerif5 if reco"pile is alread5 perfor"ed Chec8 *hether %ie* reco"pilation has alread5 been perfor"ed for the
database b5 e7ecuting the follo*ing state"ent.
.*)*(T ; <'&+ re-istr$$"istor$ ="ere 73 = >?@A28?3>B
If the %ie* reco"pilation has been perfor"ed' this state"ent returns one or
"ore ro*s. If the %ie* reco"pilation has not been perfor"ed' this state"ent
returns no ro*s.
2 .eco"pile the %ie*s in the database #Aon-.-C$ .un the pre-chec8 script *hich reports the "a7i"u" nu"ber of %ie*s and
obHects that "a5 be reco"piled+
c $&'A()*_H&+*/cpu/Cie=_reco,pi#e
s%#p#us /no#o-
./)0 (&11*(T / A. .2.34A
./)0 6reco,pi#e_prec"ecD_E!n2008cpu.s%#
./)0 /57T
&he purpose of this step is to help 5ou deter"ine *hether %ie* reco"pilation
should be done at the sa"e ti"e as the CPU install' or scheduled later.
&he database is not in a .-C en%iron"ent
.un the %ie* reco"pilation script. Aote that this script is run *ith the database
in upgrade "ode' *hich restricts connections as SGSD1-.
c $&'A()*_H&+*/cpu/Cie=_reco,pi#e
s%#p#us /no#o-
./)0 (&11*(T / A. .2.34A
./)0 .H5T3&F1 7++*37AT*
./)0 .TA'T5P 5P9'A3*
./)0 6Cie=_reco,pi#e_ E!n2008cpu.s%#
./)0 .H5T3&F1B
./)0 .TA'T5PB
./)0 /57T
3 .eco"pile the %ie*s in the database #.-C$ &he database is in a .-C en%iron"ent' run the %ie* reco"pilation script as
follo*s. Aote that this script is run *ith the database in upgrade "ode' *hich
restricts connections as SGSD1-.
c $&'A()*_H&+*/cpu/Cie=_reco,pi#e
s%#p#us /no#o-
./)0 (&11*(T / A. .2.34A
./)0 .TA'T5P 1&+&51T
./)0 A)T*' .2.T*+ .*T ()5.T*'_3ATA4A.*=<A).*
.(&P*=sp8i#eB
./)0 .H5T3&F1
./)0 .TA'T5P 5P9'A3*
./)0 6Cie=_reco,pi#e_ E!n2008cpu.s%#
./)0 .H5T3&F1B
./)0 .TA'T5P 1&+&51TB
Set the C6US&4.<D-&-1-S4 initiali;ation para"eter to &.U4+
./)0 A)T*' .2.T*+ .*T ()5.T*'_3ATA4A.*=T'5*
.(&P*=sp8i#eB
'est!rt t"e !t!b!se:
./)0 .H5T3&F1B
./)0 .TA'T5PB
./)0 /57T
0
Chec8 logs Chec8 the log file for an5 errors. &he log file is in the current director5 and is
na"ed+ %co"p<"sid#<"ti$esta$p#.log
B Chec8 In%alid obHects If an5 in%alid obHects *ere reported' run the utlrp.s?l script as follo*s+
c $&'A()*_H&+*/rb,s/!,in
s%#p#us /no#o-
./)0 (&11*(T / A. .2.34A
./)0 6ut#rp.s%#
&hen' "anuall5 reco"pile an5 in%alid obHects. Dor e7a"ple+
./)0 !#ter p!cD!-e schemaname.packagename co,pi#eB
Post Installation Instructions for Databases Created or Upgraded after Installation of PSU
11.1.0.7.1 in the racle !o"e
&hese instructions are for both non-.-C en%iron"ents and .-C en%iron"ents *hen a database is created or upgraded after the
installation of CPU.
Gou "ust e7ecute the steps in Section @6oading 2odified .s?l Diles into the Database@ for an5 ne* database onl5 if it *as created b5 an5
of the follo*ing "ethods+
Using D1C- #Database Configuration -ssistant$ to select a sa"ple database #Ieneral' Data 3arehouse' &ransaction
Processing$
Using a script that *as created b5 D1C- that creates a database fro" a sa"ple database
Cloning a database that *as created b5 either of the t*o preceding "ethods'
and if Section @6oading 2odified .s?l Diles into the Database@ *as not e7ecuted after CPU *as applied.
Upgraded databases re?uire that 5ou perfor" the steps in Section @.eco"piling Cie*s in the Database@ if these steps ha%e not pre%iousl5
been perfor"edJ other*ise' no post-installation steps need to be perfor"ed.

Вам также может понравиться