21 April, 2015

Discoverer server

About Discoverer:

Discoverer is the end user adhoc query, reporting and analysis tool, which provides quick development environment to develop Data Warehousing & Business intelligence reports.

What is business intelligence?

Business Intelligence is the ability to analyze data to answer business questions and predict futures.

Features and Benefits:

  • Automated Summary Management – improving query performance in Discoverer Plus is now easier with this new feature.
  • Oracle Applications support – This enables you to connect to Oracle Applications EULs as well as standard Discoverer EULs.
  • Identifiers – all objects in a Business Area are now uniquely defined within each EUL by an Identifier.
  • Change schema owner – you can now manually edit the schema Owner attribute (for a Folder) or leave it blank.
  • Support for Oracle Materialized Views.
  • Analytic Functions – perform complex mathematical analysis with this extended range of statistical functions.

How does it Works?

When a user creates or opens a worksheet, Discoverer:
  •  Converts the worksheet into the corresponding SQL statements (e.g. by converting folder names and item names to table names and column names respectively).
  •  Sends the SQL statements to the database.
  •  Displays the result set that is returned from the database.

Discoverer Components:

  •  Oracle Discoverer Administrator
  •  Oracle Discoverer Plus
  •  Oracle Discoverer Desktop Edition (Viewer)

Oracle Discoverer Administrator:

Discoverer Administrator is a tool to hide the complexity of the database from business users, so they can answer business questions quickly and accurately using Oracle Discoverer.
Discoverer Administrator’s wizard-style interfaces enable you to:
  • Set up and maintain the End User Layer (EUL)
  • Create Folders, Items and Item Classes
  • Control access to information
  • Create conditions and calculations for Discoverer end users to include in their worksheets

Oracle Discoverer Plus:

It is a web portal like Oracle Application front end through which you can log on with your oracle application username and password and create and run discoverer reports.

Oracle Discoverer Desktop Edition (Viewer):

It works same as Discoverer Plus, but it is a software that comes with Oracle BI Publisher setup. Here also you can create and run your discoverer reports.

End User Layer (EUL):

End User Layer is a Metadata repository for Business areas, folders and items on which Discoverer workbooks or reports based on. The EUL is a set of database tables that contain information (or ‘metadata’) about the other tables and views in the database.

Business Area:

A Business Area is a set of folders containing related information with a common business purpose.
Business Areas:
  • Meet the specific data needs of the users
  • Usually contain data from several different tables or views
  • Have tables or views and their associated columns mapped to “folders” and “items” respectively
  • Can contain many simple folders and complex folders
  • May contain folders from one or more physical databases include conditions, joins, calculations, formatting,   hierarchy structures, and other custom features
  •  May be accessible to one or many user IDs or roles; also, a user ID or role may be granted access to many business areas
  •  Let users access data, without having to understand the database structure

Folders:

The tables and views loaded into a Business Area are called as folders. There are 3 types of folders that you can create – Simple, Complex and Custom.

Items:

The columns of the folders are named as items.

Item Classes:

Item classes are like LOVs in Oracle Application. We can create item classes based on any columns of a table and we can join that item classes to any parameters of the discoverer reports.

Joins:

A Join relates two folders using common items.

Conditions:

Conditions filter worksheet data, enabling Discoverer end users to analyze only the data they are interested. Conditions are applied to the folders or items.

Calculations & Hierarchies:

A calculated item is an item that uses a formula to derive data for the item.
Hierarchies are default drill paths between item that you define in Discoverer Administrator. There are two types of Hierarchy in Discoverer Administration Edition:
  1. Item Hierarchies
  2. Date Hierarchies

Summaries & Summary Folders:

A summary improves query performance in Discoverer Plus or Discoverer Viewer by using pre-aggregated data created through Discoverer Administration Edition.
A Summary Folder is how Discoverer represents the underlying structure of a summary table or MV. Each Summary Folder has one or more Items (i.e. columns from a summary table or MV).

ASM:

Automated Summary Management – It delivers fast performing queries while greatly reducing the amount of time spent on administration. ASM analyzes your tables, uses query statistics (when available) and default values (the summary policy) to determine how summaries are created for you. ASM is able to automatically create and maintain the best set of summaries based on this combination.


Discoverer4i Troubleshooting

Below are the errors which we had encountered post upgrade of Discoverer4i wherein the discoverer component doesn't startup. 
This post will be a running document, wherein it will be updated as and when we encounter a new issue and obviously a solution 

First -> Make sure Jserv is up and running. 

Issue 1  OAD Fatal Error in oad.log

