Friday, October 30, 2015

R12.2.4 Directory Structure and Some Important Variable.

Directory Structure for R12.2.4

under R12.2 Home, you can see the below directory.


drwx------   4 UID dba            4 May 15 13:07 fs_ne

drwx------   2 UID dba            2 May 15 13:35 fs2
drwx------   5  UID dba            5 May 15 18:24 fs1
drwx-------   7 UID dba            9 May 27 16:52 oraInventory_R122
-rwx--------  1 UID dba         6465 May 27 17:00 EBSapps.env


Eg : under Fs1

drwx------   3 UID dba            3 Jan 22  2015 inst
drwx------   5 UID dba            5 Jan 22  2015 EBSapps
drwx------  12 UID dba           19 May  6  2015 FMW_Home

under EBSapps


drwx------  10 UID dba           11 Feb  4  2015 comn

drwx------  87 UID dba           93 May  8  2015 10.1.2
drwx------ 180 UID dba          190 Sep  3  2015 appl

under Fmw_Hme

-rwxr-----   1 UID dba       108939 Jan 22  2015 registry.dat
-rwxr-----   1 UID dba          625 Jan 22  2015 ocm.rsp
-rwxr-----   1 UID dba         1809 Jan 22  2015 registry.xml
drwxr-----   6 UID dba            6 Jan 22  2015 patch_wls1036
drwxr-----   9 UID dba           11 Jan 22  2015 wlserver_10.3
drwxr-----  16 UID dba           19 Jan 22  2015 Oracle_EBS-app1
drwxr-----   4 UID dba            4 Jan 26  2015 user_projects
drwxr-----  34 UID dba           37 Feb 27  2015 oracle_common
drwxr-----   7 UID dba          485 Mar  5  2015 modules
drwxr-----   8 UID dba           10 Mar 10  2015 utils
drwxr-----  56 UID dba           60 Mar 13  2015 webtier
drwxr-----   8 UID dba            9 May  6  2015 Oracle_OAMWebGate1
-rwxr-----   1 UID dba          239 Jun  1  2015 domain-registry.xml
-rwx-------   1 UID dba         1003 Jun  1  2015 SetWebtier.env
-rw-r--r--   1 UID dba         1027 Jun  1  2015 SetOracleCommon.env

drwxr-----   2 UID dba         3333 Jul 13  2015 logs



if you execute EBSapps.env, It will ask you, Which Source File System you want go

R - Means Running File System

P - Means Patch File System.

Lets see.

$. EBSapps.env

  E-Business Suite Environment Information

  ----------------------------------------
  RUN File System           : /apps2/property/product/pro1dev/fs1/EBSapps/appl
  PATCH File System         : /apps2/property/product/pro1dev/fs2/EBSapps/appl
  Non-Editioned File System : /apps2/property/product/pro1dev/fs_ne


  DB Host: xxxx.xxx.xxx  Service/SID: PRO1DV



  E-Business Suite Environment Setting

  ------------------------------------
  - Enter [R/r] for sourcing Run File System Environment file, or
  - Enter [P/p] for sourcing Patch File System Environment file, or
  - Enter anything else to exit

  Please choose the environment file you wish to source [R/P]:R

 Sourcing the RUN File System ...
$.
_________________________________________________________________________________

what is FS_NE directory?

Non-Editioned file system for data files.

What is FS1 file system?

fs1 file system is either run or patch edition file system.

What is FS2 File System?

 FS2 file system is alternate of fs1 file system.

How to Identify the File System you are in?

echo $FILE_EDITION



How to find out online patches status?

adop -status

$adop -status


Enter the APPS password:


$ echo $RUN_BASE

It will show absolute path to run file system.

$echo $PATCH_BASE

It will show absolute patch to patch file system.
$echo $NE_BASE
 non-enditioned appl_top patch $NE_BASE/EBSAPPS/appl
$echo $LOG_HOME
Application Instance Specific Log Directory.
$echo $ADOP_LOG_HOME
online patching specific Log Directory , Equivalent to $NE_BASE/EBSAPPS/log/adop.
$echo IAS_ORACLE_HOME
FMW web Tier Home Directory.
$echo $ORACLE_HOME
10.1.2 ORACLE_HOME
$echo $CONTEXT_FILE
 source for information populating template file.
$echo $EBS_DOMAIN_HOME
weblogicsytem Deployment of oracle EBS 12.2 domain(Instance Specific).
$echo $EBS_ORACLE_HOME
EBS12.2 FMW deployment directory.
$echo $RW
10.1.2 report directory.
$echo $APPS_VERSION
  EBS Version.

==============================================================

ADOP (C.Delta.6)
Session Id: 36
Command: status
Output: /apps2/property/product/pro1dev/fs_ne/EBSapps/log/status_20151023_160157/adzdshowstatus.out
===============================================================

Node Name       Node Type  Phase           Status          Started              Finished             Elapsed

--------------- ---------- --------------- --------------- -------------------- -------------------- ------------
hostname         master     FS_CLONE        COMPLETED       2015/05/13 10:53:23  2015/05/13 12:12:35  1:19:12

File System Synchronization Type: Full


adop exiting with status = 0 (Success)

_________________________________________________________________________________

How to check your weblogic console port number?

i) cd $INST_TOP/appl/admin
grep wls_adminport $CONTXT_FILE
"WLS Admin Server Port">7092


II)cd $INST_TOP/logs/appl/admin/log/

$ grep weblogic  adstrtal.log
Connecting to t3://xxxx.xxx.xxx:7092 with userid weblogic ...


_______________________________________________________________________________



Friday, October 23, 2015

R12.2.4 Oracle EBS Shutdown and Startup Scripts

Startup Scripts - R12.2.4
#startup_R12_dev.sh
. /apps2/property/product/pro1dev/fs1/EBSapps/appl/APPSPRO1DV_servername.env

APPS="apps/xxxxxx"
wlst="xxxxxxxx"

INST_TOP=/apps2/property/product/pro1dev/fs1/inst/apps/PRO1DV_servername

##################################################################################
#startup R12 application
#################################################################################

$INST_TOP/admin/scripts/adstrtal.sh  $APPS <$wlst
EOF
_________________________________________________________________________________

Shutdown Scripts - R12.2.4

#shutdown_R12_dev.sh

APPS="apps/xxxxx"
wlst="xxxxxx"
INST_TOP=/apps2/property/product/pro1dev/fs1/inst/apps/PRO1DV_Servername

##################################################################################
#shutdown R12 application
#################################################################################

$INST_TOP/admin/scripts/adstpall.sh  $APPS <$wlst
EOF

_________________________________________________________________________________
~