Experience: is what you get soon after you need it.

Experience: is what you get soon after you need it.

Rasul Allah (sal Allahu alaihi wa sallam) said: "Restore the trusts of those who trust you, and deal not falsely with him who deals falsely with you." [Abu Dawud, Tirmidhi]

Search This Blog

Tuesday, February 8, 2011

How to package incidents using ADRCI

Here I will show you how to create incident package using ADRCI, i.e creating package based on incident.
( There are other ways you can use to create packages using problem id,problem key,time interval and then add files to it) see detailed Note:738732.1]


>adrci

ADRCI: Release 11.2.0.2.0 - Production on Tue Feb 8 09:17:40 2011

Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

ADR base = "/rman02/u0001/oracle"
adrci> set homepath /rman02/u0001/oracle/diag/rdbms/adm2p/ADM2P

adrci> show incidents

ADR Home = /rman02/u0001/oracle/diag/rdbms/adm2p/ADM2P:
*************************************************************************
INCIDENT_ID PROBLEM_KEY CREATE_TIME
----
75608 ORA 4030 2011-02-02 10:15:16.215000 -05:00

Select correct incident if there are many incidents.

adrci> IPS CREATE PACKAGE INCIDENT 75608
Created package 1 based on incident id 75608, correlation level typical


adrci> IPS GENERATE PACKAGE 1 IN /ora_backup/u0001/stage/
This generates a complete physical package (zip file) in the designated path.Above
command creates a complete physical package in the directory /ora_backup/u0001/stage/
from logical package number 1

Generated package 1 in file /ora_backup/u0001/stage/ORA4030_20110208092223_COM_1.zip, mode complete

No comments: