Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 

 

 

11g Modifying Existing Logical Packages

Oracle 11g New Features Tips by Donald BurlesonJune 29, 2015

Oracle 11g New Features Tips

Once the logical package has been created, it is possible to add diagnostic information or additional files in ADR to the existing package.  To add an incident to an existing package, the command is ?ips add incident [incident_number] package [package_number]?.  To add a file to an existing package, the command is ?ips add file [file_path] package [package_number]?, with file_path as a fully qualified path and file name.  Only files within the ADR base directory can be added.

You can also view the incidents contained within the logical package by using ?ips show incidents package [package_number]? such as:

adrci> ips show incidents package 1
**********************************************************
Main INCIDENTS
********************************************************** 

----------------------------------------------------------

**********************************************************
INCIDENT RECORD
**********************************************************

----------------------------------------------------------
INCIDENT INFORMATION:
   INCIDENT_ID                    5138
   PROBLEM_ID                     2
   EXCLUDE                        0
 
----------------------------------------------------------
**********************************************************
Correlated INCIDENTS
**********************************************************
 
----------------------------------------------------------
**********************************************************
INCIDENT RECORD
**********************************************************
 
----------------------------------------------------------
INCIDENT INFORMATION:
   INCIDENT_ID                    5137
   PROBLEM_ID                     1
   EXCLUDE                        0
 
----------------------------------------------------------
adrci>

To view the files included in a package, use the command ?ips show files package [package_number]?.  The output of this command will show all the files that will be included in the zip file when the physical package is generated.  Listed below is the output generated from this command for 2/42 files in package 1.

********************************************************** 

----------------------------------------------------------

FILE INFORMATION:
   FILE_LOCATION   
              <ADR_HOME>/incpkg/pkg_1/seq_2/export!c:\oracle\11g\diag\rdbms\ora11gr1\ora11gr1
   FILE_NAME                      HM_RUN.dmp
   LAST_SEQUENCE                  2
   EXCLUDE                        0 

----------------------------------------------------------

**********************************************************
FILE RECORD
********************************************************** 

----------------------------------------------------------
FILE INFORMATION:
   FILE_LOCATION                
 <ADR_HOME>/incpkg/pkg_1/seq_2/export!c:\oracle\11g\diag\rdbms\ora11gr1\ora11gr1
   FILE_NAME                      EM_USER_ACTIVITY.dmp
   LAST_SEQUENCE                  2
   EXCLUDE                        0
 
----------------------------------------------------------
 
Viewing additional IPS commands available from ADRCI is done by typing ?help ips [topic]? from the adrci prompt.  Detailed information for all available commands is available using the help option.  A complete list of possible ADR operations is also available from Oracle's documentation library in Oracle Database Utilities ADRCI: ADR Command Interpreter.

Generating the Physical Incident Package

If this is the first time creating the zip file for the logical package, then a complete zip file will be created.  However, if a zip file for the logical package has already been generated, then an incremental physical package can be generated to include only incidents or files that have been added since the last package generation.  Once the logical package is satisfactory, the DBA can generate the zip file from the logical package by using the following command:

ips generate package package_id [output_path] [complete | incremental]

The output path is the path to the directory that the zip file will be placed.  If this field is omitted, the package will be generated in the current working directory.  For example, if a DBA wants to generate the zip file for package 1 in C:\tmp:

adrci> ips generate package 1 in C:\tmp
Generated package 1 in file C:\tmp\ORA7445qm_20071116141007_COM_1.zip, mode complete
adrci>

Zip files are named according to the following nomenclature ,packageName_mode_sequence.zip, where packageName is the problem key concatenated with a timestamp, mode is either ?COM? for complete or ?INC? for incremental, and sequence is an integer. 

If a logical package has been modified and already generated a physical package, the zip file can be generated using an incremental mode:

adrci> ips generate package 1 in C:\tmp incremental
Generated package 1 in file C:\tmp\ORA7445qm_20071116141007_INC_2.zip, mode incremental
adrci>

 

This is an excerpt from the new book Oracle 11g New Features: Expert Guide to the Important New Features by John Garmany, Steve Karam, Lutz Hartmann, V. J. Jain, Brian Carr.

You can buy it direct from the publisher for 30% off.

 

 
��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.