Pre-Check
------------
oracle@Server20028933:/DB/oracle/data $ [rdbms1120]$ORACLE_HOME/OPatch/opatch lsinventory | grep applied
Patch 13060271 : applied on Tue Oct 29 14:34:42 GMT 2013
Patch 13615767 : applied on Tue Oct 29 14:30:57 GMT 2013
Patch 15947884 : applied on Tue Oct 29 14:23:16 GMT 2013
Patch 13696216 : applied on Wed Apr 18 09:22:21 BST 2012
Patch 13696251 : applied on Wed Apr 18 09:20:51 BST 2012
grid@Server20027095:/DB/oracle/grid/oracle_grid_patches/ [+ASM2] $ORACLE_HOME/OPatch/opatch lsinventory | grep applied
Patch 13614429 : applied on Tue Jul 09 17:19:32 BST 2013
Patch 13954738 : applied on Tue Aug 21 10:58:54 BST 2012
Patch 13696216 : applied on Wed Apr 18 09:10:19 BST 2012
GRID
--------
stop all databases
as grid
unzip p6880880_112000_Linux-x86-64.zip -d $ORACLE_HOME
grid@Server20028932:/DB/oracle/grid/oracle_grid_patches/ [+ASM1] $ORACLE_HOME/OPatch/opatch version
OPatch Version: 11.2.0.3.6
OPatch succeeded.
as oracle
unzip p6880880_112000_Linux-x86-64.zip -d $ORACLE_HOME
oracle@Server20027094:/DB/oracle/data/oracle_rdbms_patches $ [rdbms1120]$ORACLE_HOME/OPatch/opatch version
OPatch Version: 11.2.0.3.6
OPatch succeeded.
as root
--------
sudo /DB/GRID/11.2.0.3/bin/crsctl stop crs ( all nodes in cluster )
as grid
--------
/DB/GRID/11.2.0.3/OPatch/opatch rollback -id 13954738 ( first node only )
as root
--------
sudo /DB/GRID/11.2.0.3/bin/crsctl start crs ( all nodes in cluster )
as grid
-------
grid@Server20027094:/DB/oracle/grid/oracle_grid_patches/ [+ASM1] $ORACLE_HOME/OPatch/opatch lsinventory | grep applied
Patch 13614429 : applied on Tue Jul 09 17:19:32 BST 2013
Patch 13696216 : applied on Wed Apr 18 09:10:19 BST 2012
as grid
-------
cd /DB/oracle/grid/oracle_grid_patches
unzip p17735354_112030_Linux-x86-64.zip
as root ( one server at a time in cluster )
-------
sudo /tmp/grid_rootpre.sh
/bin/umount /DB/orafs/dbpw
/DB/GRID/11.2.0.3/OPatch/opatch auto /DB/oracle/grid/oracle_grid_patches -oh /DB/GRID/11.2.0.3 -ocmrf /DB/GRID/11.2.0.3/OPatch/ocm/bin/emocmrsp
as grid
-------
grid@Server20027094:/DB/GRID/11.2.0.3/log/Server20027094/DBsd/ [+ASM1] $ORACLE_HOME/OPatch/opatch lsinventory | grep applied
Patch 17540582 : applied on Tue Mar 04 13:10:33 GMT 2014
Patch 17592127 : applied on Tue Mar 04 13:07:11 GMT 2014
Patch 13614429 : applied on Tue Jul 09 17:19:32 BST 2013
as oracle
---------
oracle@Server20025086:/DB/oracle/data $ [rdbms1120]$ORACLE_HOME/OPatch/opatch lsinventory | grep applied
Patch 13060271 : applied on Mon Nov 25 15:07:55 GMT 2013
Patch 13615767 : applied on Mon Nov 25 15:05:05 GMT 2013
Patch 15947884 : applied on Mon Nov 25 15:01:18 GMT 2013
Patch 13696216 : applied on Wed Apr 18 09:22:21 BST 2012
Patch 13696251 : applied on Wed Apr 18 09:20:51 BST 2012
$ORACLE_HOME/OPatch/opatch rollback -id 15947884
oracle@Server20025089:/DB/oracle/data $ [rdbms1120]$ORACLE_HOME/OPatch/opatch lsinventory | grep applied
Patch 13060271 : applied on Mon Nov 25 15:14:56 GMT 2013
Patch 13615767 : applied on Mon Nov 25 15:13:56 GMT 2013
Patch 13696216 : applied on Wed Apr 18 09:22:21 BST 2012
Patch 13696251 : applied on Wed Apr 18 09:20:51 BST 2012
oracle@Server20025089:/DB/oracle/data $ [rdbms1120]
as grid
-------
sudo /tmp/grid_rootpre.sh
/bin/umount /DB/orafs/dbpw
/DB/GRID/11.2.0.3/OPatch/opatch auto /DB/oracle/grid/oracle_grid_patches -oh /DB/oracle/product/11.2.0.3 -ocmrf /DB/oracle/product/11.2.0.3/OPatch/ocm/bin/emocmrsp
as oracle
---------
oracle@Server20028932:/DB/oracle/data $ [rdbms1120]$ORACLE_HOME/OPatch/opatch lsinventory | grep applied
Patch 17540582 : applied on Thu Mar 13 11:32:22 GMT 2014
Patch 17592127 : applied on Thu Mar 13 11:28:44 GMT 2014
Patch 13615767 : applied on Tue Oct 29 14:30:57 GMT 2013
as grid
-------
cd /DB/oracle/grid/oracle_grid_patches
unzip p13954738_112039_Linux-x86-64.zip
as root
-------
sudo /tmp/grid_rootpre.sh
/DB/GRID/11.2.0.3/OPatch/opatch auto /DB/oracle/grid/oracle_grid_patches -oh /DB/GRID/11.2.0.3 -ocmrf /DB/GRID/11.2.0.3/OPatch/ocm/bin/emocmrsp
grid@Server20027094:/DB/GRID/11.2.0.3/log/Server20027094/DBsd/ [+ASM1] $ORACLE_HOME/OPatch/opatch lsinventory | grep applied
Patch 13954738 : applied on Tue Mar 04 13:25:27 GMT 2014
Patch 17540582 : applied on Tue Mar 04 13:10:33 GMT 2014
Patch 13614429 : applied on Tue Jul 09 17:19:32 BST 2013
RDBMS
------------
as oracle
----------
oracle@Server20025090:/DB/oracle/data $ [rdbms1120]$ORACLE_HOME/OPatch/opatch lsinventory | grep applied
Patch 17540582 : applied on Sat Mar 08 11:16:00 GMT 2014
Patch 17592127 : applied on Sat Mar 08 11:12:19 GMT 2014
Patch 13615767 : applied on Mon Nov 25 15:13:56 GMT 2013
as oracle
---------
cd /DB/oracle/data/oracle_rdbms_patches
unzip p15947884_112038_Linux-x86-64.zip
cd 15947884
oracle@Server20025089:/DB/oracle/data/oracle_rdbms_patches/15947884 $ [rdbms1120]$ORACLE_HOME/OPatch/opatch apply
oracle@Server20025089:/DB/oracle/data/oracle_rdbms_patches/15947884 $ [rdbms1120]$ORACLE_HOME/OPatch/opatch lsinventory | grep applied
Patch 15947884 : applied on Sat Mar 08 11:49:40 GMT 2014
Patch 17540582 : applied on Sat Mar 08 11:02:25 GMT 2014
Patch 17592127 : applied on Sat Mar 08 10:58:43 GMT 2014
Patch 13615767 : applied on Mon Nov 25 15:13:56 GMT 2013
oracle@Server20025089:/DB/oracle/data/oracle_rdbms_patches/15947884 $ [rdbms1120]
start all the datbases
Primary Side Only for each database
cd $ORACLE_HOME/rdbms/admin
sqlplus /nolog
SQL> CONNECT / AS SYSDBA
SQL> STARTUP
SQL> @catbundle.sql psu apply
SQL> QUIT
Primary Side Only once for any database
UPGRADE CATALOG;
UPGRADE CATALOG;
------------
oracle@Server20028933:/DB/oracle/data $ [rdbms1120]$ORACLE_HOME/OPatch/opatch lsinventory | grep applied
Patch 13060271 : applied on Tue Oct 29 14:34:42 GMT 2013
Patch 13615767 : applied on Tue Oct 29 14:30:57 GMT 2013
Patch 15947884 : applied on Tue Oct 29 14:23:16 GMT 2013
Patch 13696216 : applied on Wed Apr 18 09:22:21 BST 2012
Patch 13696251 : applied on Wed Apr 18 09:20:51 BST 2012
grid@Server20027095:/DB/oracle/grid/oracle_grid_patches/ [+ASM2] $ORACLE_HOME/OPatch/opatch lsinventory | grep applied
Patch 13614429 : applied on Tue Jul 09 17:19:32 BST 2013
Patch 13954738 : applied on Tue Aug 21 10:58:54 BST 2012
Patch 13696216 : applied on Wed Apr 18 09:10:19 BST 2012
GRID
--------
stop all databases
as grid
unzip p6880880_112000_Linux-x86-64.zip -d $ORACLE_HOME
grid@Server20028932:/DB/oracle/grid/oracle_grid_patches/ [+ASM1] $ORACLE_HOME/OPatch/opatch version
OPatch Version: 11.2.0.3.6
OPatch succeeded.
as oracle
unzip p6880880_112000_Linux-x86-64.zip -d $ORACLE_HOME
oracle@Server20027094:/DB/oracle/data/oracle_rdbms_patches $ [rdbms1120]$ORACLE_HOME/OPatch/opatch version
OPatch Version: 11.2.0.3.6
OPatch succeeded.
as root
--------
sudo /DB/GRID/11.2.0.3/bin/crsctl stop crs ( all nodes in cluster )
as grid
--------
/DB/GRID/11.2.0.3/OPatch/opatch rollback -id 13954738 ( first node only )
as root
--------
sudo /DB/GRID/11.2.0.3/bin/crsctl start crs ( all nodes in cluster )
as grid
-------
grid@Server20027094:/DB/oracle/grid/oracle_grid_patches/ [+ASM1] $ORACLE_HOME/OPatch/opatch lsinventory | grep applied
Patch 13614429 : applied on Tue Jul 09 17:19:32 BST 2013
Patch 13696216 : applied on Wed Apr 18 09:10:19 BST 2012
as grid
-------
cd /DB/oracle/grid/oracle_grid_patches
unzip p17735354_112030_Linux-x86-64.zip
as root ( one server at a time in cluster )
-------
sudo /tmp/grid_rootpre.sh
/bin/umount /DB/orafs/dbpw
/DB/GRID/11.2.0.3/OPatch/opatch auto /DB/oracle/grid/oracle_grid_patches -oh /DB/GRID/11.2.0.3 -ocmrf /DB/GRID/11.2.0.3/OPatch/ocm/bin/emocmrsp
as grid
-------
grid@Server20027094:/DB/GRID/11.2.0.3/log/Server20027094/DBsd/ [+ASM1] $ORACLE_HOME/OPatch/opatch lsinventory | grep applied
Patch 17540582 : applied on Tue Mar 04 13:10:33 GMT 2014
Patch 17592127 : applied on Tue Mar 04 13:07:11 GMT 2014
Patch 13614429 : applied on Tue Jul 09 17:19:32 BST 2013
as oracle
---------
oracle@Server20025086:/DB/oracle/data $ [rdbms1120]$ORACLE_HOME/OPatch/opatch lsinventory | grep applied
Patch 13060271 : applied on Mon Nov 25 15:07:55 GMT 2013
Patch 13615767 : applied on Mon Nov 25 15:05:05 GMT 2013
Patch 15947884 : applied on Mon Nov 25 15:01:18 GMT 2013
Patch 13696216 : applied on Wed Apr 18 09:22:21 BST 2012
Patch 13696251 : applied on Wed Apr 18 09:20:51 BST 2012
$ORACLE_HOME/OPatch/opatch rollback -id 15947884
oracle@Server20025089:/DB/oracle/data $ [rdbms1120]$ORACLE_HOME/OPatch/opatch lsinventory | grep applied
Patch 13060271 : applied on Mon Nov 25 15:14:56 GMT 2013
Patch 13615767 : applied on Mon Nov 25 15:13:56 GMT 2013
Patch 13696216 : applied on Wed Apr 18 09:22:21 BST 2012
Patch 13696251 : applied on Wed Apr 18 09:20:51 BST 2012
oracle@Server20025089:/DB/oracle/data $ [rdbms1120]
as grid
-------
sudo /tmp/grid_rootpre.sh
/bin/umount /DB/orafs/dbpw
/DB/GRID/11.2.0.3/OPatch/opatch auto /DB/oracle/grid/oracle_grid_patches -oh /DB/oracle/product/11.2.0.3 -ocmrf /DB/oracle/product/11.2.0.3/OPatch/ocm/bin/emocmrsp
as oracle
---------
oracle@Server20028932:/DB/oracle/data $ [rdbms1120]$ORACLE_HOME/OPatch/opatch lsinventory | grep applied
Patch 17540582 : applied on Thu Mar 13 11:32:22 GMT 2014
Patch 17592127 : applied on Thu Mar 13 11:28:44 GMT 2014
Patch 13615767 : applied on Tue Oct 29 14:30:57 GMT 2013
as grid
-------
cd /DB/oracle/grid/oracle_grid_patches
unzip p13954738_112039_Linux-x86-64.zip
as root
-------
sudo /tmp/grid_rootpre.sh
/DB/GRID/11.2.0.3/OPatch/opatch auto /DB/oracle/grid/oracle_grid_patches -oh /DB/GRID/11.2.0.3 -ocmrf /DB/GRID/11.2.0.3/OPatch/ocm/bin/emocmrsp
grid@Server20027094:/DB/GRID/11.2.0.3/log/Server20027094/DBsd/ [+ASM1] $ORACLE_HOME/OPatch/opatch lsinventory | grep applied
Patch 13954738 : applied on Tue Mar 04 13:25:27 GMT 2014
Patch 17540582 : applied on Tue Mar 04 13:10:33 GMT 2014
Patch 13614429 : applied on Tue Jul 09 17:19:32 BST 2013
RDBMS
------------
as oracle
----------
oracle@Server20025090:/DB/oracle/data $ [rdbms1120]$ORACLE_HOME/OPatch/opatch lsinventory | grep applied
Patch 17540582 : applied on Sat Mar 08 11:16:00 GMT 2014
Patch 17592127 : applied on Sat Mar 08 11:12:19 GMT 2014
Patch 13615767 : applied on Mon Nov 25 15:13:56 GMT 2013
as oracle
---------
cd /DB/oracle/data/oracle_rdbms_patches
unzip p15947884_112038_Linux-x86-64.zip
cd 15947884
oracle@Server20025089:/DB/oracle/data/oracle_rdbms_patches/15947884 $ [rdbms1120]$ORACLE_HOME/OPatch/opatch apply
oracle@Server20025089:/DB/oracle/data/oracle_rdbms_patches/15947884 $ [rdbms1120]$ORACLE_HOME/OPatch/opatch lsinventory | grep applied
Patch 15947884 : applied on Sat Mar 08 11:49:40 GMT 2014
Patch 17540582 : applied on Sat Mar 08 11:02:25 GMT 2014
Patch 17592127 : applied on Sat Mar 08 10:58:43 GMT 2014
Patch 13615767 : applied on Mon Nov 25 15:13:56 GMT 2013
oracle@Server20025089:/DB/oracle/data/oracle_rdbms_patches/15947884 $ [rdbms1120]
start all the datbases
Primary Side Only for each database
cd $ORACLE_HOME/rdbms/admin
sqlplus /nolog
SQL> CONNECT / AS SYSDBA
SQL> STARTUP
SQL> @catbundle.sql psu apply
SQL> QUIT
Primary Side Only once for any database
UPGRADE CATALOG;
UPGRADE CATALOG;
No comments:
Post a Comment