Oracle APPS-DBA Commands
Oracle APPS-DBA Commands
Commands:-
>$ cp –R $APPL_TOP /u02
(To take Backup of APPL_TOP on /u02 Location)
>$cp –R $COMMON_TOP /u02 (To take Backup of APPL_TOP on /u02)
>$cp –R $ORACLE_HOME /u02 (To take backup of ORACLE_HOME)
>$cp –R $IAS_ORACLE_HOME /u02
(To take backup of IAS_ORACLE_HOME)
>$ ps x (To see all Processes)
>$ps –ef | grep Apache (To check Apache Processes)
>$ps –ef | grep REP (To check Report Processes)
>$ps –ef | grep rwmts60 (To check report Server)
>$ps –ef | grep Disc (To check Discoverer Processes)
>$ps –ef | grep f60 (To check Forms Server Processes & other Info)
>$ps –ef | grep f60webmx | wc –l (To check number of Forms server Users)
>$ps –ef | grep srvm (To check Forms Executable Proecess)
>$ps –ef | grep FNDLIBR (To check Concurrent Server Processes)
>$ps –ef | grep FNDLIBR | grep appmgr01 (To check Concurrent Manager running or not)
>$ps –ef | grep FNDSM (To See Service Manager Process ID)
>$ps –ef | grep sm_pid
>$ps –a |grep adworker (To determine Worker ID Process)
>$ps –ef | grep httpd grep vis (To check Apache Processes)
>$ps –x (To see all Processes)
>$nestat -a | grep 9000 (To check the Status of Form Server)
>$which perl (To check Environment is Picking up the Correct Path or not)
>$echo $ORACLE_SID (To check Oracle SID)
>$echo $ORACLE_HOME (To see the Oracle Home directory Location)
>$echo $APPL_TOP (To see the Application Home directory Location)
>$echo $COMN_TOP (To see the COMN_TOP directory Location)
>$echo $INST_TOP (To see INST_TOP directory Location)
>$echo $AU_TOP (To see AU_TOP directory Location)
>$echo $GL_TOP (To see GL_TOP directory Location)
>$echo $FND_TOP (To see the FND_TOP directory Location)
>$echo $AO_HTML (To see the AO_HTML directory Location)
>$echo $TNS_ADMIN (To see the TNS_ADMIN directory Location)
>$echo $APPLTMP (To check the TEMP diretory Location)
>$cd $APPL_TOP (To go to Application directory)
>$cd $AU_TOP (To go to AU directory)
>$cd $COMMON_TOP (To go Common Top directory)
>$cd $INST_TOP (To go to Instance directory)
>$cd $FND_TOP (To go to FND directory)
>$cd $JAVA_TOP (To go Java directory)
>$cd $GL_TOP (To go to GL directory)
>$cd $APPLCSF/APPLLOG (To go to Log file Location)
>$cd $APPLCSF/APPLOUT (To go to OUT file Location)
>$. /APPSORA.env (To Set APPS Environment Variables)
>$rpm –a glibc (To verify Kernel Requirement)
>$Perl –v (To verify Perl Version & to conform if it is in the Path)
>$f60gen help=y (To see details of Command)
>$tracert www.domain.com
(To see the Network Path taken to connect to Network Domain)
>$ping vis.domain.com
>$adopmn.sh status (To check the Status of OPMS Managed Process)
Commands:-
• Ctrl + = To Insert New Records
• Ctrl + s = To save the Records
• F11 = (To bring the Form in Query Mode)
• Ctrl + F11 = (To see All the Form Contents)
• F4 = (To Close the Forms)
Tablespaces:-
• APPS_TS_TX_DATA = This Tablespace contain all the Modules
Transaction Data or Application Data like Data Dictionary.
• APPS_TS_TX_IDX = This Tablespace contain User Index Data
• APPS_TS_TX_interface = This Tablespace contain Interface Data
• APPS_TS_TX_media = This Tablespace contain Media & Graphic
Information like Pictures.
Tables:-
• AOL Data will be stored in FND_Tables in Applsys Schema.
• AD Data will be stored in AD_Tables in Applsys Schema.
• FW Data will be stored in FW_Tables in Appisys Schema.
Utilities:-
• FNDCPASS = It is an O/S level Utility to change Application Users Password.
• CONSCUB = It is an O/S level Utility to stop Concurrent Manager
SQL Scripts:-
Sql>@$AD_TOP/patch/115/sql/adsetmmd.sql enable
(To Enable Application Maintenance Mode)
Sql>@$AD_TOP/patch/115/sql/adsetmmd.sql disable
(To Disable Application Maintenance Mode)
Sql>$FND_TOP/admin/sql/afpub.sql
(To set up grants and Synonyms for Application Public Schema) (APPLSYSPUB)
Sql>$FND_TOP/sql/afimchk.sql (To check the Status of ICM & PMON methods)
Sql>$FND_TOP/sql/afrqscm.sql (To Print Log file Name of Managers that can run a
given request)
Sql>$FND_TOP/sql/afcmrrq.sql (To
Sql>@adgrants.sql Applsys (To create System objects and grant Privileges on objects)
Sql>$AD_TOP/admin/sql/adappsgs.pls
(To set up grants and Synonyms for every Oracle Application base Schema)
Q:- For Every Server & Component there will be a main Configuration file:-
1. Apache Server = httpd.conf
2. Form Server = appsweb.conf
3. OC4J = opmn.xml
4. oacore = server.xml
5. DMS = dms.conf
6. security = security.conf
5. RRA (Application Listener) = listener.ora
• Cloning Utilities:-
$COMMON_TOP/clone/bin/.pl (for Appl) in (11i)
$ORACLE_HOME/appsutil/clone/bin/.pl (for Oracle) in (11i)
• Template files:-
$FND_TOP/admin/template/ in (11i)
$AD_TOP/admin/template/
DBC files:-
$FND_TOP/ in (11i)
$INST_TOP/appl/fnd/12.0.0/ in (R12)
• AD Utilities:-
$AD_TOP/bin in (11i)
• FNDCPASS Utility:-
$FND_TOP/bin in (11i)
• Work Flow Load Utility:-
$FND_TOP/bin in (11i)
wdbsvr.app file:-
$IAS_ORACLE_HOME/Apache/modplsql/cfg
D, C, R. files:-
/u01/<SID>data/ In (11i)
/u01/db/apps_st/data/ In (R12)