Wednesday, September 1, 2021

AutoConfig in Oracle EBS

 Overview :


  Autoconfig is a tool that supports automated configurations of an Applications instance. All of the information required for configuration an application instance is collected into two local repositories ,called the Application Context file and Database Context file .

When Autoconfig runs on the Application tier ,it uses information from the Application Context file to generate all configuration files and update database profiles .

When Autoconfig runs on the Database tier ,it uses information from the Database Context file to generate all configuration files used on the database tier .


Benefits :

 There are several major benefits provided by Autoconfig .

   * Configuration support: 
            Autoconfig configures the APPL_TOP, the ORACLE_HOMEs and it is supporting technology   stack .

   *  Configuration Management:
            Autoconfig centralizes the configuration and re-configuration of an Applications  instance.

   *  Configuration Delivery and Patching:
           The uptake of new technology is simplified , as new configurations and configuration    changed can be provided in the form of patch.


​When you run Autoconfig it will ask two parameters,

               * Context file Name.
               * Apps Password.

​How do I determine if Autoconfig is enabled ?

 Check for the script adcfginfo.sh under $AD_TOP/bin. If it exists use it to check whether Autoconfig is enabled .

For the APPL_TOP:

     adcfginfo.sh contextfile=<contextfilepatch>

For Products :


     
adcfginfo.sh contextfile=<contextfilepatch> show=enabled 


If adcfginfo.sh doesn't exist ,look in any configuration file in our APPL_TOP. If the file header contains the following ,Autoconfig has been run your instance.

How autoconfig will create env and configuration files ?


  Autoconfig will go to each and every top template directory take the templates from there and fill the values from xml file and create the required files.


Autoconfig will run below phases:


* NSTE8 -                 Instantiates AutoConfig template files to the AutoConfig configuration files                                     specified in  the relevant  template driver files.
* INSTE8_SETUP -     Executes setup scripts that carry out activities not involving connection to                                       the  database.
* INSTE8_PROFILE -  Executes setup scripts that update profile options.
* INSTE8_APPLY -     Executes setup scripts that carry out activities involving updates to the                                           database.



 Is it possible to restore a Autoconfig run?


   Partially. Adconfig will create a restore script at $APPL_TOP/admin/out/. This restore.sh will copy the backed up files before Autoconfig run to its original locations. But the profile values updated in the database can’t be restored back. 

Can we run Autoconfig in test mode ?

     adchkcfg.sh script at AD_TOP/bin.
This script will run Autoconfig in test

mode and create the difference file which tells us what is going to change, when you actually run Autoconfig.
     

 AutoConfig log file Location  ?

           a) Autoconfig log location on application tier:
                      $INST_TOP/admin/log/$MMDDHHMM/adconfig.log

          b) Autoconfig Log Location on Database tier :
                      $ORACLE_HOME/ appsutil/ log/ $CONTEXT_NAME/ <MMDDHHMM>/ *.log

    


No comments:

Post a Comment

ORACLE DATABASE CONTENT

ORACLE DATABASE 11gR2 & 12C  CONTENT Pre-Requisite: UNIX, SQL Basics Introduction to Oracle Database §   Introduction of Database ...