Oracle Applications 11i Concepts I Brian Hitchcock OCP 11i DBA -- OCP 10g DBA Sun Microsystems brian.hitchcock@sun.com brhora@aol.com Brian Hitchcock February 10, 2008 www.brianhitchcock.net Page 1 Presentation is Available www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 2 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 3 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 4 What is Oracle Applications? Oracle Applications is: – – Also called Oracle E-Business Suite (EBS) Huge, takes 100Gb just to install Doesn’t include database data or staging area – – Multiple business applications System of record Can’t remove users for example – – – Built on top of Oracle database (RDBMS) A mess, you’ll never control it Great job security You don’t have to be crazy, but you soon will be… www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 5 Why Use Oracle Applications? Businesses have (or had) – Multiple business application systems Peoplesoft for HR Siebel for CRM (Customer management) Other apps for orders, manufacturing etc. ERP (Enterprise Resource Planning) – – Provide single system for all business apps One system of record Latest trend is a single global instance www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 6 What is ERP? From wikipedia Enterprise Resource Planning (ERP) systems attempt to integrate all data and processes of an organization into a unified system. A typical ERP system will use multiple components of computer software and hardware to achieve the integration. A key ingredient of most ERP systems is the use of a unified database to store data for the various system modules. www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 7 Oracle EBS Products Each business application is a ‘product’ Oracle Assets Oracle General Ledger Oracle Payables Oracle Receivables Oracle Cash Management Oracle Bills of Material Oracle Capacity Oracle CRM Oracle Advanced Planning & Scheduling Oracle Purchasing Oracle Business Intelligence Oracle Engineering Oracle HRMS Oracle Inventory Oracle MRP Oracle Order Entry Oracle Order Fulfillment Oracle Payroll Oracle Project Costing Oracle Project Billing Oracle Purchasing Oracle TMS Oracle Work in Process. Oracle Process manufacturing. www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 8 Oracle Applications Modules Business applications – – – – – – – Referred to as module or product Have two or three letter short names General Ledger – GL Accounts Receivable – AR Advanced Pricing – QP Configurator – CZ Each has a database schema Db schema name is application short name Db user for each application Db user APPS has access to all applications schemas www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 9 Oracle Applications Older applications – – – Oracle calls them “Professional” Based on Oracle Forms Need JDK plugin to render forms Newer applications – – Oracle calls them “Self-Service” Browser based Eventually, all apps will be browser based www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 10 Technical vs Functional Person No one knows all of Oracle Applications – Don’t say you do in an interview Technical – – – Database, configuration, patching Infrastructure How to stop/start the applications tier processes? Functional – – Business process of a product/module How does General Ledger handle period close? www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 11 History of Oracle Applications Major Versions – 10.7 Character based client, no java, database 7.3.4 – 11.0.x GUI client, no java in database (8.0.5) – 11.5.x (known as 11i) GUI client, java, database 8.1.6 thru 10g – 12.x Latest version, java, database 10g/11g www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 12 History of Oracle Applications Versions, number of products, number of objects – – – – – – – – – 10.7 40 products, 25,000 objects 11.0.x 50 products, 30,000 objects 11.5.5 161 products, 200,000 objects (first version of 11i) 11.5.6 175 products, 240,000 objects 11.5.7 179 products, 280,000 objects 11.5.8 191 products, 278,000 objects 11.5.9 191 products, 308,000 objects 11.5.10 209 products, 268,000 objects 11.5.10.2 211 products, 284,000 objects From Installing, Upgrading and Maintaining Oracle E-Business Suite Applications 11.5.10+, Barbara Matthews et al www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 13 Where Do You Fit In? 11.5.10.2 -- 211 products, 284,000 objects Each product is a business application All products need patching – Patching becomes a full-time job Each product has new features Many products are shared – – Multiple dependencies Order management linked to General Ledger www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 14 11i Architecture At a high level we have Tiers – (you will cry a lot while you support them) Desktop Tier – User client Application Tier – Lots of servers, more later Database Tier – Oracle RDBMS www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 15 Tiers Client Desktop Tier Application Tier Database Tier Web Server Forms Server Web Browser Concurrent Processing Server Database Server Reports Server Admin Server Discover Server www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 16 Single Node Client Desktop Tier Single Server – Single Node Application Tier Database Tier Web Server Forms Server Web Browser Database Server Concurrent Processing Server Reports Server Admin Server APPL_TOP Discover Server www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 17 Two Server – Dual Node Two NodesApp Tier Server Application Tier Db Tier Server Database Tier Web Server Database Server Forms Server Client Desktop Tier Web Browser Reports Server Application Tier Admin Server Discover Server APPL_TOP Concurrent Processing Server APPL_TOP www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 18 Two Nodes – Shared APPL_TOP App Tier Server Application Tier Db Tier Server Database Tier Web Server Database Server Forms Server Client Desktop Tier Web Browser Reports Server Application Tier Admin Server Concurrent Processing Server Discover Server APPL_TOP www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 19 Desktop Tier Browser – – – HTML for newer self-service applications Java applet for forms-based applications Must not block popup windows Applet – – – Forms client applet Requires JVM to run inside browser Oracle JVM implemented as browser plug-in JInitiator Must have specific plug-in/JRE version - Configured at installation or through patching - Mozilla versus Firefox www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 20 Application Tier Multiple servers – Web Server Based on Apache – – – – – Forms server Reports server Concurrent Processing server Admin server Discoverer server optional www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 21 Application Tier For each of these servers – – – – – – – start/stop scripts Log files Configuration files Software patches Version information Troubleshooting procedures Bugs (no! really?) www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 22 Application Tier Servers Web server – Must be running to serve Web-based self-service applications Oracle Applications login screen (web page) Forms server – Must be running to serve forms-based applications Reports server – – – Handles user requests for reports Retrieves data from db and formats report Sends report output to client browser www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 23 Application Tier Servers Concurrent Processing server – – – Glorified batch processing Process long running queries in background Schedule jobs Work shifts Conflict resolution – Concurrent requests Execute concurrent programs Executed by concurrent managers www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 24 Types of Concurrent Managers Internal concurrent manager – Controls all other concurrent managers Standard concurrent manager – Process most concurrent requests Specialized concurrent manager – – Modified for special needs Assigned to selected concurrent programs www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 25 Application Tier Servers Admin server – – Not really a server Collection of Applications DBA tools Hence the AD in the names of the utilities – Adadmin Set maintenance mode required for patching Recompile applications database schemas – Adpatch Apply applications patches – Adconfig Apply configuration changes to multiple products www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 26 Application Tier Servers Discoverer server (isn’t Disco dead?) – – – Part of Oracle Application Server Part of Oracle business intelligence (BI) Hides complexity of database Maps db schemas to business user terms – Supports ad-hoc query reporting Users can bring system to a crawl… – Predefined reports Standardize reporting across organization www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 27 Database Tier Oracle database – APPS database user Can access all product data Doesn’t own product tables, indexes, sequences Has grants synonyms to product schemas – Applications users Separate and distinct from database users FND_USER table, DBA_USERS table Change passwords carefully www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 28 Applications Database APPS database user has grants synonyms to database schemas APPLSYS, GL, INV, AP and all other products APPLSYS GL GL tables GL indexes GL sequences AOL tables AOL indexes AOL sequences INV INV tables INV indexes INV sequences ALR tables ALR indexes ALR sequences Grants and synonyms AD tables AD indexes AD sequences APPS AOL code objects ALR code objects AD code objects etc, GL packages GL views GL procedures GL functions GL triggers AP AP tables AP indexes AP sequences INV packages INV views INV procedures INV functions INV triggers AP packages AP views AP procedures AP functions AP triggers www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 29 Applications Db Tablespaces Before 11.5.10 – Each product had two tablespaces Tables, indexes – 200 products, 400 tablespaces As of 11.5.10 – – Oracle Applications Tablespace Model (OATM) 12 tablespaces total www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 30 Applications Db Tablespaces APPS_TS_TX_DATA -- transactional data APPS_TS_TX_IDX – transactional indexes APPS_TS_SEED – seed data, reference data APPS_TS_INTERFACE – interface tables APPS_TS_SUMMARY – summary objects APPS_TS_NOLOGGING – temporary objects APPS_TS_QUEUES – advanced queuing APPS_TS_MEDIA – graphics, spatial data APPS_TS_ARCHIVE – obsolete tables for compatibility UNDO – undo tablespace TEMP – temporary tablespace SYSTEM – system tablespace www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 31 Tiers and Servers Single tier installation – App tier servers and database on single machine Multiple tier installation – – – – – Database on one machine App tier servers on one or more machines Load balancing HA More complicated www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 32 Traditionally Concurrent processing, db on same server – – Concurrent processing uses database heavily Reduce network latency Other servers on apps tier server – May have multiple apps tiers for load balancing Today – – – Network performance is better Apps tier, db tier servers in datacenter Concurrent processing can be on apps tier server Only need to patch once www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 33 What Does It Look Like? Login to Oracle Applications – – – See user responsibilities Select responsibility Bring up Form based application - Users form Web based application - Oracle Applications Manager www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 34 Login to Oracle Applications www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 35 Login to Oracle Applications www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 36 Login to Oracle Applications www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 37 Login to Oracle Applications HTML Based Forms Based www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 38 Login to Oracle Applications www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 39 Login to Oracle Applications www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 40 Login to Oracle Applications www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 41 Login to Oracle Applications www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 42 Login to Oracle Applications www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 43 Login to Oracle Applications www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 44 Login to Oracle Applications www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 45 Solution Beacon Provides Oracle Applications environments – – – You can access for free Must create an account with CSI number www.solutionbeacon.com Works from IE7 – – Had to de-install all Java, JRE etc. Had to de-install Windows Media Player Metalink Doc Id. 430359.1 – When you click on form JInitiator downloaded and installed www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 46 Solution Beacon www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 47 Solution Beacon www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 48 Solution Beacon www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 49 Solution Beacon www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 50 Solution Beacon www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 51 Solution Beacon www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 52 Solution Beacon www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 53 Solution Beacon www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 54 Solution Beacon www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 55 Solution Beacon www.brianhitchcock.net Brian Hitchcock February 10, 2008 Page 56