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 rollback -local -id 21948348 -oh /oracle/grid/crs_1/  ocw
 
$ORACLE_HOME/OPatch/opatch rollback -local -id 21948355 -oh /oracle/grid/crs_1/  acfs
 
$ORACLE_HOME/OPatch/opatch rollback -local -id 21948347 -oh /oracle/grid/crs_1/  db
 
4. oracle用户

 

/oracle/psu/22191577/21948348/custom/server/21948348/custom/scripts/prepatch.sh -dbhome $ORACLE_HOME (备份)

 
5. oracle用户
$ORACLE_HOME/OPatch/opatch rollback -local -id 21948348 -oh /oracle/app/product/11.2.0/db_1/
$ORACLE_HOME/OPatch/opatch rollback -local -id 21948347 -oh /oracle/app/product/11.2.0/db_1/
 
6. oracle用户
/oracle/psu/22191577/21948348/custom/server/21948348/custom/scripts/postpatch.sh -dbhome $ORACLE_HOME  (还原)
 
7. root用户
/oracle/grid/crs_1/rdbms/install/rootadd_rdbms.sh
/oracle/grid/crs_1/crs/install/rootcrs.pl -patch
 
8. oracle用户
$ORACLE_HOME/bin/srvctl start home -o $ORACLE_HOME -s /home/oracle/status.list -n s1-11g

 

9. 检查
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

无觅相关文章插件