2016. 1. 26. 13:12 오라클
PSU 11.2.0.4.160119
패치작업 11.2.0.4.160119 (2016.01)
BUG 22191577- GRID INFRASTRUCTURE SYSTEM PATCH 11.2.0.4.160119 contains
DB Patch Number : 21948347
OCW PATCH : 21948348
ACFS PATCH : 21948355
-------------------------------------
GRID_HOME, ORACLE_HOME 을 개별로 각각 할때
AIX는 작업전 slibclean
(root 유저)
# /oragrid/product/11.2.0.4/crs/install/rootcrs.pl -unlock (CRS 가 떠 있으면 script로 자동으로 내려버림)
(grid 유저)
/oragrid/product/11.2.0.4/OPatch/opatch napply -oh /oragrid/product/11.2.0.4 -local /arch/22191577/21948348
/oragrid/product/11.2.0.4/OPatch/opatch napply -oh /oragrid/product/11.2.0.4 -local /arch/22191577/21948355
/oragrid/product/11.2.0.4/OPatch/opatch apply -oh /oragrid/product/11.2.0.4 -local /arch/22191577/21948347
(oracle 유저)
/arch/22191577/21948348/custom/server/21948348/custom/scripts/prepatch.sh -dbhome /oracle/product/11.2.0.4 (권한체크)
/oracle/product/11.2.0.4/OPatch/opatch napply -oh /oracle/product/11.2.0.4 -local /arch/22191577/21948348/custom/server/21948348
/oracle/product/11.2.0.4/OPatch/opatch apply -oh /oracle/product/11.2.0.4 -local /arch/22191577/21948347
/arch/22191577/21948348/custom/server/21948348/custom/scripts/postpatch.sh -dbhome /oracle/product/11.2.0.4 (권한체크)
(root 유저)
# /oragrid/product/11.2.0.4/rdbms/install/rootadd_rdbms.sh
# /oragrid/product/11.2.0.4/crs/install/rootcrs.pl -patch (script로 자동으로 CRS를 올려 버림)
[롤백하는 경우]
GI Home
(root로)
# /oragrid/product/11.2.0.4/crs/install/rootcrs.pl -unlock
(grid 유저로)
/oragrid/product/11.2.0.4/OPatch/opatch rollback -local -id 21948348 -oh /oragrid/product/11.2.0.4
/oragrid/product/11.2.0.4/OPatch/opatch rollback -local -id 21948355 -oh /oragrid/product/11.2.0.4
/oragrid/product/11.2.0.4/OPatch/opatch rollback -local -id 21948347 -oh /oragrid/product/11.2.0.4
(oracle 유저로)
/arch/22191577/21948348/custom/server/21948348/custom/scripts/prepatch.sh -dbhome /oracle/product/11.2.0.4
/oracle/product/11.2.0.4/OPatch/opatch rollback -local -id 21948348 -oh /oracle/product/11.2.0.4
/oracle/product/11.2.0.4/OPatch/opatch rollback -local -id 21948347 -oh /oracle/product/11.2.0.4
/arch/22191577/21948348/custom/server/21948348/custom/scripts/postpatch.sh -dbhome /oracle/product/11.2.0.4
Run post script
(root로)
# /oragrid/product/11.2.0.4/rdbms/install/rootadd_rdbms.sh
# /oragrid/product/11.2.0.4/crs/install/rootcrs.pl -patch
cd $ORACLE_HOME/rdbms/admin
sqlplus /nolog
SQL> CONNECT / AS SYSDBA
SQL> STARTUP
SQL> @catbundle.sql psu apply
SQL> QUIT