OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

8,308 views

Published on

Presentation at Collaborate'11, Orlando, April 2011 on OBIEE 11g product architecture and internals. Delivered by Mark Rittman from Rittman Mead (http://www.rittmanmead.com)

Published in: Technology
1 Comment
2 Likes
Statistics
Notes
  • http://dbmanagement.info/Tutorials/OBIEE.htm
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
8,308
On SlideShare
0
From Embeds
0
Number of Embeds
28
Actions
Shares
0
Downloads
1,071
Comments
1
Likes
2
Embeds 0
No embeds

No notes for slide

OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

  1. 1. OBIEE11g Architecture, Components & Internals Mark Rittman, Director, Rittman Mead Collaborate’11, Orlando April 2011 T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  2. 2. Introductions • Mark Rittman, Co-Founder of Rittman Mead • Oracle ACE Director, specialising in Oracle BI&DW • 14 Years Experience with Oracle Technology • Regular columnist for Oracle Magazine • Author of forthcoming Oracle Press book on OBIEE 11g • Writer for Rittman Mead Blog : http://www.rittmanmead.com/blog • Email : mark.rittman@rittmanmead.com • Twitter : @markrittman T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  3. 3. Agenda • Overview of OBIEE 11gR1 • High-Level Product Architecture, and Role within Oracle Fusion Middleware 11g • The Oracle BI Domain, WebLogic Server, and the Oracle BI Instance • Use of Oracle Fusion Middleware and Oracle Database • Filesystem and Environment Changes • What do WebLogic and Enterprise Manager Do? • How do Diagnostics and Systems Metrics work with 11g? • How does the Systems API work? • Clustering & Multi-Tenancy T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  4. 4. Registrations now Open! BI Forum 2011, May 2011 • Brighton, UK, May 18-20th 2011 • Atlanta, GA, May 25-27th 2011 • Covers OBIEE, DW, EPM • Guest speakers including: ‣ Jeff McQuigg ‣ Kevin McGinley ‣ Jean-Pierre Dijcks ‣ Mike Durran ‣ Shyam Varan Nath ‣ Philippe Lions ‣ Emiel van Bockel • OBIEE 11g Masterclass with Mark Rittman and Tony Heljula • Full details at http://www.rittmanmead.com/biforum2011 T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  5. 5. Oracle Business Intelligence 11gR1 • The latest release of Oracle’s business intelligence platform • Derived from Siebel Analytics; second major Oracle release • Now at version 11.1.1.3 (hopefully 11.1.1.5 by the time of the BI Forum) • 11gR1 new features focused on manageability and middleware integration T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  6. 6. Key New Features introduced with OBIEE 11gR1 • New Fusion Applications / ADF look and feel for front-end components • WebLogic Server and Oracle Enterprise Manager • Some enhancements to the Oracle BI Repository • Action Framework • KPIs and Scorecards T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  7. 7. OBIEE 11g Basic Architecture • Overall system called an “Oracle BI Domain” • Made up of Java and non-Java components • Java components hosted in WebLogic Server 11g • Managed using OEM and WebLogic Admin Server • Supporting database schema for repositories, metadata T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  8. 8. Based on Fusion Middleware 11g Platform • Fully-integrated with Oracle Fusion Middleware 11g • Common security (Oracle Identity Management, Oracle Access Manager) • Built on WebLogic Server • Managed through Fusion Middleware Control (Enterprise Manager) • Built using multiple technologies including JDeveloper (ADF) T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  9. 9. Leveraging Oracle Fusion Middleware Technologies • OBIEE 11g leverages many Fusion Middleware 11g technologies ‣ WLS (WebLogic Server) ‣ OPMN (Oracle Process Manager and Notification Server) ‣ OPSS (Oracle Platform Security Services) ‣ DMS (Dynamic Monitoring System) ‣ ODL (Oracle Diagnostic Logging) ‣ JPS (Java Platform Security) ‣ CSF (Credential Store Framework) ‣ OPATCH / OPACK ‣ UA (Upgrade Assistant) ‣ RCU (Repository Creation Assistant) T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  10. 10. OBIEE 11g System Components, Java Components and OPMN • OBIEE components divided into System and Java components • System components are still C/C++ executables, are controlled by OPMN, and are managed by Fusion Middleware Control • Java Components are JEE applications, are installed in the managed server, and are controlled by FMW Control T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  11. 11. 11g Architecture Compared to 10g Architecture • Main difference is wrapping components in WLS platform and EM management • Individual servers, components are still the same (BI Server, Presentation Server, BI Publisher J2EE application etc) • Some reworking has taken place in 11gR1 (unified logging, management of config files using EM etc) • Basic concepts, plus clustering (OBIEE), scheduling etc are the same as in 10g Web Server SAW Bridge (J2EE/ISAPI) Web Browser (IIS, Tomcat, Websphere, iPlanet) XML, HTML, Javascript XLS, PDF, TXT for Usability & Interactivity Oracle BI Publisher Oracle BI Presentation Services TCP/IP (SSL) over HTTP/HTTPS Delivery Server SOAP Web Services, XML and URL Interface Web Catalog Layout Interfaces Service Oracle Interactive Oracle Answers Dashboards Data Logic HTML, SOAP XSL XML User Profiling, Security and Session Mngmt over Framework HTTP/HTTPS Cache Services (Web) & Connection Mngmt External Applications and Portals ODBC over TCP/IP (SSL) Oracle Delivers Server Oracle BI Server TCP/IP Scheduling/Event Services (SSL) Logical SQL ODBC/JDBC (Logical Business Model) vs Agent Execution Logic Load Balancer Metadata Interchange Device Adaptive Content Session Management Intelligent Request Generation Oracle BI Administration . Logical Request Generation Oracle BI Cache Cluster Controller Navigator Security Services Services Query Govern. Metadata Management Services Multi-Pass / Sub-Request Logic Multi-User Development Services System / Perf Monitoring Fragmentation Externalized Optimization Metadata Documentation Services Authentication Aggregate Server Management Services LDAP Navigator DB Authentication Optimized Query Rewrites Custom Authenticator Execution Engine Data Source Adapters ODBC, CLI, OCI, XML, MDX Analytical and Operational Data Sources T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  12. 12. Oracle WebLogic Server 11g • J2EE Application Server used for hosting OBIEE 11g Java components ‣ Plays role performed by OC4J/OAS in 10g version • Managed using the WebLogic Administration Server ‣ Weblogic Server Administration Console ‣ Fusion Middleware Control ‣ JMX MBeans (programmatic access to BI Domain) • OBIEE Java components held in (n) Managed Servers • System Components Managed by Fusion Middleware Control, but exist outside of WLS domain T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  13. 13. Node Manager • Used for stopping and starting distributed Managed Servers • Java utility that runs as a separate process from WebLogic Server • Can also restart managed servers that have crashed • The equivalent of OPMN, but for Java components • Usually must be running as a service for full start of OBIEE 11gR1 T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  14. 14. Oracle Process Manager and Notification Server • Used for distributed process start/stop/restart • Process recovery (optional), process “ping” • Managed via EM, or from command line • Can also be used for performance collection (DMS) • Required on every OBIEE server C:MiddlewareOracle_BI1opmnbin>opmnctl status • Standard FMW process Processes in Instance: instance1 control tool ---------------------------------+--------------------+---------+--------- ias-component | process-type | pid | status ---------------------------------+--------------------+---------+--------- coreapplication_obiccs1 | OracleBIClusterCo~ | 3364 | Alive coreapplication_obisch1 | OracleBIScheduler~ | 1012 | Alive coreapplication_obijh1 | OracleBIJavaHostC~ | 4400 | Alive coreapplication_obips1 | OracleBIPresentat~ | 2092 | Alive coreapplication_obis1 | OracleBIServerCom~ | 5040 | Alive T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  15. 15. The WebLogic Domain • Each OBIEE 11g Oracle BI Domain contains a single WebLogic Domain • Contains one Admin Server, and at the start, one Managed Server ‣ Can add managed servers through Horizontal Scaleout • WebLogic Domain administered through Admin Console, and WLST (Weblogic scripting) • Managed servers can be started manually, or through Node Manager T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  16. 16. The Oracle Instance • A collection of System Components, spread over one or more physical servers • Managed together using OPMN (instances are OPMN organisational units) • Starts with one of each system component, on the initial server ‣ Can be added to by use of Vertical Clustering T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  17. 17. Oracle Enterprise Manager Fusion Middleware Control • Manage System Components (BI Server, BI Presentation Server etc) • Start, Stop and Restart all System Components and Managed Servers • Configure Preferences and Defaults • Scale out System Components • Performance Monitoring and Diagnostics T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  18. 18. Core OBIEE Components Still Play Same Role • Once you “strip away” all of the middleware components, OBIEE 11g still works in fundamentally the same way as OBIEE 10g ‣ Users queries via the Presentation Server ‣ The Oracle BI Server converts these queries to physical SQL/MDX, via the Oracle BI Repository ‣ Queries are passed to the underlying physical databases and OLAP cubes ‣ Data returned to users in the form of dashboards and reports T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  19. 19. Oracle BI Server Still Works as the “Analytic Middleware” • Parses incoming logical SQL queries • Uses the navigator to generate optimized physical queries • Manages the query cache • Handles row and subject-area security • Provides load-balancing information to the Cluster Controller • But now delegates authorization/ authentication to Fusion Middleware T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  20. 20. OBIEE 11g Security and Oracle Fusion Middleware 11g • OBIEE 11g delegates security to Oracle Fusion Middleware 11g ‣ Leverages Oracle Platform Security Services • Users and Groups in RPD now moved to embedded WLS LDAP Server ‣ RPD and Webcat groups replaced by Applications FMW11g Application Roles • Comprehensive SSL and Credentials Management Middleware • Encrypted RPD, plus optional report encryption and watermarking Database • Flexible authorization model through WLS and OPSS Infrastructure & Management • Still backwards compatible with LDAP model in OBIEE 10g T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  21. 21. Oracle Platform Security Services • Standards-based, portable, integrated enterprise-grade security framework • Underlying security platform that provides security to Fusion Middleware 11g • Abstraction layer in the form of API that insulate applications from security infrastructure T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  22. 22. Common OBIEE 11g Architecture & Internals Questions • What is the new directory structure for an OBIEE installation (and why are there so many duplicated directories?) • What does Oracle WebLogic Server actually do? • What does Oracle Enterprise Manager Do? ‣ And What Happens When I Press the “Activate” Button? • How Does Logging Now Work in OBIEE 11g? What is ODL and DMS? • Where Does EM and WLS Keep Its Settings? What “Secret” Files Are There? • So How Does the Systems Management API Work? • What’s the Difference Between WebLogic and OBIEE Clustering? • Can You Run Multiple RPDs and Webcats on the Same OBIEE11g Box? • How Has Change Management Changed? T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  23. 23. OBIEE 11g Directory Structure • Binaries in the BI Oracle Home • Configuration files (RPD, config files, diagnostics, WebCat) in the BI Instance Home • WLS binaries in the WL Home • WLS domain files in Domain Home • Separation of binaries from configuration/instance files T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  24. 24. Why So Many Duplicated Directories? • Throughout the /instances/instancen sub-directory structure, there are lots of duplicated directories for BI Server, PS etc • These are for the System Components ‣ One per system component ‣ Divides config files, repositories etc into subfolders, one for each component • Found under the following /instancen folders ‣ /bifoundation : for RPD, webcat etc ‣ /config : for NQSConfig.INI etc ‣ /diagnostics : for logs etc ‣ /tmp : for logs etc T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  25. 25. What Does Oracle WebLogic Server Do? • Oracle WebLogic Server, along with Oracle Fusion Middleware 11g, provides the following key areas of functionality ‣ Hosts the Oracle BI Analytics plugin (as per OC4J and IIS in OBIEE 10g) ‣ Hosts the other java components ‣ Provides the host platform for Oracle Fusion Middleware 11g ‣ Provides the LDAP server, and other security “stores” for the OPSS security providers ‣ Hosts the WLS Admin Server and EM Fusion Middleware Control T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  26. 26. What Does Oracle Enterprise Manager Do? • Enterprise Manager uses the OBIEE 11g Systems Management API to perform administration tasks ‣ You can also use this API through WLST scripting, or through Java code • Uses a set of JMX MBeans (Java Management Extensions) to perform tasks ‣ MBeans are Managed Beans, Java utilities that have properties and methods ‣ Every EM task has a corresponding MBean method ‣ Some MBeans have yet to be exposed through EM T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  27. 27. The MBean Browser • The list of OBI 11g administration MBeans can be viewed in the MBean Browser • Using EM, right-click on the AdminServer, then select farm_bifoundation_domain > Weblogic Domain > bifoundation_domain > MBean Browser • OBI11g entries under several headings: ‣ oracle.biee.admin - ServerConfigurationMBean - BIDomainMBean - BIInstanceMBean - BILogConfigurationMBean etc ‣ oracle.biee.local ‣ oracle.as.management.mbeans.opmn T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  28. 28. The MBean Browser • The list of OBI 11g administration MBeans can be viewed in the MBean Browser • Using EM, right-click on the AdminServer, then select farm_bifoundation_domain > Weblogic Domain > bifoundation_domain > MBean Browser • OBI11g entries under several headings: ‣ oracle.biee.admin - ServerConfigurationMBean - BIDomainMBean - BIInstanceMBean - BILogConfigurationMBean etc ‣ oracle.biee.local ‣ oracle.as.management.mbeans.opmn T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  29. 29. What Happens When You Press “Activate”? • So what happens, for example, when you press Apply and Activate within EM ‣ For example : Uploading a new Oracle BI Repository (RPD file) online • What MBeans are called? What files are updated? • And can we then script this? T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  30. 30. EM, Beans & RPD Uploads : Step 1 • User presses Lock and Edit Configuration button within EM Deployments > Repository page • This operation uses the BIDomainMBean MBean T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  31. 31. EM, Beans & RPD Uploads : Step 1 • User presses Lock and Edit Configuration button within EM Deployments > Repository page • This operation uses the BIDomainMBean MBean T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  32. 32. The BIDomainMBean • Main MBean type for managing Oracle BI Domain configuration state • Methods for locking, rolling back, committing changes to the domain • lock method is called to perform the Lock and Edit Configuration step T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  33. 33. The BIDomainMBean • Main MBean type for managing Oracle BI Domain configuration state • Methods for locking, rolling back, committing changes to the domain • lock method is called to perform the Lock and Edit Configuration step T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  34. 34. EM, Beans & RPD Uploads : Step 2 • Within EM, enter the name and path to the RPD file, and the password • Then press the Apply button to save the changes • This operation uses the ServerConfigurationMBean MBean T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  35. 35. EM, Beans & RPD Uploads : Step 2 • Within EM, enter the name and path to the RPD file, and the password • Then press the Apply button to save the changes • This operation uses the ServerConfigurationMBean MBean T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  36. 36. The ServerConfigurationMBean Type • Another MBean type within the oracle.biee.admin MBean • Used for managing the server configuration (i.e. uploading an RPD) • uploadRepository method is called to record name and path to RPD T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  37. 37. The ServerConfigurationMBean Type • Another MBean type within the oracle.biee.admin MBean • Used for managing the server configuration (i.e. uploading an RPD) • uploadRepository method is called to record name and path to RPD T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  38. 38. Generating the RPD File Name and Sequence Number • OBIEE 11g adds a sequence number to each RPD, to provide “versioning” • Obtained from the DataZipFileVersion attribute from the oracle.biee.local:Location=bi_server1,type=DomainConfigProxy, group=Config MBean] • RPD file properties are then available in the ServerConfiguration MBean T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  39. 39. Generating the RPD File Name and Sequence Number • OBIEE 11g adds a sequence number to each RPD, to provide “versioning” • Obtained from the DataZipFileVersion attribute from the oracle.biee.local:Location=bi_server1,type=DomainConfigProxy, group=Config MBean] • RPD file properties are then available in the ServerConfiguration MBean T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  40. 40. EM, Beans & RPD Uploads : Step 3 • In EM, you would then press the Activate button • This leads to the configuration files being updated, and the RPD uploaded • This operation uses the BIDomainMBean MBean again T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  41. 41. Activating the Change • Activate causes the commit method to be called with the BIDomainMBeanMBean • A constant value (for example, ERROR) has to be passed to specify the degree to which errors will be allowed T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  42. 42. Activating the Change • Activate causes the commit method to be called with the BIDomainMBeanMBean • A constant value (for example, ERROR) has to be passed to specify the degree to which errors will be allowed T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  43. 43. Updated Configuration Files, and File Transfer • Pressing Activate / calling the commit method will trigger several actions ‣ Updating the biee-domain.xml central configuration file ‣ Updating the NQSConfig.INI Oracle BI Server configuration file ‣ Transferring the RPD via the biee-data.zip archive file ‣ Copying the RPD password to the credential store T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  44. 44. RPD Password Stored in the Credential Store • All repository passwords (that have been taken online) are also stored in the Credential Store through the Activate / commit method • Required so that the BI Server can get access to the RPD contents T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  45. 45. EM, Beans & RPD Uploads : Step 4 • After the changes have been made, you need to restart the Oracle BI Server ‣ System components need to be restarted to pick up configuration changes • Actioned through Overview or Capacity Management > Availability tabs in EM T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  46. 46. The OPMN MBean • The oracle.as.management.mbeans.opmn MBean has methods for OPMN ‣ Stop, Start, Restart; Create, delete component; Get status ‣ Can run for single component, component group or all components T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  47. 47. The OPMN MBean • The oracle.as.management.mbeans.opmn MBean has methods for OPMN ‣ Stop, Start, Restart; Create, delete component; Get status ‣ Can run for single component, component group or all components T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  48. 48. So Can This All Be Scripted? • All calls to MBeans can be scripted through WLST • Command-line tool using Jython as the scripting language connect("weblogic","welcome1","localhost:7001") domainCustom() cd (oracle.biee.admin) cd (oracle.biee.admin:type=BIDomain,group=Service) biinstances = get(BIInstances) biinstance = biinstances[0] cd (..) cd (oracle.biee.admin:type=BIDomain,group=Service) objs = jarray.array([],java.lang.Object) strs = jarray.array([],java.lang.String) invoke(lock,objs,strs) cd(..) T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  49. 49. So Can This All Be Scripted? • All calls to MBeans can be scripted through WLST • Command-line tool using Jython as the scripting language connect("weblogic","welcome1","localhost:7001") domainCustom() cd (oracle.biee.admin) cd (oracle.biee.admin:type=BIDomain,group=Service) biinstances = get(BIInstances) biinstance = biinstances[0] cd (..) Lock method cd (oracle.biee.admin:type=BIDomain,group=Service) objs = jarray.array([],java.lang.Object) strs = jarray.array([],java.lang.String) • Create lock on Oracle BI invoke(lock,objs,strs) Domain, prior to configuration cd(..) change T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  50. 50. WLST Script Continued cd (biinstance.toString()) biserver = get(ServerConfiguration) cd(..) cd(biserver.toString()) ls() argtypes = jarray.array ([java.lang.String,java.lang.String],java.lang.String) argvalues = jarray.array([C:/SampleAppLite.rpd,Admin123],java.lang.Object) invoke(uploadRepository,argvalues,argtypes) cd(..) cd(oracle.biee.admin:type=BIDomain,group=Service) objs = jarray.array([],java.lang.Object) strs = jarray.array([],java.lang.String) invoke(commit,objs,strs) T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  51. 51. WLST Script Continued cd (biinstance.toString()) biserver = get(ServerConfiguration) uploadRepository Method cd(..) cd(biserver.toString()) ls() • Obtain next RPD sequence no. argtypes = jarray.array • Copy the RPD name and ([java.lang.String,java.lang.String],java.lang.String) password into the MBean argvalues = jarray.array([C:/SampleAppLite.rpd,Admin123],java.lang.Object) properties invoke(uploadRepository,argvalues,argtypes) cd(..) cd(oracle.biee.admin:type=BIDomain,group=Service) objs = jarray.array([],java.lang.Object) strs = jarray.array([],java.lang.String) invoke(commit,objs,strs) T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  52. 52. WLST Script Continued cd (biinstance.toString()) biserver = get(ServerConfiguration) cd(..) cd(biserver.toString()) ls() argtypes = jarray.array ([java.lang.String,java.lang.String],java.lang.String) argvalues = jarray.array([C:/SampleAppLite.rpd,Admin123],java.lang.Object) invoke(uploadRepository,argvalues,argtypes) cd(..) cd(oracle.biee.admin:type=BIDomain,group=Service) objs = jarray.array([],java.lang.Object) strs = jarray.array([],java.lang.String) invoke(commit,objs,strs) T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  53. 53. WLST Script Continued cd (biinstance.toString()) biserver = get(ServerConfiguration) cd(..) cd(biserver.toString()) ls() argtypes = jarray.array ([java.lang.String,java.lang.String],java.lang.String) argvalues = jarray.array([C:/SampleAppLite.rpd,Admin123],java.lang.Object) invoke(uploadRepository,argvalues,argtypes) commit Method cd(..) cd(oracle.biee.admin:type=BIDomain,group=Service) objs = jarray.array([],java.lang.Object) • Activate configuration changes strs = jarray.array([],java.lang.String) • Upload the RPD invoke(commit,objs,strs) • Update config files • Store password in Credstore T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  54. 54. How Have Diagnostics and Logging Changed? • OBI 11g uses DMS (Dynamic Monitoring Services) to record key system metrics ‣ Metrics and counters accessed via MBeans • OBI 11g logging is still carried out to nqserver.log, nqquery.log • Logs are now aggregated and parsed through ODL (Oracle Diagnostic Logging0 • Logs can now be viewed in aggregate using the Log Viewer ‣ Enterprise Manager > Capacity Management > Diagnostics T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  55. 55. The Log Viewer • On the Capacity Management > Diagnostics page on EM • Click on individual log name, or click Log Viewer to search all logs T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  56. 56. The Log Viewer • On the Capacity Management > Diagnostics page on EM • Click on individual log name, or click Log Viewer to search all logs T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  57. 57. The Log Viewer • On the Capacity Management > Diagnostics page on EM • Click on individual log name, or click Log Viewer to search all logs Messages List • Most recent errors or warnings • Headline details T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  58. 58. The Log Viewer • On the Capacity Management > Diagnostics page on EM • Click on individual log name, or click Log Viewer to search all logs T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  59. 59. The Log Viewer • On the Capacity Management > Diagnostics page on EM • Click on individual log name, or click Log Viewer to search all logs Error Details • Error message • Supplemental details • ECID • Component name T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  60. 60. The Log Viewer • On the Capacity Management > Diagnostics page on EM • Click on individual log name, or click Log Viewer to search all logs T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  61. 61. The Log Viewer • On the Capacity Management > Diagnostics page on EM • Click on individual log name, or click Log Viewer to search all logs Search Tools • Search by name, ECID • Headline details • Message type • Date range T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  62. 62. Adding / Removing Log Targets • By default, individual log views focus on a single log • You can broaden scope by adding / removing log targets ‣ ECID searches automatically include all log targets T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  63. 63. Adding / Removing Log Targets • By default, individual log views focus on a single log • You can broaden scope by adding / removing log targets ‣ ECID searches automatically include all log targets T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  64. 64. Execution Context IDs • Every client “transaction” is assigned an Execution Context ID (ECID) • Log entries are “stamped” with the ECID, to enable tracing across components • Can be seen in plain-text in log files, or searched for using Log Viewer T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  65. 65. Execution Context IDs • Every client “transaction” is assigned an Execution Context ID (ECID) • Log entries are “stamped” with the ECID, to enable tracing across components • Can be seen in plain-text in log files, or searched for using Log Viewer T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  66. 66. Clustering in OBIEE 11g • OBIEE 11g Domains can be scaled-out (horizonal clustering) and/or scaled-up (vertical clustering) • Adds resilience, reduces single points of failure • Allows OBIEE systems to take advantage of more/larger hardware • Installer sets up single-node OBIEE 11g Domain; cluster can then be extended out and upwards using EM and Universal Installer T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  67. 67. Vertical Scaleout of System Components • Spare capacity on an individual host can be used by adding additional system components • Can add additional BI Servers, Presentation Servers and Java Hosts • Useful for resilience, and usage of spare capacity ‣ Doesn’t protect against the whole server failing though T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  68. 68. Horizontal Scaleout of Java Components • Used for adding additional managed servers (Java components) and system components to an existing cluster • Used for scalability and failover • Set up via the Universal Installer > Scale Out BI System option T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  69. 69. WebLogic Clustering vs. OBIEE Clustering • Vertical clustering uses just OBIEE clustering features (Cluster Controller) ‣ Cluster controller routes queries to clustered BI Server ‣ Presentation Server, Cluster Controller, Java Host and Scheduler can also be clustered (active/active and active/passive) • Horizontal clustering uses WebLogic clustering ‣ Uses MBean method to pack/unpack domain and clone to separate server ‣ Does not itself use/require OBIEE clustering ‣ Does require WebLogic Server EE license T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  70. 70. So ... Can We Run Multiple RPDs and Webcats on a Single Box? • No (or at least, we’ve not got it working) • Internal restrictions within OBIEE 11.1.1.3 that stops complete isolation of RPD / webcat pairs • Possibly coming (“Multi-Tenancy”) in OBIEE 11.1.1.5/6? • Otherwise, need to multiple Middleware Home installations T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  71. 71. Summary • OBIEE11g has had a major architectural overhaul, adopting FMW11g technologies • Core servers stay the same, but new middleware “wrapper” • Uses WebLogic for J2EE application hosting, security, integration • Major security enhancements and changes • Enterprise Manager used for systems managemnet • WLST scripting can be used for process automation • EM and WLST both leverage MBeans for modularized administration • Clustering now extends to WebLogic clustering for horizontal scale-out • Diagnostics leverage MBeans and ODL for cross-node diagnostics and metrics T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  72. 72. More Information • Thank you for attending this presentation • More information can be found at http://www.rittmanmead.com • Contact us at info@rittmanmead.com or mark.rittman@rittmanmead.com • Look out for our book, “Oracle Business Intelligence Developers Guide” due Q1 2012 • Follow-us on Twitter (@rittmanmead) or Facebook (facebook.com/rittmanmead) T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011
  73. 73. OBIEE11g Architecture, Components & Internals Mark Rittman, Director, Rittman Mead Collaborate’11, Orlando April 2011 T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.comWednesday, 20 April 2011

×