Professional Documents
Culture Documents
=======================
$service network restart ( unix command to see the IP Addr of Host Machine )
$env | grep -i forms [[ At root directory in Apps user , this command gives
complete url of ur application ]]
--> note:: .ldt files contain metadata, By using SQL we can Enable .ldt files.
NOTE:: APPL_TOP contains all the 197 products in its file system.
Report, Concurrent and Database in One NOde, and also we can have multiple Forms
server for Load balancing.
But, Remember FileSystem ( APPL_TOP) should be there on each and every node.
Doubt--> While Installation which server to be installed on which Node. i,e how do
we know which server to be installed
========
on which node.
===> Installation log files r stored in 2 types a) DB logfiles & b) APPS log files
a) DB log files are stored in $ORACLE_HOME/appsutil/<context name>
------> When u install 11.5.9 all the 197 products gets installed, but if u want to
enable specified products, u can
oraInst.loc
==============
--> For getting info about fresh installation go to /etc/oraInst.loc , There u'll
find one path
/oraInventory/<context>XMl/Inventory.xml in Inventory.xml u'll find user info
i,e who is DB user name,
DOUBT==> the above table and v$tables etc can be accessed as Apps or system users
only ??
=====
DB
----> thru v$instance we can find Dbversion and dbname ( u can find it using any
user)
---> Note: v$ tables can be accessed by any use, but some fnd tables can be
accessed by only Apps.
===========
APps ---> $env |grep -i appl ( run this at unix prompt, it will show the locations
containing appl or appl_top
APPS--> apperp@schd004# env |grep -i forms ( will give URL of front end and
locations containing forms item
O/p
-----
APPLFRM=forms
FORMS60_OAM_FRD=OFF
FORMS60_WEB_CONFIG_FILE=/apl40/d002/app/applmgr/gpsore40/comn/html/bin/appsweb_gpso
re40_schd004.cfg
FORMS60_BLOCKING_LONGLIST=FALSE
FORMS60_FORCE_MENU_MNEMONICS=0
CLASSPATH=/apl40/d002/app/applmgr/gpsore40/comn/util/jre/1.1.8/lib/rt.jar:/apl40/d0
02/app/applmgr/gpsore40/comn/util/jre/1.1.8/lib/0
FORMS60_DISABLE_UNPAD_LOV=FALSE
FORMS60_TRACE_PATH=/apl40/d002/app/applmgr/gpsore40/comn/admin/log/gpsore40_schd004
FORMS60_MESSAGE_ENCRYPTION=TRUE
AF_CLASSPATH=/apl40/d002/app/applmgr/gpsore40/comn/util/jre/1.1.8/lib/dt.jar:/apl40
/d002/app/applmgr/gpsore40/comn/util/jre/1.1.8/la
FORMS60_CATCHTERM=1
FORMS60_REJECT_GO_DISABLED_ITEM=0
FORMS60_LOV_INITIAL=5000
FORMS60_MAPPING=http://schd004.sch.ge.com:8025/OA_TEMP ---------------------> here
is the complete url of Front End 8025 is apache port no.
FORMS60_RTI_DIR=/apl40/d002/app/applmgr/gpsore40/comn/admin/log/gpsore40_schd004
FORMS60_APPSLIBS=APPCORE FNDSQF APPDAYPK APPFLDR GLCORE HR_GEN HR_SPEC ARXCOVER
FORMS60_SESSION=TRUE
FORMS60_OUTPUT=/apl40/d002/app/applmgr/gpsore40/comn/temp
FORMS60_TIMEOUT=5
FORMS60_PATH=/apl40/d002/app/applmgr/gpsore40/appl/au/11.5.0/resource:/apl40/d002/a
pp/applmgr/gpsore40/appl/au/11.5.0/resource/stub
FORMS60_RESTRICT_ENTER_QUERY=TRUE
DB port = 1521
Apache port or Apps tier port = 8000
IF PORT POOL = 1 ( the following db and apache port comes automatically for port
pool 1)
DB port = 1522
Apache port or Apps tier port = 8001
and so on ......
[oracle schd001c] $ which java ( shows path of java if it's set) ( u'll get same
o/p in both Apps & DbTier)
o/p
----
/usr/bin/java
[oracle schd001c] $ java -version ( to see java version ) ( u'll get same o/p in
both Apps & DbTier)
o/p
------
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)
-->Before u start the Apps (i,e Apps services) First start the DB & before starting
Db start the Db listener.( or u can start
the DB first and then listener also) then u can Start the Apps services. using
adstrtall.sh apps/apps command
example:
--------
apperp@schd004# pwd
/apl40/d002/app/applmgr/gpsore40/comn/admin/scripts/gpsore40_schd004
apperp@schd004# ls -ltr
total 256
-rwx------ 1 applmgr oracle 13444 Aug 30 09:52 adpreclone.pl
-rwx------ 1 applmgr oracle 4299 Aug 30 09:52 adstrtal.sh
-rwx------ 1 applmgr oracle 4206 Aug 30 09:52 adstpall.sh
-rwx------ 1 applmgr oracle 1008 Aug 30 09:52 adautocfg.sh
-rwx------ 1 applmgr oracle 5079 Aug 30 09:52 adalnctl.sh
-rwx------ 1 applmgr oracle 5601 Aug 30 09:52 adtcfctl.sh
-rwx------ 1 applmgr oracle 8037 Aug 30 09:52 adfrmctl.sh
-rwx------ 1 applmgr oracle 6728 Aug 30 09:52 adfmcctl.sh
-rwx------ 1 applmgr oracle 22361 Aug 30 09:52 adapcctl.sh
-rwx------ 1 applmgr oracle 5818 Aug 30 09:52 adfmsctl.sh
-rwx------ 1 applmgr oracle 8979 Aug 30 09:52 adaprstctl.sh
-rwx------ 1 applmgr oracle 2575 Aug 30 09:52 gsmstart.sh
-rwx------ 1 applmgr oracle 6848 Aug 30 09:52 addisctl.sh
-rwx------ 1 applmgr oracle 3434 Aug 30 09:54 jtffmctl.sh
-rw-rw-r-- 1 applmgr oracle 0 Aug 30 11:46 aferror.log
unix---> etc/hosts [ this file contains entry of host i,e IP address of host]
========
3.72.76.210 schd001c.sch.ge.com schd001c loghost
[oracle schd001c] $ uname -a ( gives info about os, ie its name, version, node
name)
o/p
===
SunOS schd001c 5.8 Generic_117350-28 sun4u sparc SUNW,Sun-Fire-15000
o/p
=====
System = SunOS
Node = schd001c
Release = 5.8
KernelID = Generic_117350-28
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 16 ( no. of CPU's are Displayed)
APPS---> loG and OUT FILE LOCATIONS OF AD UTILITIES.( like, Adpatch,adadmin etc)
======= =========================================
$APPL_TOP/admin/<sid>/log
$APPL_TOP/admin/<sid>/out
$APPLCSF/$APPLLOG
$APPLCSF = $COMMON_TOP/admin
$APPLLOG = log/$TWO_TASK
oransd@schd001c # echo $TNS_ADMIN ( it is at both sides, APPS TIER & DB Tier, and
Both the files are different)
/schchx85/d001/app/oracle/schchx85/9.2.0/network/admin/schchx85_schd001c
oransd@schd001c # cd $TNS_ADMIN
oransd@schd001c # ls -ltr
total 12
-rw-r--r-- 1 orachx85 dbachx85 1403 Jun 1 2005 listener.ora
-rw-r--r-- 1 orachx85 dbachx85 2 Jul 5 2005 sqlnet_ifile.ora.org
-rw-r--r-- 1 orachx85 dbachx85 752 Jul 5 2005 sqlnet.ora.org
-rw-r--r-- 1 orachx85 dbachx85 1476 Aug 25 2005 tnsnames.ora
( U can execute this command from both DB and APPS Tier from Any location )
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCschchx85))
STATUS of the LISTENER
------------------------
Alias schchx85
Version TNSLSNR for Solaris: Version 9.2.0.5.0 - Production
Start Date 01-SEP-2006 20:57:34
Uptime 2 days 6 hr. 15 min. 59 sec
Trace Level off
Security OFF
SNMP OFF
Listener Log File
/schchx85/d001/app/oracle/schchx85/9.2.0/network/admin/schchx85.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROCschchx85)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=schd001c.sch.ge.com)(PORT=25500)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "schchx85" has 1 instance(s).
Instance "schchx85", status UNKNOWN, has 1 handler(s) for this service...
===========================================================================
$ tnsping <SID or TNSNAME> ( Give this command at cmd prompt to check whether tns
entry is correct or not)
$ ping <url of server> -t ( to check whether network connection is fine or not, use
"run" or cmd prompt of unix)
NLS_NCHAR_CHARACTERSET: UTF8
NLS_CHARACTERSET......: UTF8
NLS_DATE_FORMAT.......: DD-MON-RR
NLS_NUMERIC_CHARACTERS: .,
NLS_LANGUAGE..........: AMERICAN
NLS_SORT..............: BINARY
--> Product Database Configuration info , like as given below.
First, bring down the apache server by using "adapcctl.sh stop" which is
under APPLCSF/scripts/<context_name>
Then go to $common_top here u'll find _pages dir , remove or move -pages
directory.
then make the directory (mkdir _pages) give 777 permissions i,e chmod 777 -pages
eg:
appnsd@schd007# pwd
/gpsemd40/d002/app/applmgr/gpsemd40/iAS/Apache/Apache/conf
$IAS_ORACLE_HOME/appsutil/out/<$two_task> and
$IAS_ORACLE_HOME/appsutil/template/Apache/Jserv/etc
=====
==>APPS===> httpd.pid & access_log.<number> files are stored in
"$IAS_O_H/Apache/Apache/logs
------------
SQL> select created from v$database; ( this gives you date when ur Db was created
or Cloned )
CREATED
---------------
08-APR-06
UNIX==> with top command u can see the size of RAm,The load on CPU and %of CPU used
by the Command.
PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
14156 ngg756t 12 0 0 7496K 1032K cpu/33 9104.2 12.18% srsproxy
1809 oraes 1 0 19 1808K 1336K cpu/34 1:59 12.17% compress
1927 oraes 1 0 19 1808K 1336K cpu/66 1:13 11.71% compress
1931 oraes 1 0 19 1808K 1336K cpu/64 1:04 11.40% compress
1945 oraes 1 0 19 1808K 1336K cpu/65 0:54 11.00% compress
2069 oraes 1 0 19 1808K 1336K cpu/32 0:10 4.93% compress
2292 root 1 23 0 15M 12M sleep 121.3H 0.51% PatrolAgent
2070 oraes 1 46 0 3600K 2376K cpu/67 0:00 0.18% top
1835 pat340 1 21 10 7680K 3288K sleep 18.6H 0.09% bgscollect
1260 root 1 6 10 12M 10M sleep 30.6H 0.06% PatrolAgent
25859 root 18 50 0 7456K 3320K sleep 716:05 0.04% cstd.agt
2103 pat340 1 16 10 1496K 1168K sleep 0:00 0.03% sadc
2102 pat340 1 6 10 1440K 1192K sleep 0:00 0.03% sar
728 root 17 59 0 4264K 2328K sleep 491:07 0.01% nscd
1819 pat340 1 29 10 11M 6232K sleep 61:18 0.01% dcm
apps
=====>Under AD_top/bin u have various Ad Utilities like
Adpatch.adadmin,adclone,adrelink,adident etc
note :: U can run these adUtlities from any directory from Apps user, becuse it
path is set (probably by .env files)
-----
ADADMIN
=======
(main menu)
--> a) Relink APplication Program :: Whenever we install new product or new Tech
Stack component u need to Relink it
=========================
i,e making consistent with the existing application.
when u make some changes or appls patch to one or some of the modules they become
Inconsistent with rest of the
Apps/modueles. Inorder to make them consistent Relinking is used.
3. Compile Apps Schema ==> It will try to remove invalid objects count after or
Decreases Invalid objects. generally done
=====================
After patch is applied. i,e we take invalid objects count before application of
patch and after application of patch
Some companies do not allow u to "compile Apps Schema" using Adadmin, In that
case u need to run utlrp.sql which
or
===> Select count(*) from dba_objects where status = 'Invalid' ( query to find
Invalid objects count)
NOTE:: Before every DB Activity u need to check this Invalid count & After every
DB Activity u need to check this Invalid
=======
Object count. if Both are same its OK , Else Compile APPS Schema Using AdaDmin 2-
2 option or Utlrp.sql.
--> Startup nomount ( used when we are creating a new database & When we are
creating & Recreating the