1. 解压psu
 
用grid用户
 
unzip -d psu/ p20996923_112040_Linux-x86-64.zip
 
2. 打补丁
 
1】oracle用户
 $ORACLE_HOME/bin/srvctl stop home -o $ORACLE_HOME -s /home/oracle/status.list -n s1-11g
 
 
2】root用户
 grid/crs/install/rootcrs.pl -unlock
       
 
3】grid用户
 
 
 $ORACLE_HOME/OPatch/opatch napply -oh $ORACLE_HOME -local /oracle/psu/22191577/21948348/ OCW
 
 $ORACLE_HOME/OPatch/opatch apply -oh $ORACLE_HOME -local /oracle/psu/22191577/21948355/ acfs
 
 $ORACLE_HOME/OPatch/opatch napply -oh $ORACLE_HOME -local /oracle/psu/22191577/21948347/  DB
 
 
4】oracle用户
 
/oracle/psu/22191577/21948348/custom/server/21948348/custom/scripts/prepatch.sh  -dbhome  $ORACLE_HOME (备份)
 
 
5】oracle用户
 
$ORACLE_HOME/OPatch/opatch napply -oh $ORACLE_HOME -local /oracle/psu/22191577/21948348/custom/server/21948348/
 
$ORACLE_HOME/OPatch/opatch apply -oh $ORACLE_HOME -local /oracle/psu/22191577/21948347
 
 
6】oracle用户
 
/oracle/psu/22191577/21948348/custom/server/21948348/custom/scripts/postpatch.sh -dbhome $ORACLE_HOME  (还原)
 
7】root用户
 
grid/rdbms/install/rootadd_rdbms.sh
 
 
grid/crs/install/rootcrs.pl -patch
 
8】oracle用户
 
 /oracle/app/product/11.2.0/db_1/bin/目录下 srvctl start home -o /oracle/app/product/11.2.0/db_1/ -s /home/oracle/status.list -n s1-11g
 
3. 检查补丁
oracle 下
opatch lsinventory
SQL> select action,comments from registry$history;



Related posts

coded by nessus
分享:  DeliciousGReader鲜果豆瓣CSDN网摘
Trackback

no comment untill now

Add your comment now

无觅相关文章插件