Thursday, February 21, 2013

Packaging an incident using ADRCI for Oracle Support

Sending a packaged incident to Oracle Support.

adrci> show homes
ADR Homes:
diag/clients/user_grid/host_1359114779_80
diag/clients/user_oracle/host_1359114779_80
diag/clients/user_oracle/host_1359114779_11
diag/rdbms/mydba/MYDBA1
diag/rdbms/mydbb/MYDBB1
diag/asm/+asm/+ASM1

adrci> set homepath diag/rdbms/mydba/MYDBA1

adrci> ips create package
Created package 1 without any contents, correlation level typical

adrci> ips show package
   PACKAGE_ID             1
   PACKAGE_NAME
   PACKAGE_DESCRIPTION
   DRIVING_PROBLEM        N/A
   DRIVING_PROBLEM_KEY    N/A
   DRIVING_INCIDENT       N/A
   DRIVING_INCIDENT_TIME  N/A
   STATUS                 New (0)
   CORRELATION_LEVEL      Typical (2)
   PROBLEMS               0 main problems, 0 correlated problems
   INCIDENTS              0 main incidents, 0 correlated incidents
   INCLUDED_FILES         0



adrci> ips add incident 7930 package 1;
Added incident 7930 to package 1

adrci> ips show package 1
DETAILS FOR PACKAGE 1:
   PACKAGE_ID             1
   PACKAGE_NAME
   PACKAGE_DESCRIPTION
   DRIVING_PROBLEM        N/A
   DRIVING_PROBLEM_KEY    N/A
   DRIVING_INCIDENT       N/A
   DRIVING_INCIDENT_TIME  N/A
   STATUS                 New (0)
   CORRELATION_LEVEL      Typical (2)
   PROBLEMS               1 main problems, 1 correlated problems
   INCIDENTS              1 main incidents, 11 correlated incidents
   INCLUDED_FILES         28
   SEQUENCES              Last 0, last full 0, last base 0
   UNPACKED               FALSE
   CREATE_TIME            2012-10-16 10:37:13.227548 +10:00
   UPDATE_TIME            2012-10-16 11:10:24.762948 +10:00
   BEGIN_TIME             N/A
   END_TIME               N/A
   FLAGS                  0
adrci> 

adrci> ips finalize package 1
Finalized package 1
adrci> show packages

adrci> ips generate package 1 in /mydir/mypackages/ips
Generated package 1 in file /mydir/mypackages/ips/IPSPKG_20121016103713_COM_1.zip, mode complete
adrci> exit

No comments:

Post a Comment