Package a incident with the IPs of Oracle 11g ADRCI

Source: Internet
Author: User
Tags file copy unpack

[[email protected] ~]$ which adrci/u02/app/oracle/product/11.2.0.4/db_1/bin/adrci[[email protected] ~]$ Adrciadrci:release 11.2.0.4.0-production on Sat 2 22:32:28-----> This is OS time Copyright (c) 1982, Oracle and/  or its affiliates. All rights reserved. ADR base = "/u01/app/oracle" adrci> show Problemadr Home =/u01/app/oracle/diag/tnslsnr/rhel63single/listener:****** 0 rows Fetchedadr Home =/u01/app/oracle/diag/               rdbms/test/test:*************************************************************************problem_id PROBLEM_KEY Last_incident Lastinc_time--------------------------------------------  ---------------------------------------1 ORA 1578 16961 2014-06-07 20:35:35.310000 +08:00 2 ORA 4031 32428 2014-09-25 01:00:37.64700 0 + 08:3 ORA [QMRCGETREPRC] 32441 2014-09-25 02:20:00.781000 +08:00 4 ORA 445 45655 2015-01-09 01:51:31.549000 +08:00 4 rows FETCHEDADRCI&G T Show Incidentadr Home =/u01/app/oracle/diag/tnslsnr/rhel63single/listener:*************************************** 0 rows Fetchedadr Home =/u01/app/oracle/diag/rdbms/test/test:*******************                                                 incident_id Problem_key Create_time-------------------------------------------------------------------                                                    ----------------------------------------------------16961 ORA 1578                                                    2014-06-07 20:35:35.310000 +08:00 31354 ORA 4031 2014-09-25 00:31:36.0180XX +08:00 31355 ORA 4031 2014-09-25 00:33:17.26800  0 +08:00 31356 ORA 4031 2014-09-25 00:39:46.038000 +08:00 31357 ORA 4031 2014-09-25 00:39:58.767000 +08:00 31358 ORA 4031 2014-09-25 00:40:07.251000 + 32441 ORA [QMRCGETREPRC] 2014-09-25 02:20:00.781000 +0 8:00am 44677 ORA 445 2015-01-08 20:46:37.901000 +08 : 44573 ORA 445 2015-01-08 20:58:13.842000 + 08: XX 44574 ORA 445 2015-01-08 21:12:58.866000 +08:0           0 44679     ORA 445 2015-01-08 21:15:43.893000 +08:00 44575                ORA 445 2015-01-09 01:03:26.299000 +08:00 44683 ORA 445 2015-01-09 01:10:24.094000 +08:00 rows FETCHEDADRC I> IPs Create Package Incident 31358dia-48448:this command does not support multiple ADR homesadrci> show Homesadr Homes:diag/tnslsnr/rhel63single/listenerdiag/rdbms/test/testadrci> Set HomePath diag/rdbms/test/testadrci> IPS Create Package incident 31358Created Package 1 based in incident ID 31358, correlation level typicaladrci> Adrci&gt ; Adrci> adrci> adrci> Help (Topic) Available topics:create report ECHO EXIT HE        LP HOST IPS PURGE RUN set BASE set BROWSER set CONTROL set ECHO Set EDITOR set HOMES | HOME | HomePath SET termout show ALERT show BASE show CONTROL show Hm_run show HOMES | HOME |  HomePath show Incdir show INCIDENT show Problem show report show Tracefile SPOOL There is other commands intended to being used directly by Oracle, type ' help EXTENDED ' to see the listadrci> show Repor Tdia-48415:syntax error found in string [Show report] at column [12]adrci> IPs helpdia-48415:syntax error found in St         ring [IPs help] at column [8]adrci> help IPs help IPs [topic] Available topics:add ADD FILE ADD NEW INCIDENTS CHECK REMOTE KEYS copy in file copy out FILE CREATE package DEL  ETE Package FINALIZE Package GENERATE package get MANIFEST get METADATA get REMOTE KEYS PACK Remove Remove FILE SET configuration show Configuration show FI  LES       Show INCIDENTS Show Package UNPACK FILE UNPACK the use REMOTE KEYS adrci> IP S show Package package_id 1 package_name ora4031_20150502223521-----> This is OS time Package_descrip tion Driving_problem 2 driving_problem_key ORA 4031 driving_incident 31358 driving_incident_ti               ME 2014-09-25 00:40:07.251000 +08:00 STATUS New (0) Correlation_level Typical (2) problems 1 main problems, 2 correlated Problems INCIDENTS 1 main INCIDENTS, 5 correlated INCIDENTS incl  Uded_files 14adrci>


  At this point, only one incident is packaged, and the incident is only packaged and not yet generated on the file system, as shown in the steps to build to the file system:

[[email protected] test]$ adrciadrci:release 11.2.0.4.0-production on Sat 2 22:53:37 2015Copyright (c) 1982, 2  011, Oracle and/or its affiliates. All rights reserved.             ADR base = "/u01/app/oracle" adrci> show Homesadr homes:diag/rdbms/test/testadrci> IPs show Package package_id 1 package_name ora4031_20150502223521 package_description Driving_problem 2 driving_                  Problem_key ORA 4031 driving_incident 31358 driving_incident_time 2014-09-25 00:40:07.251000 +08:00 STATUS New (0) Correlation_level Typical (2) Problems 1 main problems, 2 correlated probl EMS INCIDENTS 1 Main INCIDENTS, 5 correlated INCIDENTS included_files 14adrci> IPs Create pack  Age incident 31358 Correlate allcreated Package 2 based on incident ID 31358, correlation level alladrci> adrci> IPs  Show Package package_id 1 package_name ora4031_20150502223521 Package_description Driving_problem 2 driving_problem_key ORA 4031 driving_incident 31358 DRI Ving_incident_time 2014-09-25 00:40:07.251000 +08:00 STATUS New (0) correlation_level Typical (2 ) Problems 1 main problems, 2 correlated Problems INCIDENTS 1 main INCIDENTS, 5 correlated Incidents included_files package_id 2 package_name ora4031_20150502225909 Package _description Driving_problem 2 driving_problem_key ORA 4031 driving_incident 31358 driving_inc                Ident_time 2014-09-25 00:40:07.251000 +08:00 STATUS New (0) Correlation_level All (4) problems   1 main problems, 2 correlated Problems INCIDENTS 1 main INCIDENTS, 5 correlated INCIDENTS Included_files 14adrci> IPs GENERATE Package 1 Generated Package 1 in File/u01/app/oracle/diag/rdbms/test/test /ora4031_20150502223521_Com_1.zip, mode complete--> generated in the default location adrci> IPs GENERATE Package 2 in/home/oracle/generated package 2 in file/home/o  Racle/ora4031_20150502225909_com_1.zip, Mode complete---> generated to the specified location adrci>


Package a incident with the IPs of Oracle 11g ADRCI

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.