Professional Documents
Culture Documents
Brian Hitchcock
OCP 11i DBA -- OCP 10g DBA
Sun Microsystems
brian.hitchcock@sun.com
brhora@aol.com
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 4
Contents
Oracle Applications Concepts I
– What is Oracle Applications?
– 11i Architecture
– Oracle Application Tiers
– Login to Oracle Applications
– Online Oracle Application environments
Oracle Applications Concepts II
– 11i Applications Filesystem
– Applications DBA utilities
– Database DBA vs 11i DBA
– Backups
– Resources
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 5
Focus
Generic Oracle Applications concepts
Not tied to specific installation(s)
Provide background for how Apps works
Help with support tasks in general
Technical
– how it works
– how to make it go
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 6
11i Applications File System
$APPL_TOP
– Top directory for all Oracle Application software
– Contains $PROD_TOP for each product
– Applications patches make changes in
APPL_TOP
Environment variables setup at login
– Environment files
Can be shared (shared APPL_TOP)
– NFS mounted filesystem
– Shared by two or more application tier servers
– Apply patches once for all application tiers
– Single point of failure
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 7
11i Applications File System
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 8
11i Database File System
Database has
– ORACLE_HOME
ORACLE_HOME for database
Database software
– /oradata01-05
Database tablespace datafiles
Three ORACLE_HOMES
– When applying applications patches
Patch applied in 8.0.6 ORACLE_HOME
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 9
Environment Files
Many pieces of software
All need to be configured
Many environment variables to be setup
How is this done?
– Overall configuration file
– <context>.xml
Context is <SID>_<hostname>
Stored in $APPL_TOP/admin
– Multiple environment files sourced at login
Stored in $APPL_TOP
APPSORA.env – calls other environment files
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 10
OS Users
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 11
11i AutoConfig
Many configuration files
– Changes required manually editing multiple files
Tedious, error prone
Autoconfig utility
– Automates most configuration tasks
– Make changes to context file
– Execute autoconfig
– Changes propagated to configuration files
Doesn’t handle customizations
– May overwrite non-standard modifications
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 12
11i Cloning
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 13
11i Patching
Never ending process
Applications patches applied with adpatch
– Some database patches applied with opatch
– Must be in maintenance mode to apply patch (11.5.10)
– Patch can’t be removed
Only recourse is to recover from filesystem backups
Patches change product software
Patches change database objects
Applied patches recorded in database
– Database must be running while patch applied
– Applications tier processes down while patching
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 14
11i Applications Manager
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 15
Database DBA vs 11i DBA
Users
– Oracle Database Users
Access database (SQL*Plus, etc)
Have specific privileges on database objects
Stored in DBA_USERS table
– Oracle Application Users
Don’t access the database directly
Don’t have privileges on database objects
Have responsibilities in Oracle Applications
Access db through APPS db user
Access limited by responsibilities
Stored in FND_USER table
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 16
Database DBA vs 11i DBA
Administrator
– Database
SYS, SYSTEM, db user with DBA role
– Oracle Applications
SYSADMIN
User with System Administrator responsibility
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 17
Database DBA vs 11i DBA
Privileges vs Responsibilities
Database privileges
– Granted on specific db objects
– Granted to specific db users or roles
Oracle Applications responsibilities
– Assigned to Oracle Applications users
– Allow access to groups of db objects
– Access is through APPS db user
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 18
Database DBA vs 11i DBA
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 19
Database DBA vs 11i DBA
Multiple ORACLE_HOMEs
For database DBA
– Single ORACLE_HOME
For Oracle Applications
– Three ORACLE_HOMEs
Database
8.0.6 for Oracle Forms
iAS Web Server (Apache)
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 20
Backups
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 21
Backups
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 22
Backups
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 23
Backups
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 24
Backups
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 25
Backups
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 26
Backups – DR Systems
How to keep DR system in synch?
– Database
Apply redo logs from primary
Keep DR database up with primary db
– Applications code tree
No equivalent to database redo logs
Need to refresh DR code tree from primary
How to do this?
How often to do this?
How far behind db can code tree for DR?
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 27
Resources
Oracle Documents
– Oracle Technology Network -- otn.oracle.com
Oracle Technical Support
– Metalink -- metalink.oracle.com
Oracle online training
– www.oracle.com/education/oln
Oracle University training
– education.oracle.com
Solution Beacon
– Oracle Applications Environments
Books
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 28
Oracle Documents
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 29
Oracle Documents
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 30
Oracle Documents
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 31
Oracle Documents
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 32
Oracle Documents
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 33
Oracle Documents
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 34
Documentation
Technical Overview
– Oracle Applications Concepts
Release 11i (11.5.10.2)
Part No. B19295-03
– Available at
http://download.oracle.com/docs/cd/B25516_18/c
urrent/acrobat/11iconcepts.pdf
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 35
Oracle Technical Support
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 36
Oracle Technical Support
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 37
Oracle Technical Support
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 38
Oracle Online Training
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 39
Oracle Online Training
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 40
Oracle Online Training
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 41
Oracle Online Training
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 42
Oracle Online Training
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 43
Oracle University Training
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 44
Oracle University Training
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 45
Oracle University Training
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 46
Oracle University Training
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 47
Oracle 11i Books
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 48
Oracle 11i Books
www.brianhitchcock.net
Brian Hitchcock February 10, 2008 Page 49