Thursday, August 29, 2013

Environment variables 11i and R12

$CONTEXT_NAME= <SID>_<HOSTNAME>

In 11.5..8 or prior $CONTEX_NAME used to be just <SID>. This became problem when shared appl_top come in to picture, as this name used to create context.xml file as well as many other .env files. So its changed to <SID>_<HOSTNAME> from <SID>.

Context file: Are the file <SID>_<HOSTNAME>.xml that reside APPL_TOP/admin in 11.5.10 but in R12 location changed to INST_TOP(/inst/apps/PROD_mailserver2/appl/admin/PROD_mailserver2.xml).These contain the configuration values of all components in Oracle Applications specific to the node in xml format. This is the main XML file for Oracle Application.

APPL_TOP:A directory where all Oracle 11i porducts reside.

By default we need to source APPL_TOP env file and 806_OH env file for doing activities like patching or running adadmin utilities. To ease this activity, both these files are called from another env file named APPS<CONTEXT_NAME>.env.

Below tops we  can find in <CONTEXT_NAME>.env it located under appl_top.It is the main environment file and APPS<CONTEXT_NAME>.env is the consolidated environment file.

APPL_TOP : is the top-level directory for Oracle Applications
FNDNAM :is the name of your AOL schema default is apps
GWYUID  : is the schema name and password for your public schema 
APPLCSF  : is the top-level directory in which the Concurrent Manager puts log and output files.in R12 location for                                                     APPLCSF(/maildata_test/mcgm/appstier/inst/apps/PROD_mailserver2/logs/appl/conc
APPLLOG and APPLOUT: are the subdirectories in which the Concurrent Manager puts log and output                                                  files.
APPLTMP   :is the directory in which Oracle Applications temporary files are created.
                       (/maildata_test/mcgm/appstier/inst/apps/PROD_mailserver2/appltmp)

IAS_ORACLE_HOME=/maildata_test/mcgm/appstier/apps/tech_st/10.1.3
ORACLE_HOME= /maildata_test/mcgm/appstier/apps/tech_st/10.1.2

FND_SECURE: Define the DBC file storage         location/maildata_test/mcgm/appstier/inst/apps/PROD_mailserver2/appl/fnd/12.0.0/secure

NOTE:R12 new TOP added
INST_TOP: is the top level location for all the instance specific conf,logs, pids, certs etc.
exp:/maildata_test/mcgm/appstier/inst/apps/PROD_mailserver2
LOG_HOME is the top level location for all the instance specific logs
                         /maildata_test/mcgm/appstier/inst/apps/PROD_mailserver2/logs
ADMIN_SCRIPTS_HOME is the location for all the administation scripts for application tier.
this is different form 11i and R12
11i loaction appl_topa/admin/scripts
R12:INST_TOP/admin/scripts

Environment Variables:
Main environment file Oracle Application is CONTEXT_NMAE.env file.APP< CONTEXT_NMAE>.env file calls CONTEXT_NMAE.env and 806 home and custom environment files.
After finishing above key parameters in the CONTEXT_NMAE.env  next we have to know about adovers.env file
adovers.env:
location:APPL_TOP/admin (11i and R12)
To set the environment variables for other products like Java. This file is called by the main applications environment file.
The JAVA_TOP variable indicates the top-level directory where all Java class files will be copied.
Location: /maildata_test/mcgm/appstier/apps/apps_st/comn/java/classes
The OA_JRE_TOP variable indicates the location where you have installed the Java Runtime Environment (JRE) on your machine. You do not have to set this variable, however we recommend you use this to update your CLASSPATH,LD_LIBRARY_PATH, and PATH variables rather than hardcode the location of the JRE.
Location: /maildata_test/mcgm/appstier/apps/tech_st/10.1.3/appsutil/jdk/jre
The OAH_TOP and OAD_TOP variables define the locations to which Oracle Applications copies HTML and context-sensitive documentation files. These directories must exist and must be writable by the Operating System account that owns your Oracle Applications files.
OAH_TOP : /maildata_test/mcgm/appstier/apps/apps_st/comn/webapps/oacore
OAD_TOP : /maildata_test/mcgm/appstier/apps/apps_st/comn


Fndenv.env:
Application Object Library environment setup. It calls devenv.env
It located in FND_TOP/admin but in R12 FND_TOP
applora.txt
This file lists init.ora parameters required for Running Oracle Applications.
APPL_TOP/admin



           

No comments:

Post a Comment