+ All Categories
Home > Technology > OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

Date post: 27-Jan-2015
Category:
Upload: mark-rittman
View: 105 times
Download: 0 times
Share this document with a friend
Description:
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)
Popular Tags:
73
T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com Mark Rittman, Director, Rittman Mead Collaborate’11, Orlando April 2011 OBIEE11g Architecture, Components & Internals Wednesday, 20 April 2011
Transcript
Page 1: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

Mark Rittman, Director, Rittman MeadCollaborate’11, Orlando April 2011

OBIEE11g Architecture, Components & Internals

Wednesday, 20 April 2011

Page 2: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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 : [email protected]• Twitter : @markrittman

Wednesday, 20 April 2011

Page 3: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 4: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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 withMark Rittman and Tony Heljula

• Full details at http://www.rittmanmead.com/biforum2011

Wednesday, 20 April 2011

Page 5: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 6: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 7: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

OBIEE 11g Basic Architecture

• Overall system called an “Oracle BI Domain”

• Made up of Java and non-Javacomponents

• Java components hosted inWebLogic Server 11g

• Managed using OEM andWebLogic Admin Server

• Supporting database schemafor repositories, metadata

Wednesday, 20 April 2011

Page 8: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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)

Wednesday, 20 April 2011

Page 9: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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)

Wednesday, 20 April 2011

Page 10: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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 byFMW Control

Wednesday, 20 April 2011

Page 11: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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 (IIS, Tomcat, Websphere, iPlanet)

Oracle BI ServerOracle BI Server

Intelligent Request GenerationIntelligent Request Generation

Data Source AdaptersData Source Adapters

NavigatorNavigator

Logical Request GenerationLogical Request Generation

AggregateNavigator

FragmentationOptimization

Multi-Pass /Sub-Request Logic

Optimized Query RewritesOptimized Query Rewrites

Session ManagementSession Management

Met

adat

a In

ter c

h ang

eM

e ta d

ata

Inte

rch a

n ge

Logical SQL ODBC/JDBC (Logical Business Model)Logical SQL ODBC/JDBC (Logical Business Model)

CacheCacheServicesServices

Oracle BI AdministrationOracle BI Administration

Analytical and Operational Data Sources

Metadata Documentation ServicesMetadata Documentation Services

Metadata Management ServicesMetadata Management Services

Multi-User Development ServicesMulti-User Development Services

Server Management ServicesServer Management Services

ODBC over TCP/IP (SSL)

Sys

tem

/ S

yste

m /

Per

fP

e rf

Mo n

itorin

g M

onito

r ing

ODBC, CLI, OCI, XML, MDX

Oracle BI Presentation ServicesOracle BI Presentation ServicesSOAP Web Services, XML and URL InterfaceSOAP Web Services, XML and URL Interface

Cache Services (Web) & Connection Cache Services (Web) & Connection MngmtMngmt

XMLXMLFrameworkFramework

WebWebCatalogCatalogServiceService

User Profiling, Security and Session User Profiling, Security and Session MngmtMngmt

Oracle InteractiveOracle InteractiveDashboardsDashboards

Oracle AnswersOracle Answers

Load BalancerLoad Balancer

Security S

ervic esS

e cur i ty Ser vi ce s

Que ry G

ove rn .Q

u er y Go ver n.

TCP/IP(SSL)

Javascriptfor Usability & Interactivity

Web BrowserXML, HTML,

XLS, PDF, TXTover

HTTP/HTTPS

External Applications and Portals

HTML, SOAPover

HTTP/HTTPS

Execution EngineExecution Engine

SAW Bridge (J2EE/ISAPI)SAW Bridge (J2EE/ISAPI)

TCP/IP (SSL)Oracle BI PublisherOracle BI PublisherDelivery ServerDelivery Server

Layout InterfacesLayout Interfaces

Data LogicData LogicXSL

Externalized Authentication

LDAP

DB Authentication

Custom Authenticator

Oracle BIOracle BICluster ControllerCluster Controller

Oracle Delivers ServerOracle Delivers ServerScheduling/Event ServicesScheduling/Event Services

Agent Execution LogicAgent Execution Logic

Device Adaptive ContentDevice Adaptive Content

vs.

Wednesday, 20 April 2011

Page 12: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 13: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 14: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

• Standard FMW process control tool

C:\Middleware\Oracle_BI1\opmn\bin>opmnctl status

Processes in Instance: instance1---------------------------------+--------------------+---------+---------ias-component | process-type | pid | status---------------------------------+--------------------+---------+---------coreapplication_obiccs1 | OracleBIClusterCo~ | 3364 | Alivecoreapplication_obisch1 | OracleBIScheduler~ | 1012 | Alivecoreapplication_obijh1 | OracleBIJavaHostC~ | 4400 | Alivecoreapplication_obips1 | OracleBIPresentat~ | 2092 | Alivecoreapplication_obis1 | OracleBIServerCom~ | 5040 | Alive

