Bajwa Consulting Need senior Oracle DBA help? Performance tuning, Cloud migrations, GoldenGate, backup and DR. Plus 70+ free DBA scripts.
Visit bajwaconsulting.com →

Thursday, April 24, 2014

Packaging an Incident for Oracle Support with ADRCI




1. login to the machine as database owner and set the environment of your database.
2. Create the .zip file by running adrci utility (check below).

adrci
ADR base = "/oracle/app/oracle"
adrci> set home diag/rdbms/MYDB
adrci> show incident


ADR Home = /oracle/app/oracle/diag/rdbms/vger/VGER:
*************************************************************************
INCIDENT_ID          PROBLEM_KEY                                                 CREATE_TIME
-------------------- ----------------------------------------------------------- ----------------------------------------
434700               ORA 3137 [12333]                                            2012-11-10 23:46:21.145000 -05:00
497893               ORA 3137 [1010]                                             2012-12-08 11:19:51.714000 -05:00
533662               ORA 3137 [12333]                                            2012-12-29 08:28:37.406000 -05:00
584879               ORA 3137 [12333]                                            2013-01-19 16:12:55.363000 -05:00
598784               ORA 3137 [12333]                                            2013-01-26 16:14:31.048000 -05:00
.
.
.


19 rows fetched

adrci> show package
adrci> ips create package
 Created package 2 without any contents, correlation level typical
adrci> ips add incident 434700 package 2;
Added incident 434700 to package 2
adrci> ips generate package 2 in /locatin/to/my/dir


Generated package 2 in file /locatin/to/my/dir/IPSPKG_20131104090125_COM_1.zip, mode complete

3. Now you can attach this .zip file created in step 2  to your SR with Oracle Support

No comments:

Post a Comment