A walk through some of the hard won lessons of using Oracle Business Intelligence, the experience of upgrading to 11G and how it works.
Friday, 28 February 2014
OBIEE - Connection Pools
Apart from creating your connection pool, filling in the type of database, username and password, do you give much thought to the connection pool.
If you have heavy usage, you should increase the maximum number of connections from the default of 10.
You will definately need a connection pool seperate from the others to set your session variables.
You will also need a separate connection pool for usage tracking.
Keep a separate connection pool for write back.
Just a few thoughts
Thursday, 27 February 2014
OBIEE - Custom Login Message
OBIEE - Customised Login Message
The first thing your users see if they need to login id the login screen and with a little effort you can customise this to "up" the wow factor and provide information.
We will customise the following file.
OBIEE_HOME\Oracle_BI1\bifoundation\web\msgdb\pages\common\signin.html
and as always !!!BACKUP!!! before making changes.
On our non production environments we have a message like below.
...
<div align="center" class="centerDiv">
<table width="180" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="lefttop"></td>
<td class="topmiddle" width="100%" height="12"><span style="background-color:#F6CED8;text-align:center;font-weight:bold;color:#000000">
You are connecting to a Non-Production environment!
</span></td>
<td class="righttop"></td>
</tr>
<tr>...
Customised Login Images
You can go further by adding imagesLocate the <form id="logonForm" tag, then the table tag below it:
<table width="100%" cellpadding="0" cellspacing="0">
Underneath add the following lines (assuming that Your_Logo.png is the image):
<tr>
<td>
<img src="fmap:login/Your_Logo.png" style="visibility: visible;" class="defaultHidden" width="280" align="bottom" height="120" alt="Description of Your Logo"/>
</td>
</tr>
Remember if you are uploading an image to put the "Your_Logo.png" file in the following three locations
OBIEE_HOME\user_projects\domains\bifoundation_domain\servers\bi_server1\tmp\_WL_user\analytics_11.1.1\7dezjl\war\res\sk_blafp\b_mozilla_4
OBIEE_HOME\user_projects\domains\bifoundation_domain\servers\bi_server1\tmp\_WL_user\analytics_11.1.1\7dezjl\war\res\sk_blafp\login
OBIEE_HOME \Oracle_BI1\bifoundation\web\app\res\sk_blafp\login
Wednesday, 26 February 2014
OBIEE - Sample Administration Documentation
As I mentioned in Part 1 of a previous article here, you really need to have documentation around your OBIEE environment.
Not the most glamerous of suggestions surely, but your boss and sysadmin will love you. Start by documenting where to find stuff middleware home, logfiles, config files (instanceconfig.xml etc.), the URLs used for administration.
Then move on to documenting the config changes made after the install, what settings were changed and if known what the default values were before and what they are now. What are the connection details for your RCU schemas (BIPLATFORM and MDS). Capture things like server names and directory structures.
Now comes the living documents which you can generate periodically and version. Run off a repository report and catalog reports. This will give you (and your colleagues) a better understanding of what the repository looks like and also what in the catalog is where on the dashboards.
As an added benefit you can now work backwards from the catalog reports through the repository reports to see where data comes from to fill reports, and vice-versa, from a physical column work your way through the repository to the catalog report to see where the data is used.
Remember, having no documentation means a risk to your business.
And keep it up to date, mark your calendar for a monthly review, most times , no change, but there will be that month.......
Here's a suggestion of some topics to get you started!
URL
DNS Shortcut
WebLogic Console
Enterprise Manager
Repository Name
Catalog Path
OS
Install Dir
EVALUATE_SUPPORT_LEVEL
Usage Tracking
Repository Monitoring
BIPLATFORM
MDS
weblogic
Repository
Not the most glamerous of suggestions surely, but your boss and sysadmin will love you. Start by documenting where to find stuff middleware home, logfiles, config files (instanceconfig.xml etc.), the URLs used for administration.
Then move on to documenting the config changes made after the install, what settings were changed and if known what the default values were before and what they are now. What are the connection details for your RCU schemas (BIPLATFORM and MDS). Capture things like server names and directory structures.
Now comes the living documents which you can generate periodically and version. Run off a repository report and catalog reports. This will give you (and your colleagues) a better understanding of what the repository looks like and also what in the catalog is where on the dashboards.
As an added benefit you can now work backwards from the catalog reports through the repository reports to see where data comes from to fill reports, and vice-versa, from a physical column work your way through the repository to the catalog report to see where the data is used.
Remember, having no documentation means a risk to your business.
And keep it up to date, mark your calendar for a monthly review, most times , no change, but there will be that month.......
Here's a suggestion of some topics to get you started!
General Info about your OBIEE Install
ServerURL
DNS Shortcut
WebLogic Console
Enterprise Manager
Repository Name
Catalog Path
Install Type Information
TypeOS
Install Dir
OBIEE Configuration
writebackEVALUATE_SUPPORT_LEVEL
Usage Tracking
Repository Monitoring
Users/Passwords
Schema PrefixBIPLATFORM
MDS
weblogic
Repository
Custom Deployments
password_change.earMaps
Tuesday, 25 February 2014
OBIEE Lockdown - Part 1
Security Recommendations in Oracle Business Intelligence Installations
There are three key security recommendations for installing and securing OBIEE in your enterprise environment.
1. Be serious about password management.
It is important to lock down the OBIEE environment and changing default passwords after installation.
The passwords for weblogic user should not be simple to guess or widely distributed. The best practice is to have different passwords throughout the environments. Moreover, I’d recommend replacing “weblogic user” with another obfuscated username. The username and password combination should be different throughout the environments (at least the password).
Change the default passwords for the RPD, as everyone knows “Admin123.” If you are promoting an RPD, your password for Dev, Test, and Prod RPDs should be different as well to avoid a possibility of a developer making changes in a wrong environment.
Do not use the administrative account to present reports to the users and avoid providing it to users, there is high risk of breaking/deleting something by accident. Consider automating deployments to avoid having to deal with passwords manually.
2. Take the authentication and authorization outside of OBIEE
Use whatever is standard in your organization for managing authentication (be it OID, Active Directory, or some other sort of LDAP). Not only does it improve user experience by removing the need to memorize yet another username/password, but it also saves time for the development team. Remember: They are not in the user management business. Another great use case is the ability to push this functionality further by automating users’ authorization by managing LDAP groups’ memberships and mapping them to the OBIEE’s application roles.
3. RPD Security Objects
Unfortunately, the Administration Tool does not allow development separation within the repository objects (one needs to be an administrator to edit the RPD file – no way around it), hence anyone with the RPD/Admin password can do pretty much anything within the RPD. At this time, there are limited built-in options to audit or keep track of the RPD development changes. One must rely on a custom developed solution if this functionality is important. An easy and practical option is to keep an XLS spreadsheet of the major development milestones. It’s simple; however, its disadvantage is, that there is an overhead associated with maintaining it, especially during active development periods. Another option would be to use an Administration tool utility to create metadata repository document on a regular basis and track deltas. Finally, more advanced options would include MUDE (multi user development environment) projects and XML export.
Friday, 21 February 2014
OBIEE - Increase Map Joins
OBIEE has a default limit of 500 joins to a map.
There are occasions where you may need to up this limit and you will need to make changes to this setting if more points of contact to the map exist.
You will need to add something like the below into your instanceconfig.xml file
<SpatialMaps>
<ColocatedOracleMapViewerContextPath>/mapviewer</ColocatedOracleMapViewerContextPath>
<RemoteOracleMapViewerAbsoluteURL/>
<LayerDataLayout>
<MaxRecords>1500</MaxRecords>
</LayerDataLayout>
</SpatialMaps>
There are occasions where you may need to up this limit and you will need to make changes to this setting if more points of contact to the map exist.
You will need to add something like the below into your instanceconfig.xml file
<SpatialMaps>
<ColocatedOracleMapViewerContextPath>/mapviewer</ColocatedOracleMapViewerContextPath>
<RemoteOracleMapViewerAbsoluteURL/>
<LayerDataLayout>
<MaxRecords>1500</MaxRecords>
</LayerDataLayout>
</SpatialMaps>
Thursday, 20 February 2014
OBIEE Repository Variable Report
You can create a report to show what your repository variables are set to by doing something like below:
Create a 'dummy' report with a static text view and enter something like below and make sure you have selected the contains HTML Markup box.
[u][b]Predefined Presentation Variables[/b][/u][br/]
[b]session.language:[/b] @{session.language}[br/]
[b]session.locale:[/b] @{session.locale}[br/]
[b]DISPLAYNAME:[/b]@{biServer.variables['NQ_SESSION.DISPLAYNAME']}[br/]
[b]USER:[/b]@{biServer.variables['NQ_SESSION.USER']}[br/]
[b]GROUP:[/b]@{biServer.variables['NQ_SESSION.GROUP']}[br/]
[b]ROLES:[/b]@{biServer.variables['NQ_SESSION.ROLES']}[br/]
[b]ROLEGUIDS:[/b]@{biServer.variables['NQ_SESSION.ROLEGUIDS']}[br/]
[b]PERMISSIONS:[/b]@{biServer.variables['NQ_SESSION.PERMISSIONS']}[br/]
[b]USERGUID:[/b]@{biServer.variables['NQ_SESSION.USERGUID']}[br/]
Update: See more on System Variables here.
Create a 'dummy' report with a static text view and enter something like below and make sure you have selected the contains HTML Markup box.
[u][b]Predefined Presentation Variables[/b][/u][br/]
[b]session.language:[/b] @{session.language}[br/]
[b]session.locale:[/b] @{session.locale}[br/]
[b]DISPLAYNAME:[/b]@{biServer.variables['NQ_SESSION.DISPLAYNAME']}[br/]
[b]USER:[/b]@{biServer.variables['NQ_SESSION.USER']}[br/]
[b]GROUP:[/b]@{biServer.variables['NQ_SESSION.GROUP']}[br/]
[b]ROLES:[/b]@{biServer.variables['NQ_SESSION.ROLES']}[br/]
[b]ROLEGUIDS:[/b]@{biServer.variables['NQ_SESSION.ROLEGUIDS']}[br/]
[b]PERMISSIONS:[/b]@{biServer.variables['NQ_SESSION.PERMISSIONS']}[br/]
[b]USERGUID:[/b]@{biServer.variables['NQ_SESSION.USERGUID']}[br/]
Update: See more on System Variables here.
Labels:
11.1.1.6,
11.1.1.7,
administration,
OBIEE,
obiee 11g,
PORTALPATH,
RPD
Wednesday, 5 February 2014
OBIEE - Repository System Session Variables
Session variables are similar to dynamic repository variables in that
they obtain their values from initialization blocks. Unlike dynamic
repository variables, however, the initialization of session variables
is not scheduled. When a user begins a session, the Oracle BI Server
creates new instances of session variables and initializes them.
Two types of session variables:
When you use these variables for Oracle BI Presentation Services, preface their names with
The
Two types of session variables:
- System Session Variables
- Nonsystem Session Variables
Sytem Session Variables :
System session variables are session variables that the Oracle BI Server and Oracle BI Presentation Services use for specific purposes. System session variables have reserved names that cannot be used for other kinds of variables (such as static or dynamic repository variables and nonsystem session variables).When you use these variables for Oracle BI Presentation Services, preface their names with
NQ_SESSION. For example, to filter a column on the value of the variable LOGLEVEL, set the filter to the variable NQ_SESSION.LOGLEVEL.The
SELECT_PHYSICAL command provides the
functionality to directly query objects in the Physical layer of the
metadata repository, and to nest such a statement within a query
against the Business Model and Mapping layer or the Presentation layer.
Syntax for the SELECT_PHYSICAL Statement
Basic syntax forSELECT_PHYSICAL queries is equivalent to basic syntax of select statement with the termSELECT_PHYSICAL replacing the word SELECT, namely:SELECT_PHYSICAL [DISTINCT] select_list FROM from_clause [WHERE search_condition] [GROUP BY column {, column} [HAVING search_condition]] [ORDER BY column {, column}]
Source:
http://download.oracle.com/docs/cd/E14571_01/bi.1111/e10540/variables.htm#BIEMG3104
Subscribe to:
Posts (Atom)