$ORACLE_HOME/discwb4/util > vi oad.log 
"oad.log" 3 lines, 184 characters OAD: Fatal Error [Cross-device link]. 

Solution Make sure VBROKER_ADM environment variable is set up correctly. 
________________________________________
 Issue 2  Unable to create repository file: 

$ORACLE_HOME/vbroker/adm/impl_dir/impl_rep. in oad.log 

Solution Add this line in $ORACLE_HOME/discwb4/discwb4.sh 
TMPDIR=/dchpgi/applmgr/product/806/discwb4/tmp 
export TMPDIR 
________________________________________
 Issue 3  DISCOVERER VIEWER is not working. 
Abstract: DISCOVERER VIEWER DOES NOT WORK WITH THE PARAMETER "SHOW_GRAPHS=TRUE" 

Solution The file $IAS_ORACLE_HOME/Apache/Apache/htdocs/disco4iv/html/disco4iv.html has to have the entry 
show_graphs="false" instead of show_graphs="true". 
This is the fix and the relevant bug is 2664219. 
________________________________________
 Issue 4  DISCOVERER VIEWER Page is blank and also hanging for long time 

Solution Correct the entry for the TNS in discwb.sh to point to correct TNS_ADMIN value. 
echo $TNS_ADMIN can be used to get the value. Bounce the apache and start the services. 
________________________________________
 Issue 5 INTERNAL SERVER ERROR on Viewer Page 
Solution Check these values wrapper.classpath=$IAS_ORACLE_HOME/Apache/Apache/htdocs/disco4iv/disco4iv.jar was added in viewer4i.properties file before the translator.zip 

It should be in two separate lines
 wrapper.classpath=$IAS_ORACLE_HOME/Apache/Apache/htdocs/
disco4iv/disco4iv.jar wrapper.classpath=$IAS_ORACLE_HOME/sqlj/lib/translator.zip 
________________________________________
 Issue 6 Unable to find the Locator.ior file. Error message in Discoverer viewer page 
Solution vi $IAS_ORACLE_HOME/Apache/Apache/htdocs/disco4iv/html/disco4iv.xml 
Locator name="Hostname.domainname_PortOracleDiscovererLocator4" 
path="$IAS_ORACLE_HOME/Apache/Apache/htdocs/discwb4/applet/"/> Modify the Alias (file or path) to the Real URL: $IAS_ORACLE_HOME//Apache/Apache/htdocs/disco4iv/html/disco4iv.xml servlet.Viewer.code=oracle.discoiv.Disco4iv servlet.Viewer.initArgs=config=file:$IAS_ORACLE_HOME/Apache/Apache/htdocs/disco4iv/html/disco4iv.xml 
________________________________________
 Issue 7 Discoverer BIS report not working. 
Solution To resolve errors accessing Discoverer BIS report 
(login as SYSADMIN, on Selfservice application -> Disco BIS Report) Add FND_DEBUG_DIR=$APPLCSF/tmp ; 
export FND_DEBUG_DIR in $ORACLE_HOME/discwb4/discwb.sh 
and bounce discoverer services. 
________________________________________
 Issue 8 Unable to start locator session while starting discoverer services 
Solution Go to $ORACLE_HOME/discwb4 
Verify values in discwb4.sh vi discwb4.sh 
INSTANCE_NAME=Hostname.DomainName_Port TMPDIR=$ORACLE_HOME/discwb4/tmp 
Export TMPDIR Save and exit the file 
cd $VBROKER_ADM pwd $ORACLE_HOME/vbroker/adm 
cd impl_dir mv impl_rep impl_rep_bkp mv impl_rep~ impl_rep~_bkp 
Run Registerall.sh will create these new folders. ls README README.txt impl_rep impl_rep_bkp impl_rep~ 
impl_rep~_bkp 
________________________________________
 Issue 9 Unable to start Gatekeeper services 
Solution Go to $IAS_ORACLE_HOME/Apache/htdocs/discwb4/applet 
directory Check exterior_port in 
$ORACLE_HOME/vbroker/bin/gatekeeper.properties and 
$APACHE_TOP/Apache/htdocs/discwb4/applet/
gatekeeper.properties Check the gatekeeper.log file for errors like 
'unable to bind to port' or other errors. Fix the error and restart the gatekeeper.




No comments:

Post a Comment

OEM Agent Installation

./agentDeploy.sh AGENT_BASE_DIR=/u001/oracle/product/agent13c OMS_HOST=oem-dev.xxx.com EM_UPLOAD_PORT=1159 AGENT_REGISTRATION_PASSWORD=*****...