Wednesday, 20 April 2011

Page 15: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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 bestarted manually, or throughNode Manager

Wednesday, 20 April 2011

Page 16: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 17: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 18: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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 theOracle BI Repository

‣ Queries are passed to the underlyingphysical databases and OLAP cubes

‣ Data returned to users in the form ofdashboards and reports

Wednesday, 20 April 2011

Page 19: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 20: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

FMW11g Application Roles• Comprehensive SSL and Credentials Management• Encrypted RPD, plus optional report encryption

and watermarking• Flexible authorization model through

WLS and OPSS• Still backwards compatible with

LDAP model in OBIEE 10g

Infrastructure & Management

Database

Middleware

Applications

Wednesday, 20 April 2011

Page 21: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 22: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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?

Wednesday, 20 April 2011

Page 23: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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 filesin Domain Home

• Separation of binariesfrom configuration/instance files

Wednesday, 20 April 2011

Page 24: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

Why So Many Duplicated Directories?

• Throughout the /instances/instancensub-directory structure, there are lots ofduplicated 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

Wednesday, 20 April 2011

Page 25: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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 securityproviders

‣ Hosts the WLS Admin Server and EM Fusion Middleware Control

Wednesday, 20 April 2011

Page 26: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 27: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 28: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 29: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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?

Wednesday, 20 April 2011

Page 30: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

EM, Beans & RPD Uploads : Step 1

• User presses Lock and Edit Configuration button within EM Deployments > Repository page

• This operation uses the BIDomainMBean MBean

Wednesday, 20 April 2011

Page 31: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

EM, Beans & RPD Uploads : Step 1

• User presses Lock and Edit Configuration button within EM Deployments > Repository page

• This operation uses the BIDomainMBean MBean

Wednesday, 20 April 2011

Page 32: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 33: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 34: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 35: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 36: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 37: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 38: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 39: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 40: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 41: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 42: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 43: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 44: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 45: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 46: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 47: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 48: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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('..')

Wednesday, 20 April 2011

Page 49: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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('..')

Lock method

• Create lock on Oracle BI Domain, prior to configurationchange

Wednesday, 20 April 2011

Page 50: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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)

Wednesday, 20 April 2011

Page 51: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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)

uploadRepository Method

• Obtain next RPD sequence no.• Copy the RPD name and

password into the MBeanproperties

Wednesday, 20 April 2011

Page 52: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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)

Wednesday, 20 April 2011

Page 53: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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)

commit Method

• Activate configuration changes• Upload the RPD• Update config files• Store password in Credstore

Wednesday, 20 April 2011

Page 54: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 55: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

The Log Viewer

• On the Capacity Management > Diagnostics page on EM• Click on individual log name, or click Log Viewer to search all logs

Wednesday, 20 April 2011

Page 56: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

The Log Viewer

• On the Capacity Management > Diagnostics page on EM• Click on individual log name, or click Log Viewer to search all logs

Wednesday, 20 April 2011

Page 57: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 58: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

The Log Viewer

• On the Capacity Management > Diagnostics page on EM• Click on individual log name, or click Log Viewer to search all logs

Wednesday, 20 April 2011

Page 59: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 60: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

The Log Viewer

• On the Capacity Management > Diagnostics page on EM• Click on individual log name, or click Log Viewer to search all logs

Wednesday, 20 April 2011

Page 61: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 62: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 63: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 64: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 65: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 66: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 67: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

Vertical Scaleout of System Components

• Spare capacity on an individual host can be used by adding additionalsystem 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

Wednesday, 20 April 2011

Page 68: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

Horizontal Scaleout of Java Components

• Used for adding additional managed servers (Java components) andsystem components to an existing cluster

• Used for scalability and failover• Set up via the Universal Installer > Scale Out BI System option

Wednesday, 20 April 2011

Page 69: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 70: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 71: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

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

Wednesday, 20 April 2011

Page 72: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

More Information

• Thank you for attending this presentation• More information can be found at http://www.rittmanmead.com• Contact us at [email protected] or [email protected]• Look out for our book, “Oracle Business Intelligence Developers Guide” due Q1 2012• Follow-us on Twitter (@rittmanmead) or Facebook (facebook.com/rittmanmead)

Wednesday, 20 April 2011

Page 73: OBIEE11g Architecture & Internals : Collaborate'11, Orlando 2011

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : [email protected] W: www.rittmanmead.com

Mark Rittman, Director, Rittman MeadCollaborate’11, Orlando April 2011

OBIEE11g Architecture, Components & Internals

Wednesday, 20 April 2011


Recommended