r12 inst top
TRANSCRIPT
R12 file system has come up with new model - Code, Data, Configurations are segregated nicely to have easy maintenance, to avert NFS mount issues on shared appltier configuration systems. Autoconfig will not write anything in appltop, commontop area in R12. All instance specific configurations, log files are written in INST_TOP area. Instance Home provides the ability to share Applications and technology stack code among multiple instances (As a DBA you will spend much time in INST_TOP area when you comes to application tier node management ( e.g checking logs, starting/stopping services, ssl certificates management, CONTEXT_FILE modification etc.)
Techstack Components:
DB_TIER:10.2.0.2 RDBMS ORACLE_HOME
APPL-TIER
10.1.2 C ORACLE_HOME / FORMS ORACLE_HOME (8.0.6 ORACLE HOME equivalence)10.1.3 Java ORACLE_HOME/OC4J ORACLE_HOME (iAS ORACLE_HOME equivalence)
Instance Top in R12
INST_TOP is the most discernible changes that R12 is having from its predecessors.
INST TOP directory:
(applmgr) - lsadmin/ appl/ certs/ logs/ ora/ out/ pids/ portal/ rgf/(applmgr) -
The Whys and wherefores:
You may get a question why is the change??
There is a need to separate
CodeDataConfig
to ease maintenance of the system. To avoid NFS/MUTEX related issues. Above issue will get resolved if the configuration/lcck files are stored in local system. Another advantage is to gain performance accessing local file system is better than NFS file system.
This directory $INST_TOP got introduced newly in R12. Instance top contains all the config files, log files, ssl certificates, document root etc. Addition of this directory makes the middle-tier more organized, since data is kept separate from config/log files. Another advantage is that, multiple instances can easily share the same middle tier. To create a new instance that shares an existing middle-tier, just create a new instance_top with proper config files and NFS mount the middle tier in the server.
INSTANCE TOP - STRUCTURE $INST_TOP: APPS_BASE/inst/apps/CONTEXT_NAME/
/admin
/scripts ADMIN_SCRIPTS_HOME: Find all AD scripts here/appl APPL_CONFIG_HOME. For standalone envs, this is
set to $APPL_TOP /fnd/12.0.0/secu
reFND_SECURE: dbc files here
/admin All Env Config files here/certs SSL Certificates go here/logs LOG_HOME: Central log file location. All log files are
placed here (except adconfig)/ora ORA_CONFIG_HOME
/10.1.2 'C' Oracle home config, Contains tnsnames and forms listener servlet config files
/10.1.3 Apache & OC4J config home, Apache, OC4J and opmn
This is the 'Java' oracle home configuration for OPMN, Apache and OC4J
/pids Apache/Forms server PID files here/portal Apache's DocumentRoot folder
AD SCRIPTS $ADMIN_SCRIPTS_HOME: $INST_TOP/admin/scripts
adautocfg.sh run autoconfigadstpall.sh stop all servicesadstrtal.sh start all servicesadapcctl.sh start/stop/status Apache onlyadformsctl.sh start/stop/status OC4J Formsadoacorectl.sh start/stop/status OC4J oacoreadopmnctl.sh start/stop/status opmnadalnctl.sh start/stop RPC listeners (FNDFS/FNDSM)adcmctl.sh start/stop Concurrent Managergsmstart.sh start/stop FNDSMjtffmctl.sh start/stop Fulfillment Serveradpreclone.pl Cloning preparation scriptadoafmctl.sh adoafmctl.sh to start/stop/status OC4J oafm
(webservice, mapviewer)adexecsql.pl Execute sql scripts that update the profiles in an AutoConfig
runjava.sh Call java executable with additional args, (used by opmn,
Conc. Mgr)
LOG FILES Location of various log files
AD Script log files (adapcctl.sh,...)
$INST_TOP/logs/appl/admin/log
CM Log Files ($APPLCSF/$APPLLOG)
$INST_TOP/logs/appl/conc/log
AD tools log files (adpatch, ...)
$APPL_CONFIG_HOME/admin/$TWO_TASK/log
OPMN Log Files (Text & ODL)
$INST_TOP/logs/ora/10.1.3/opmn
Apache Log Files (Text & ODL)
$INST_TOP/logs/ora/10.1.3/Apache
OC4J Log Files (Text)
$INST_TOP/logs/ora/10.1.3/j2ee/oacore/
OC4J Log Files (ODL)
$INST_TOP/logs/ora/10.1.3/j2ee/oacore/log/oacore_default_group_1/oc4j
SSL CERTIFICATES$INST_TOP/certs
/Apache/ewallet.p12/opmn/cwallet.sso/opmn/ewallet.p12
certs is the default directory for SSL or any other certificate filesused by this instance. To use a centrally staged certificate, changethe appropriate context file and run autoconfig
R12 $INST_TOP
Remember there is no jserv.properties or jserv.conf or zone.properties in R12 (new techstack), Jserv is replaced by Oacore!!
This post is going to have configuration files that will fall under INST TOP directory structure.The entire configuration Files are placed under $ORA_CONFIG_HOMEIf you go inside this directory you will see 10.1.2 and 10.1.3
10.1.2 Configuration files will be residing in 10.1.2. For e.g $FORMS_WEB_CONFIG_FILE is placed under $ORA_CONFIG_HOME/10.1.2 –
$ORA_CONFIG_HOME /10.1.2/forms/server/appsweb.cfg
10.1.3 configuration files will be placed under
$ORA_CONFIG_HOME/10.1.3/Apache/Apache/conf/
so, good bye to $IAS_ORACLE_HOME/Apache/Apache/conf !!! You will use always $ORA_CONFIG_HOME/10.1.3 to modify Apache configurations in R12. You will be comfortable going forward!!
Same location you will see (all apache related configurations files)
10.1.3 Configuration files:---------------------------
Env file:---------
$ORA_CONFIG_HOME/10.1.3/$CONTEXT_NAME.env
OH config files: Location: $ORA_CONFIG_HOME/10.1.3/config---------------These files are security related/iAS related parameters. Mostly no modifications required manually. OID/SSO registrations scripts modifies directly.
1. ias.properties2. iasschema.xml3. j2ee_instance_jazn.properties 4. jazn-data.xml 5. jazn.xml
Apache Related Configuration Files: $IAS_ORACLE_HOME/Apache/Apache/conf
---------------------------------------------------------------------------------------
1. apps.conf 2. custom.conf 3. dms.conf 4. httpd.conf 5. mod_oc4j.conf - newly introduced for OC4J conf 6. mod_osso.conf - replaced mod sso conf 7. oracle_apache.conf 8. osso 9. restricted_mode_apache.conf 10. security.conf 11. ssl.conf 12. ssl_terminator.conf 13. trusted.conf 14. url_fw.conf
OPMN config file:------------------$ORA_CONFIG_HOME/10.1.3/opmn/conf/opmn.xml
Used by Oracle Process Manager and Notification Server (OPMN)
Contains details of all the OC4J instances deployed on the server Location of the log files for OPMN Various ports used by OPMN
$ORA_CONFIG_HOME/10.1.3/network/tnsnames.ora - Apache connection config file
OC4J configuration files:-------------------------
There are three OC4J deployments in 10.1.3 oracle Homesthey are oacore oc4j, forms oc4j, oafm oc4j. All oc4j's will have similar configuration files.
application.xmldefault-web-site.xmlglobal-web-application.xmlj2ee-logging.xmljazn.xmljms.xmloc4j-connectors.xmloc4j.propertiesohwconfig.xmlrmi.xmlserver.xmlsystem-application.xml
system-jazn-data.xml
Above configuration files are generic OC4J instances. zone.properties... It’s replaced by orion-web.conf (it defines servlet alias, init param serttings etc.). Its under $ORA_CONFIG_HOME/10.1.3/j2ee/oacore/application-deployments/oacore/html
JavaCache config file:----------------------$ORA_CONFIG_HOME/10.1.3/javacache/admin/javacache.xml
10.1.2 OH related config Files:-------------------------------
Env file: --------$ORA_CONFIG_HOME/10.1.2/$CONTEXT_NAME.env
Form Server Configuration Files:---------------------------------
Location: $ORA_CONFIG_HOME/10.1.2/forms/server default.env (replacement of formservlet.ini in 11i) socket.env appsweb.cfg ($FORMS60_WEB_CONFIG_FILE is replaced with
$FORMS_WEB_CONFIG_FILE)
Report Builder config file:-------------------------$ORA_CONFIG_HOME/10.1.2/reports/conf/rwbuilder.conf
10.1.2 Listener config files:---------------------------$ORA_CONFIG_HOME/10.1.2/network/admin