1. Perform all the presteps for patching in the below document:
Presteps-for-psu-patching.html
2. Perform the patching work Manually: You are running the below steps of patching on one node at a time. If RAC.
1. Login as user Oracle: Set the environement. Make sure statusfileday.log file is generated by below command.
srvctl stop home -o /u01/app/oracle/product/11.2.0/dbhome_1 -s /tmp/statusfileday.log -n node1.com
Below is an example of how the cat that log would look like.
db-databasenamelowerletter (if it does not gets populated you can vi that manullay to make it look like below)
$ cat statusfiledat.log
db-aqali
db-cfali
db-mpali
db-mpcli
db-paali
db-soali
db-sobli
2. Login as root now Root
cd /u01/app/11.2.0.4/grid/crs/install/
run below script.
./rootcrs.pl -unlock
|
export PATH=$PATH:$ORACLE_HOME/OPatch
opatch napply -oh /u01/app/11.2.0.4/grid -local /gg_nas1/software/oracle/patches/1H2018/26030799/25869727 ==>>DB PSU
opatch napply -oh /u01/app/11.2.0.4/grid -local /gg_nas1/software/oracle/patches/1H2018/26030799/22502505 ==>> ACFS GI
opatch napply -oh /u01/app/11.2.0.4/grid -local /gg_nas1/software/oracle/patches/1H2018/26030799/25920335 ==>> OCW
|
4. Now login as oracle.
cd
/gg_nas1/software/oracle/patches/1H2018/26030799/25920335/custom/server/25920335/custom/scripts/
./prepatch.sh -dbhome
/u01/app/oracle/product/11.2.0/dbhome_1
|
export
PATH=$PATH:$ORACLE_HOME/OPatch
opatch
napply -oh /u01/app/oracle/product/11.2.0/dbhome_2 -local
/gg_nas1/software/oracle/patches/1H2018/26030799/25920335/custom/server/25920335
opatch apply -oh
/u01/app/oracle/product/11.2.0/dbhome_2 -local /gg_nas1/software/oracle/patches/1H2018/26030799/25869727
|
cd
/gg_nas1/software/oracle/patches/1H2018/26030799/25920335/custom/server/25920335/custom/scripts
./postpatch.sh -dbhome
/u01/app/oracle/product/11.2.0/dbhome_2
|
cd
/u01/app/11.2.0.4/grid/rdbms/install/
./rootadd_rdbms.sh
cd
/u01/app/11.2.0.4/grid/crs/install/
./rootcrs.pl
-patch
|
srvctl start home -o /u01/app/oracle/product/11.2.0/dbhome_1 -s
/tmp/statusfileday.log -n node1.com
|
3. Perform the post patching work:
1. post-psu-patching-steps.html
That is it. you are done with patching for the server. Good job.
No comments:
Post a Comment