Tuesday, July 8, 2014
Friday, July 4, 2014
OBIEE 11g R1 Architecture
BI Domain:
Overall system is called “Oracle BI Domain” . This comprises of Java components deployed into J2EE containers , non java system components and required configuration files, metadata, repositories, and infrastructure. Oracle Enterprise Manager(OEM) acts as “Fusion Middleware Control” which together with Weblogic Admin Console are the basic backbone,the powerhouse and the Admin Activity controller for the entire domain .
Weblogic Server Domain: The logical domain consists of Admin server and Managed server .It comprises mainly with all the Java modules to trigger the java services .A peer handshaking has been done between WLSD and Oracle BI Instance.
Administration Server:
A JEE container that runs in a dedicated Java virtual machine that contains Java components for administering the system .It typically trigger the start,stop kind of admin activity for his peer Manager server processes.
Managed Server:
A JEE container that runs in a dedicated Java virtual machine that provides the run-time environment for the Java-based services and applications within the system.The services comprises of BI plugin , Security , publisher ,SOA ,BI Office services etc .
Node Manager:
Node Manager provides process management services for the Administration Server and Managed Server processes.Its a separate java utility runs to trigger the auto start , stop , restart activities for distributed Managed server.
Oracle Process Manager and Notification Server(OPMN):
It is monitored , managed and controlled by Fusion Middleware Controller(OFMW). It is also used for distributed process start/stop/restart i.e maintains the Oracle Business Intelligence system component processes.Also used for performance collection using Dynamic Monitoring System (DMS) .
Oracle Weblogic Server (Console):
It is the replacement of Oracle 10g R3 middle tier cluster topology based on Oracle Container for Java (OC4J) . It is a Java EE application server that supports the deployment of Oracle Business Intelligence Java components and primarily host the java component services inside Managed server .
Oracle WebLogic Server Administration Console access has been provided by Fusion Middleware Control.Oracle WebLogic Server Administration Console enables to monitor and manage a WebLogic Server domain. Its capabilities include the following:
- Monitoring health and performance of JEE servers
- Configuring WebLogic domains
- Stopping and starting JEE servers
- Viewing JEE server logs
Fusion Middleware Control:
Fusion Middleware Control is a browser-based tool and the recommended method for monitoring, managing, and configuring Oracle Business Intelligence components.
Fusion Middleware Control is used principally for managing the system components of a BI domain and provides support for the following:
- Starting, stopping, and restarting all system components (BI Server,BI Presentation Server) and Managed Servers
- Configuring preferences and defaults
- Scaling out of system components
- Managing performance and monitoring system metrics(DMS-Dynamic Monitoring System)
- Performing diagnostics and logging (ODL-Oracle Diagnostic Logging)
Fusion Middleware Control also provides access to Oracle WebLogic Server Administration Console, where you monitor and manage Oracle Business Intelligence Java components.
To be very precise OFMW contains to components ..i.e. Java Components managed by Weblogic Server and System components managed by Oracle Process Manager and Notification (OPMN) and this includes below as well including BI components :
- Oracle HTTP Server
- Oracle Web Cache
- Oracle Internet Directory
- Oracle Virtual Directory
- Oracle Forms Services
- Oracle Reports
- Oracle Business Intelligence Discoverer
OFMW Environment: Oracle Fusion Middleware environment contains Oracle WebLogic Server domain (including Administration Server, two Managed Servers) , an Oracle instance and Metadata repository .
Java components: Deployed as one or more Java EE applications:
- Administrative Components — Enterprise Management applications and JMX MBeans for managing all configuration and run-time settings for Oracle Business Intelligence.
- Oracle BI Publisher — This component provides an enterprise reporting solution for authoring, managing, and delivering all types of highly formatted documents to employees, customers, and suppliers.
- Oracle BI Office — This component provides the integration between Oracle Business Intelligence and Microsoft Office products.
- Oracle BI Action Services — This component provides the dedicated Web services that are required by the Action Framework and that enable an administrator to manually configure which Web service directories can be browsed by users when they create actions.
- Oracle Real-Time Decisions (Oracle RTD) — This component provides enterprise analytics software solutions that enable companies to make better decisions in real-time at key, high-value points in operational business processes.
- Oracle BI Security Services — This component provides dedicated Web services that enable the integration of the Oracle BI Server with the Oracle Fusion Middleware security platform i.e JPS (Java Platform Security) , CSF (Credential Store Framework) and users and groups managed by BI LDAP security.
- Oracle BI SOA Services — This component provides dedicated Web services for objects in the Oracle BI Presentation Catalog, to invoke analyses, agents, and conditions. They make it easy to invoke Oracle Business Intelligence functionality from Business Process Execution Language (BPEL) processes.
- Oracle BI Plugin — A JEE application that routes HTTP and SOAP requests to Oracle BI Presentation Services.
System components: Deployed as non-JEE components, such as processes and services written in C++ and J2SE:
- Oracle BI Server — This component provides the query and data access capabilities at the heart of Oracle Business Intelligence and provides services for accessing and managing the enterprise semantic model (stored in a file with a .RPD extension).
- Oracle BI Presentation Services — This component provides the framework and interface for the presentation of business intelligence data to Web clients. It maintains an Oracle BI Presentation Catalog service on the file system for the customization of this presentation framework.
- Oracle BI Scheduler — This component provides extensible scheduling for analyses to be delivered to users at specified times. (Oracle BI Publisher has its own scheduler)
- Oracle BI JavaHost — This component provides component services that enable Oracle BI Presentation Services to support various components such as Java tasks for Oracle BI Scheduler, Oracle BI Publisher, and graph generation.
- Oracle BI Cluster Controller — This components distributes requests to the BI Server, ensuring requests are evenly load-balanced across all BI Server process instances in the BI domain.
Wednesday, June 25, 2014
Automating cache purging through windows scheduler &Re-building Cache
windows scheduler.
Call SAPurgeAllCache();
Start command prompt and run following command. Note, there are four parameters in the command. You must replace this with values relavent to your implementation.
-d = ODBC datasource name
-u = Admin user name
-p = Admin Password
-s = sql file
NQCMD -d AnalyticsWeb -u Administrator -p Administrator -s C:\PurgeCache.txt
1. Go to Control Panel> System and Security> Administrative tools> Schedule tasks
2. Click on Schedule tasks. It will open Task Scheduler window.

