Professional Documents
Culture Documents
========================================
1.Take backup of Oracle Home
goto home location: tar -cvf /oradepot/wrk/11.1.0.7_bkp.tar *
Example :
--------Go to home location.
Take backup of home binaries in any backup location.
cd /GPM/sw/A/oracle/product/11.1.0
tar -cvf /oradepot/wrk/11.1.0_bkp.tar *
-rw-r----- 1 gpmoraa
dba
[gpmoraa@hpx186:/oradepot/wrk]
$ pwd
/oradepot/wrk
0:33 ora_pmon_PPRUX198
25:12 /GPM/sw/A/oracle/product/11.1.0/
3944,8563946,8563947,8563948,8855553,8855565,8855570,8855577,9118620,9458814,945
8819,9702142,9702143
Checking skip_subset
Checking conflicts against Oracle Home...
==========
11.cd $ORACLE_HOME/rdbms/admin
sqlplus /nolog
SQL> CONNECT / AS SYSDBA
SQL> STARTUP
SQL> @catbundle.sql cpu apply
SQL> QUIT
12.run SELECT * FROM registry$history where ID = '6452863';
if this return no rows, then
cd $ORACLE_HOME/cpu/view_recompile
sqlplus /nolog
SQL> CONNECT / AS SYSDBA
SQL> SHUTDOWN IMMEDIATE
SQL> STARTUP UPGRADE
SQL> @view_recompile_jan2008cpu.sql
SQL> SHUTDOWN;
SQL> STARTUP;
SQL> QUIT
13.run utlrp
do step 11,12 and 13 in all databases under that home.
14. start listener and agent
15. restore crontab
$ crontab crontabbak
THE END