3. On the right hand side, click on Create task. It will open a new window to create task.
THANKS...:)
Call SAPurgeAllCache();
Start command prompt and run following command. Note, there are four parameters in the command. You must replace this with values relavent to your implementation.
-d = ODBC datasource name
-u = Admin user name
-p = Admin Password
-s = sql file
NQCMD -d AnalyticsWeb -u Administrator -p Administrator -s C:\PurgeCache.txt
2. Click on Schedule tasks. It will open Task Scheduler window.
3. On the right hand side, click on Create task. It will open a new window to create task.
4. Depending on your choice, you can change the trigger setting. Here I have done repeat task every 1 hour.
6. Go to Actions tab. Click on New button to get New Action window. Select the .exe file which you want to schedule. Here we will select nQcmd.exe which is present in c:\oraclebi\server\Bin folder. Add the arguments which is required to open nQcmd.exe and purge the cache. Here the arguments are :
-d AnalyticsWeb -u Administrator -p Administrator -s c:\oraclebi\server\Bin\SQL.txt
-d is for Data Source Name i.e AnalyticsWeb.
-u is user name i.e Administrator
-p is Password i.e Administrator
-s is File path where the purge cache command is writtent.
Create a file SQL.txt and write the purge command:
{call SAPurgeAllCache()};
Place the file in Bin folder
Re-building CacheOnce the cache is purged, you may want to re-build cache for some of the frequently used reports to avoid delay in response to the users. Re-Building cache requires executing the "logical" SQL query against the data source. We can use NQCMD same way we used for purging cache. Instead of purge function, we have to include logical SQL statements in the text file.
Create a text file using notepad with name "BuildCache.txt" and add logical SQL commands to it. You can include more than one command separated by semicolon(;). Save the file to local disk (Let's assume to drive C:\). Below is example of the text file content.
SELECT Product."Department" saw_0, Product."Style" saw_1, Sales."SalesAmt" saw_2 FROM MYCATALOG ORDER BY saw_0, saw_1;
SELECT Product."Department" saw_0, Product."Style" saw_1, Sales."CostAmt" saw_2 FROM MYCATALOG ORDER BY saw_0, saw_1;
Start command prompt and execute the command same way we did for purging the cache.
NQCMD -d AnalyticsWeb -u Administrator -p Administrator -s C:\BuildCache.txt
CALL SASeedQuery('Query').Re-building CacheOnce the cache is purged, you may want to re-build cache for some of the frequently used reports to avoid delay in response to the users. Re-Building cache requires executing the "logical" SQL query against the data source. We can use NQCMD same way we used for purging cache. Instead of purge function, we have to include logical SQL statements in the text file.
Create a text file using notepad with name "BuildCache.txt" and add logical SQL commands to it. You can include more than one command separated by semicolon(;). Save the file to local disk (Let's assume to drive C:\). Below is example of the text file content.
SELECT Product."Department" saw_0, Product."Style" saw_1, Sales."SalesAmt" saw_2 FROM MYCATALOG ORDER BY saw_0, saw_1;
SELECT Product."Department" saw_0, Product."Style" saw_1, Sales."CostAmt" saw_2 FROM MYCATALOG ORDER BY saw_0, saw_1;
Start command prompt and execute the command same way we did for purging the cache.
NQCMD -d AnalyticsWeb -u Administrator -p Administrator -s C:\BuildCache.txt
THANKS...:)
Wednesday, June 18, 2014
Horizontal Clustering in OBIEE11g
Horizontal Clustering:
-
If we are going to implement horizontal clustering then we need multiple boxes
for multiple instances of BI Server,
Presentation Services etc.
In this
type of clustering generally 3 components are clustered
1. BI
Server
2. BI
Presentation Services
3. Java
Host
That is,
all the components that can act in active-active configuration can be clustered
in Vertical Clustering. Other components like Scheduler
Cluster
Controller which work in active-passive fashion are generally not clustered
vertically.
We start
with logging into the enterprise manager FMW control and navigating to the
deployment section. Since we are doing vertical clustering,
Administration and
Management:-
• WLS
Admin Server used for controlling WLS platform
‣ Startup, shutdown, security,
non-OBIEE specific tasks
• Fusion
Middleware Control (EM) used for managing OBIEE
• OPMN
used for starting, stopping system components
• Node
Manager used for
Starting, stopping, managed servers
Horizontal Scaleout of
System 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.
Importance of Horizontal Clustering:-
Scalability
Increasing
or decreasing the capacity of a system by making effective use of resources is
known as scalability.
A scalable system can handle increasing numbers of requests without adversely
affecting response time and throughput.
High
Availability
High availability refers to the ability of users to access a
system without loss of service. Deploying a high availability system minimizes
the time when the system is down, or unavailable and maximizes the time when it
is running, or available. To
provide a highly available system, Oracle BI EE requires the following external
services:
·
A
fault tolerant HTTP load balancer
·
A
highly available shared file system
NOTE:-Once the drive is identified (one
for RPD and the other for Web Catalog), copy the web catalog to the shared
drive. In the deployment section of the Enterprise Manager, enter the shared
directory details of both the RPD and the Web Catalog. Upload the repository
(RPD) into the shared
Drive
using the enterprise manager.
Horizontal
Clustering Step 1: Create Shared Areas
• Create
folders on network share for RPD, Web Catalog and Global Cache
• Share
needs to be accessible to all hosts
Access the Fusion Middle ware
Control 11g. Select core application under Business Intelligence and select Capacity Management. Go to
Scalability
tab
and click Lock and Edit Configuration.
Now the Enterprise Manager will allow editing the
values.
Horizontal Clustering Step 2: Prepare Installation
• Start the Oracle Universal
Installer on the new host, select
Enterprise Install > Scale Out BI System option
Horizontal
Clustering On the new server:-


Here fill out the host name where
the primary setup is installed and the port number for the web logic is
listening.
The installer gives and option to
place the Domain Home, Applications Home and Instance Home.
Select the option to auto
allocate the ports or to give a preference for the port.
Review the summary and confirm
the Installation.
Horizontal
Clustering Step 3: Install and Configure
• Allow installation to complete,
and then post-install configuration steps
• This should then complete the
scale-out of the managed server and java components
After the confirmation the installer copies
the relevant files to the directories.
Now the scale out process is
completed successfully.
Horizontal Clustering Step 4: Add New System Components
Add new BI Servers, Presentation
Servers and Java Hosts on new host
Summary of the servers:-
Instance 2 is added and you can
see it under the fusion middle-ware console.
1.
In the left pane of the Console,
expand Environment and select Servers.
2.
Select the name of the Configuration
tab where you want to view the Summary of the servers.
Summary of Machines:
This
page displays key information about each machine that has been configured in
the current WebLogic Server domain.
1.
In the left pane of the Console,
expand Environment and select Machines.
.
Monitor Node Manager Status
To monitor Node Manager Status:
If Node
Manager is currently running on the machine, the Node Manager Status displays
the following information about the Node Manager process:
o
Status - current status of this Node Manager
o
Version - version string returned from the Node Manager
This page allows
you to view current status information for the Node Manager instance configured
for this machine.
System
Components in Enterprise
Manager
At this point, you’ve got an
additional managed server, but you’ve not yet brought any additional system
components into the cluster. You do this from Enterprise Manager, where you can
now add additional BI Servers, Presentation Servers, Java Hosts, Cluster
Controllers or Schedulers to the cluster, by selecting them from the Capacity Management > Scalability screen, where you’ll now see a new
entry for your managed server.
1.
In the left pane of the EM, expand Business
Intelligence and select core application.
2.
Select the
name of the Capacity Management tab
and click on Scalability tab.
BI Server Repository
You’ll also need to specify a
shared location for your RPD, and for the web catalog. You do this again from
Enterprise Manager, this time selecting the Deployment > Repository screen and typing in the details of
the shared locations.
1.
In the left pane of the EM, expand Business
Intelligence and select core application.
2.
Select
the name of the Deployment tab
and click on Repository tab.
3.
Check
the Share Repository check box, Share the Shared Repository path also Share the
catalog path from the Shared catalog folder.
4.
Upload
the Repository file give password and apply.
Performance
Options (Global Cache)
1.
In the left pane of the EM, expand Business
Intelligence and select core application.
2.
Select
the name of the Capacity
Management tab
and click on Performance tab.
3.
Give the Global cache path and
Global cache size
Using Fusion Middleware Control
to Configure Primary and Secondary Instances
You can use Fusion
Middleware Control to configure primary and secondary instances of the Cluster
Controller and Oracle BI Scheduler.
1.
In the left pane of the EM, expand Business
Intelligence and select core application.
2.
Select
the name of the Capacity
Management tab
and click on Availability tab.
3. Click Lock and Edit Configuration to allow changes to be made.
4. In the Primary/Secondary Configuration section, select the host and Oracle
instance on which you want to run the primary or secondary Cluster Controller
or Oracle BI Scheduler.
5. Click Apply, then click Activate Changes.
6. Return to the Business Intelligence
Overview page and click Restart.
Tuesday, June 10, 2014
No Log Found error in OBIEE 11g:-
Setting Log Level in RPD:
We have to check the Logging Level in three
places in RPD.
Step 1 : Open RPD by using the credentials.
Step 2 : Go to
Tools–>Options–>Repository
Here set the Log Level to 7 in System Logging
Level.
Step 4 : Sometimes we used to define the Log Level in
Initialization Blocks.
Go to Variables–>Session–>Initialization
Blocks–Log Level.
Edit the Data Target and set the Log Level to
7.
Lot of time we saw everything is good and same manner but
same error No Log Found
again and again
After that we need to check
--
Go to em
Capacity
And change the Number of rows:-
Subscribe to:
Posts (Atom)
ADF functions
toString(JT_DEAL_PLAN_EFF_DT, 'MM/dd/yyyy HH:mm:ss','es-ES')
-
Web services are open standard ( XML, SOAP, HTTP etc.) based Web applications that interact with other web applications for the purpose of...
-
OBIEE12c Creating Analyses and Dashboards Oracle BI is a comprehensive collection of enterprise business intelligence functionality t...
-
Performance improvement Tips using Hint in OBIEE 11g RPD or Other ways.. We can improve the performance of reports by doing tuning using ...