Wednesday, July 27, 2011

10G Users! Let’s Upgrade to BI Publisher 11G!

image image

10G users! Have you had a chance to try out 11G yet ? Are you planning to upgrade to 11G soon ?

BI Publisher 11G release is a huge milestone for us. We have changed the way the traditional reports development have been with this release completely. With 11G, you can start developing your reports quickly and easily with the new web UI tools such as Data Model Editor and Layout Editor, and view the reports interactively with the new Interactive View format option, to gain more insights about your data. You can do all of that within your browser without installing any desktop application or any plug-ins.

On top of that, if you prefer the RTF template (MS-Word) as your report design option you can continue to do so with the BI Publisher Template Builder (MS-Word plug-in) 11G, and enjoy its super flexible reports development capability with its enhanced functionality. Also, we made the Sub-template and Style template much easier to link to the main templates from the web UI. Oh, and if you like to use other template types such as PDF, Excel, XSL, Flash, of course! you can continue to do so as well. So 11G is like BI Publisher on steroid if you’re coming from 10G !

Now, let’s take a look at how to upgrade the BI Publisher 10G to 11G.

Things to Know Before the Upgrade

With 11G, now the data model is completely a separate object. You can create multiple reports all pointing to a single shared data model. So after the upgrade, your single report on the 10G will be split into two Reporting Objects, one is a Report (.xdo) that contains the layouts and another is a Data Model (.xdm) that contains the data model information.

Another thing to be aware is, BI Publisher 11G shares the catalog, where all the reports are stored, with BI Presentation Server. That means, when you install BI Publisher 11G as part of the BIEE suite then there will be only one catalog, which is called BI EE catalog (or, BI Presentation catalog), and that’s where all the BI contents will be stored including BI Publisher reports, BI Answers requests, Dashboards, etc. If you installed only BI Publisher standalone then you will have a BI Publisher catalog, it’s the same way as the 10G.

Overall Process

There are three main steps to upgrade your BI Publisher 10G to 11G.

  • Install BI Publisher 11G
  • Upgrade BI Publisher 10G catalog to 11G
  • Migrate BI Publisher 11G catalog to BI Presentation catalog (Only for BIEE integrated environments)
  • Upgrade BI Publisher 10G Scheduler Schema to 11G

There are two things you need to upgrade, one is the BI Publisher catalog and another is the BI Publisher Scheduler schema. After upgrading the catalog you’ll have a BI Publisher 11g catalog with your contents. And if your BI Publisher is integrated with BIEE then you need to migrate (or upload) the catalog to the BIEE catalog. And of course, if your BI Publisher is running on a standalone mode then this step is not necessary.

Install BI Publisher 11G

There is an installation guide that takes you through the steps with detail information. Or, there are many blog posts already written about the installation including mine, ‘Oracle BI Publisher 11G Installation’.  So I’m not going to repeat the installation steps here, sorry! (If you have any question around the installation please feel free to contact me at kanichiro.nishida@oracle.com or tweet us @bipublisher!)

Upgrade BI Publisher 10G Catalog to 11G

Backup!

Before you start the upgrade, as always, I’d highly recommend that you make a backup for both the 10G and 11G catalogs. I know it’s a normal practice so nothing special here, but just to make sure…

Source Catalog and Target Catalog

One thing you want to decide before you start the upgrade is the locations for the original 10G catalog and for the target catalog which will be generated by the Upgrade Assistant utility.

You can find the 10G BI Publisher catalog location by logging into BI Publisher 10G and go to Admin –> Report Repository page.

image

Start Upgrade!

You can use the Upgrade Assistant utility to upgrade the BI Publisher 10G catalog. The utility is an UI based application It is located under %Oracle_Home%/Oracle_BI1/bin folder (or directly) and you can simply double click on ‘ua.bat’ for Windows or run ‘ua’ for Linux/Unix to start.

clip_image013

 

Once you launch the utility you will see the following UI.

clip_image015

 

First, select ‘Upgrade Oracle BI Publisher Repository’

clip_image016

 

Select ‘Upgrade 10g BI Publisher Repository Directory’ and specify your 10G catalog location.

clip_image020

 

And now you specify a target location for the upgraded catalog. (e.g. C:\BIP\11G\repository)

clip_image022

 

Now you can enter WebLogic Admin Server connection information. Let’s say, if you can access to the WebLogic Console with ‘http://bipublisher.us.oracle.com:7001/console’ then the Host is ‘bipublisher.us.oracle.com’ and the Port is ‘7001’. The username and passwords are the same ones to login to the Console.

clip_image024

 

When you click ‘Next’ button you will see an Examination window which checks the server connectivity. If’ the status shows ‘succeeded’ then Click ‘Next’.

clip_image026

 

You’ll get a Review window. If the source and target catalog locations look ok then click ‘Upgrade’ button.

clip_image028

 

Once the upgrade is done, you will see the Status showing ‘succeeded’. Click ‘Next’ button.

clip_image030

 

Here, you can find a log file location. (e.g. C:\biee11\Oracle_BI1\upgrade\logs\postupgrade.txt) You might want to review the file to ensure that there is no error during the upgrade process. Well, if you see the ‘succeeded’ in the previous step there shouldn’t be any error message though.

clip_image032

 

Now you should be able to find a newly generated catalog at the specified location !

clip_image034

 

If your BI Publisher is integrated with BIEE then you need to migrate (or upload) the catalog to the BIEE catalog following the steps at the next section. But if your BI Publisher is running on a standalone mode then you can skip the next step and jump to ‘Upgrade BI Publisher 10G Scheduler Schema’ section. .

 

Upload to BIEE (BI Presentation) Catalog

From 11G, the integrated of BIEE and BI Publisher is very tight. BI Publisher shares the BIEE catalog so that the users can access to all the BI contents including BI Publisher reports, BI Answers requests, BI Dashborad, etc, in a single catalog and from a same UI. Now you have an upgraded BI Publisher catalog, which was generated at the previous step, so you need to upload that to the BIEE catalog. 

1. Login to BI Publisher 11G as an user with BI_Admin application role or ‘weblogic’ user.

2. Go to Administration UI and click ‘Server Configuration’ link, you should see the following page.

clip_image036

 

3. Now the Catalog Type should be set to ‘Oracle BI EE Catalog’. Click ‘Test Connection’ to ensure BI Publisher can connect to Oracle BI Presentation Services

clip_image038

4. Enter the path of the upgraded BI Publisher catalog location

5. Click ‘Upload to BI Presentation Catalog’ button. This will upload the contents of your BI Publisher catalog to the BI Presentation catalog.

clip_image040

 

Now when you go to the Catalog UI by clicking the ‘Catalog’ menu, then you should see all the folders and reports from the 10G catalog along with other 11G contents !

clip_image042

 

Upgrade BI Publisher 10G Scheduler Schema to 11G

After finishing the catalog upgrade, there is one more thing. You need to upgrade the BI Publisher Scheduler schema. You can do so by using the same Upgrade Assistant utility.

Start Upgrade Assistant Utility and select ‘Upgrade Oracle BI Publisher Scheduler Schema’ and click ‘Next’.

clip_image018

 

Type an information about the database where the BI Publisher 10G Scheduler schema is installed, and click ‘Next’.

image

 

Now, type an information about the target database where the BI Publisher 11G scheduler schema is installed. This is the same database that you run the RCU against before the 11G installation.

image

 

Select a Schema Name that you installed the RCU, and click ‘Next’

image

 

Once the ‘Examination’ process is done and the Status is showing ‘succeeded’ then click ‘Upgrade’.

image

 

After the upgrade process is done you should see the Status is showing ‘succeeded’, and click ‘Next’.

image

 

In the last page, you can find a location where you can find a log file for the upgrade. You might want to review the log file even if the Status in the previous is showing ‘succeeded’ to ensure there is no error or warning.

image

 

Explore 11G!

And that’s it ! Now you have all your 10G BI Publisher reports migrated to 11G. You’re ready to start taking advantage of BI Publisher 11G new features to create, update, schedule, and share your reports. I have written a post about the 11G new features here before if you haven’t checked yet. Also, we have a series of BI Publisher 11G introduction videos at our BI Publisher Youtube channel. There is also a tutorial specific to 11G as well at OTN. Enjoy 11G!

p.s. If you have experienced any issue with the upgrade process please feel free to contact me at ‘kanichiro.nishida@oracle.com’ or tweet to @bipublisher with #bipupgrade.

Follow bipublisher on Twitter

Thursday, July 7, 2011

Start BI Publisher Enterprise Server for your E-Business Suite Data!

 image

image

image

BI Publisher has always supported the EBS (Oracle E-Business Suite) security as one of the security model options. However, when it comes to the EBS data level security there was no straight forward way to support it before. And this has prevented many folks from moving to BI Publisher Enterprise Server for the EBS reporting even when we know that BI Publisher Enterprise Server would provide a great deal of benefits that come with it such as Data Model Editor, Layout Editor, Interactive View, just to name a few.

So, we added the EBS data level security support with the latest release of 11.1.1.5 to help our EBS customers to move to BI Publisher Enterprise Server and take advantage of such benefits.

I created a quick video demo for this new feature, if you are interested check the following video.

 

If you prefer reading or like to know more detail please continue.

What is the EBS Role Based Data Security?

If you are familiar with EBS you probably know the data level security comes with the responsibility and org_id combination. Each responsibility is associated with an org_id and the user selects a responsibility before running a report. And many of the EBS database views, which typically many of the EBS reports query against, use the org_id to filter the data. Therefore, based on your selection of the responsibility you will get a different set of the data for a single report. And of course this means that another user with a different responsibility would see a different set of the data from the one you would see.

 

image

 

And that’s exactly what we did with BI Publisher Enterprise Server with the release of 11.1.1.5. Now the user can select one of the responsibilities that are assigned to the user at the login time or from the My Account profile setting. Once the user select it BI Publisher automatically takes care of that by setting an application context passing the org_id when it opens a EBS database connection for the user.

How to Configure?

There is no extra configuration to enable the Role Based Data Security at all. Once you have integrated your BI Publisher Enterprise Server with your EBS by selecting ‘Oracle E-Business Suite’ as the security model and upload the EBS application dbc file, then BI Publisher will take care of all the security related stuff from there based on the user’s selection of the responsibility!

image

How It Works?

Right after you login to BI Publisher Enterprise Server with your EBS user id and password, you will be asked to select one of the responsibilities assigned to you. Once you select one then it’s all set. Any following database query will have the application context with the org_id that is associated with your responsibility.

1. Login to BI Publisher Enterprise Server with EBS user id and password.

image

2. When you login you’ll be asked to select one of the responsibilities you have. And BI Publisher will use this information to support the EBS role based security.

image

 

If you want to change the responsibility after you have logged in then you can go to ‘My Account’ dialog by clicking your username at the right hand side top and select one of the responsibilities listed under ‘Group’ tab.

image

Here is a sample report ‘Customer Open Balance Report’, which I have migrated from the EBS instance by using the BI Upgrade Assistant Utility and added some report layouts. The following screenshot shows when I select a responsibility ‘Receivables Vision Germany’.

image

When I change the responsibility to ‘Receivables Vision France’ in the My Account dialog box, now I get a different set of the data.

image

The above example is based on the RTF template that I have downloaded from the EBS instance, which is one of the out-of-box report layout templates that come with EBS R12, and uploaded to this report. Now, because I’m in BI Publisher Enterprise Server I can use the Layout Editor, which is the pure web browser based report design tool, so I created a similar layout with the Layout Editor. Here is the one.

image

And, one step further, since I can now use the Interactive capability of BI Publisher Enterprise Server why not create another layout that takes full advantage of that ! And here is the one.

image

This sample layout actually shows the Role Based Data Security much more obvious. The above example is when I select ‘Receivables Vision Germany’ where you can see the Country list shows ‘DE’ and ‘US’. The below example is when I select ‘Receivables Vision France where you can see the Country list is showing ‘FR’ and other components in the report showing a different set of data compares to the above. 

image

 

Start BI Publisher Enterprise Server for your EBS data!

With the new EBS Role Based Data Security support this is the best time to start moving your Oracle E-Business Suite reporting to BI Publisher Enterprise Server to take advantage of all the great features that come with the Bi Publisher Enterprise Server. It’s not just that it offers better usability and rich functionality over the embedded version inside the EBS and it allows you to extract data from many other different data sources and combine and aggregate, but also it enables you to deliver the next generation operational reporting that satisfies both pixel perfect customer facing requirements and interactive analytical reporting requirements to gain much greater insights from your operational/transactional data.

Happy Operational Reporting 2.0!

If you have any feedback to share please contact me directly at ‘kanichiro.nishida@oracle.com’. 

Tuesday, July 5, 2011

Chart with BI Publisher 11g Layout Editor

image

Chart is one of the best and most effective ways to provide your audience a great insight about the data. Creating charts with BI Publisher 11g Layout Editor has made the chart creation so much easy and simple. Just for that reason, I personally use BI Publisher Layout Editor to visualize my data in spreadsheets. All I need is a standard web browser and a mouse (or touch pad with my macbook pro), after a few drags & drops I have beautiful charts that are automatically linked together and I can start interacting with the charts to gain more insights from the data.

There are many common menus available in the Layout Editor’s ribbon tool bar and much more options available under Property section at the left hand side. Here is a quick video that I put together to show you how to create charts quickly and make them valuable. It covers the following items.

  • Bar/Pie Charts
  • Multiple Measures/Series
  • Legend Position, Legend Label Text and Formatting
  • Chart Title

Please let me know if you have any question or something that you want us to cover on the video or blog. Also, please share what are the most common property options that you use for the chart. We’re currently evaluating what property options to move to the ribbon bar to make your chart design even more simple for the next release.

Friday, June 17, 2011

Upgrade Existing BI Publisher 11g to 11.1.1.5

It’s already more than a month now since BI Publisher 11.1.1.5 was released at beginning of May. Have you already tried out many of the great new features? If you are already running on the first version of BI Publisher 11g (11.1.1.3) you might wonder how to upgrade the existing BI Publisher to the 11.1.1.5 version.

There are two ways to do this, one is ‘Out-Place’ and another is ‘In-Place’. The ‘Out-Place’ would be quite simple. Basically you will need to install the whole BI or just BI Publisher standalone R11.1.1.5 at a different location then you can switch the catalog to the existing one so that all the reports will be there in the new 11.1.1.5 environment.

But sometimes things are not that simple, you might have some custom applications or configuration on the original environment and you want to keep all of them with the upgraded environment. For such scenarios, there is the ‘In-Place’ upgrade, which overrides on top of the original environment only the parts relevant for BI and BI Publisher, and that’s what I’m going to talk about today.

Here is the basic steps of the ‘In-Place’ upgrade.

  1. Upgrade WebLogic Server to 10.3.5
  2. Upgrade BI System to 11.1.1.5
  3. Upgrade Database Schema
  4. Re-register BI Components
  5. Upgrade FMW (Fusion Middleware) Configuration
  6. Upgrade BI Catalog

There is a section that talks about this upgrade from 11.1.1.3 to 11.1.1.5 as part of the overall upgrade document. But I hope my blog post summarized it and made it simple for you to cover only what’s necessary.

Upgrade Document: http://download.oracle.com/docs/cd/E21764_01/bi.1111/e16452/bi_plan.htm#BABECJJH

Before You Start

Stop BI System and Backup

I can’t emphasize enough, but before you start PLEASE make sure you take a backup of the existing environments first. You want to stop all WebLogic Servers, Node Manager, OPMN, and OPMN-managed system components that are part of your Oracle BI domains. If you’re on Windows you can do this by simply selecting ‘Stop BI Services’ menu. Then backup the whole system.

Upgrade WebLogic Server to 10.3.5

Download WebLogic Server 10.3.5 Upgrade Installer

With BI 11.1.1.3 installation your WebLogic Server (WLS) is 10.3.3 and you need to upgrade this to 10.3.5 before upgrading the BI part. In order to upgrade you will need this 10.3.5 upgrade version of WLS, which you can download from our support web site (https://support.oracle.com)

You can find the detail information about the installation and the patch numbers for the WLS upgrade installer on this document.

Just for your short cut, if you are running on Windows or Linux (x86) here is the patch number for your platform.

  • Windows 32 bit: 12395517:
  • Linux: 12395517

Upgrade WebLogic Server

1. After unzip the downloaded file, launch wls1035_upgrade_win32.exe if you’re on Windows.

image

2. Accept all the default values and keep ‘Next’ till end, and start the upgrade.

Once the upgrade process completes you’ll see the following window.

image

Now let’s move to the BI upgrade.

Upgrade BI Platform to 11.1.1.5 with Software Only Install

Download BI 11.1.1.5

You can download the 11.1.1.5 version from our OTN page for your evaluation or development. For the production use it’s recommended to download from eDelivery.

1. Launch the installer by double click ‘setup.exe’ (for Windows)

2. Select ‘Software Only Install’ option

image

3. Select your original Oracle Home where you installed BI 11.1.1.3.

image

4. Click ‘Install’ button to start the installation.

image

And now the software part of the BI has been upgraded to 11.1.1.5. Now let’s move to the database schema upgrade.

 

Upgrade Database Schema with Patch Assistant

You need to upgrade the BIPLATFORM and MDS Schemas. You can use the Patch Assistant utility to do this, and here is an example assuming you’ve created the schema with ‘DEV’ prefix, otherwise change it with yours accordingly.

Upgrade BIPLATFORM schema (if you created this schema with DEV_ prev)

psa.bat -dbConnectString localhost:1521:orcl -dbaUserName sys -schemaUserName DEV_BIPLATFORM

Upgrade MDS schema (if you created this schema with DEV_ prev)

psa.bat -dbConnectString localhost:1521:orcl -dbaUserName sys -schemaUserName DEV_MDS

 

Re-register BI System components

Now you need to re-register your BI system components such as BI Server, BI Presentation Server, etc to the Fusion Middleware system. You can do this by running ‘upgradenonj2eeapp.bat (or .sh)’ command, which can be found at %ORACLE_HOME%/opmn/bin.

Before you run, you need to start the WLS Server and make sure your WLS environment is not locked. If it’s locked then you need to release the system from the Fusion Middleware console before you run the following command.

image 

Here is the syntax for the ‘upgradenonj2eeapp.bat (or .sh) command. 

upgradenonj2eeapp.bat
   -oracleInstance Instance_Home_Location
   -adminHost WebLogic_Server_Host_Name
   -adminPort administration_server_port_number
   -adminUsername administration_server_user

And here is an example:

cd %BI_HOME%\opmn\bin


upgradenonj2eeapp.bat -oracleInstance C:\biee11\instances\instance1 -adminHost localhost -adminPort 7001 -adminUsername weblogic

 

Upgrade Fusion Middleware Configuration

There are a couple things on the Fusion Middleware need to be upgraded for the BI system to work. Here is a list of the components to upgrade.

  • Upgrade Shared Library (JRF)
  • Upgrade Fusion Middleware Security (OPSS)
  • Upgrade Code Grants
  • Upgrade OWSM Policy Repository

Before moving forward, you need to stop the WebLogic Server. Here is an example.

cd %MW_HOME%user_projects\domains\bifoundation_domain\bin

stopWebLogic.cmd

And, let’s start with ‘Upgrade Shared Library (JRF)’.

Upgrade Shared Library (JRF)

You can use updateJRF() WLST command to upgrade the shared libraries in your domain. Before you do this, you need to stop all running instances, Managed Servers, Administration Server, and Node Manager in the domain.

Here is an example of the ‘upgradeJRF()’ command:

cd %MW_HOME%\oracle_common\common\bin

wlst.cmd

upgradeJRF('C:/biee11/user_projects/domains/bifoundation_domain')

 

Upgrade Fusion Middleware Security (OPSS)

This step is to upgrade the Fusion Middleware security piece. You can use ‘upgradeOpss()’ WLST command. Here is a syntax for the command.

upgradeOpss(jpsConfig="existing_jps_config_file", jaznData="system_jazn_data_file")

The ‘existing jps-config.xml file can be found under %DOMAIN_HOME%/config/fmwconfig/jps-config.xml and the ‘system_jazn_data_file’ can be found under %MW_HOME%/oracle_common/modules/oracle.jps_11.1.1/domain_config/system-jazn-data.xml.

And here is an example:

cd %MW_HOME%\oracle_common\common\bin

wlst.cmd

upgradeOpss(jpsConfig="c:/biee11/user_projects/domains/bifoundation_domain/config/fmwconfig/jps-config.xml", jaznData="c:/biee11/oracle_common/modules/oracle.jps_11.1.1/domain_config/system-jazn-data.xml")

exit()

Upgrade Code Grants for Oracle BI Domain

And this is the last step for the Fusion Middleware platform upgrade task. You need to run this python script ‘bi-upgrade.py‘ script to configure the code grants necessary to ensure that SSL works correctly for Oracle BI. However, even if you don’t use SSL, you still need to run this script. And if you have multiple BI domains (Enterprise deployment) then you need to run this on each domain.

Here is an example:

cd %MW_HOME%\oracle_common\common\bin

wlst c:\biee11\Oracle_BI1\bin\bi-upgrade.py --bioraclehome c:\biee11\Oracle_BI1 --domainhome c:\biee11\user_projects\domains\bifoundation_domain

 

Upgrade OWSM Policy Repository

This is to upgrade OWSM (Oracle Web Service Manager) policy repository, you can use WLST command ‘upgradeWSMPolicyRepository()’. In order to run this command you need to have your WebLogic Server up-and-running. Here is an example.

cd %MW_HOME%user_projects\domains\bifoundation_domain\bin

stopWebLogic.cmd

cd %MW_HOME%\oracle_common\common\bin

wlst.cmd


connect ('weblogic','welcome1','t3://localhost:7001')
upgradeWSMPolicyRepository()

exit()

Upgrade BI Catalogs

This step is required only when you have your BI Publisher integrated with BIEE. If your BI Publisher is deployed as a standalone then you don’t need to follow this step.

Now finally, you can upgrade the BI catalog. This won’t upgrade your BI Publisher reports themselves, but it just upgrades some attributes information inside the catalog. Before you do this upgrade, make sure the BI system components are not running. You can check the status by the command below.

opmnctl status

You can do the upgrade by updating a configuration file ‘instanceconfig.xml’, which can be found at %BI_HOME%\instances\instance1\config\coreapplication_obips1, and change the value of ‘UpgradeAndExit’ to be ‘true’. Here is an example:

<ps:Catalog xmlns:ps="oracle.bi.presentation.services/config/v1.1">
<ps:UpgradeAndExit>true</ps:UpgradeAndExit>
</ps:Catalog>

After you made the change and save the file, you need to start the BI Presentation Server. This time you want to start only the BI Presentation Server instead of starting all the servers. You can use ‘opmnctl’ to do so, and here is an example.

cd %ORACLE_INSTANCE%\bin
opmnctl startproc ias-component=coreapplication_obips1

This would upgrade your BI Catalog to be 11.1.1.5.


After the catalog is updated, you can stop the BI Presentation Server so that you can modify the instanceconfig.xml file again to revert the upgradeAndExit value back to ‘false’.


Start Explore BI Publisher 11.1.1.5


After all the above steps, you can start all the BI Services, access to the same URL, now you have your BI Publisher and/or BI 11.1.1.5 in your hands. Have fun exploring all the new features of R11.1.1.5!


image

Thursday, May 19, 2011

11.1.1.5 New Feature – More Data to Audit and Monitor

image
We believe Auditing and Monitoring capability for Reporting is crucial for the IT management and governance regardless if it’s enterprise level or department level deployment. So we are always committed to improve our BI Publisher Auditing and Monitoring capability since we introduced it for the first time
With the first release of 11g (11.1.1.3) we added this Auditing and Monitoring capability, which enables you to monitor who access to which report at what time.
With this new release of 11.1.1.5, we added more data to audit and monitor especially more BI Publisher reports specific information such as:
  • Report output format type
  • Layout Template name
  • Reporting locale
  • If the reports is run online (on-demand) or through the scheduler
  • Processing time
  • Reporting data size
  • Report error message
  • Scheduled job information
And these information can be all available through the database tables so you can use BI Publisher to generate your Auditing reports or visualize the data to gain more insights about how your users are doing on your reporting platform.
If you are interested in the power of the new BI Publisher Auditing and Monitoring, here is a video.


And, if you want to know how to enable the Auditing with the new data sets I’ll cover that below.

Enable Auditing Data

There are three things you need to do to enable the Auditing data.

Setup basic Auditing configuration

I have already talked about these steps before, take a look at these two posts for the detail.

  • How to Audit and Monitor BI Publisher Reports Access?
  • How to Visualize your Audit Data with BI Publisher?

    Run ‘xmlpserver_audit.sql’

    There is a SQL script that you can run to create an additional table, which will store more BI Publisher reports specific data to audit and monitor.
    Let’s take a look how to run the script step by step.
    1. Change the current directory to ‘%BI_HOME%user_projects/domains/bifoundation_domain/config/bipublisher/repository/Admin/Audit’.
    This directory should contain a file called ‘xmlpserver_audit.sql’ file.
    2. Run this script as SYS or SYSTEM user and alter the session user to the schema who owns the AUDIT tables.
    Example:
    Let’s say you have created the Audit schema with the RCU with ‘KAN_IAU’, then you can follow something like below.
    $ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Mon May 2 13:53:49 2011
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> alter session set CURRENT_SCHEMA = KAN_IAU;
    Session altered.

    Now you can run the ‘xmlpserver_audti.sql’ script. Note that, when you run you'll be prompted to enter the following three schema names.
    • Basic Auditing Schema name
    • Edit Auditing Schema name
    • View Auditing Schema name
    With the above example of using ‘KAN_IAU’ as your basic schema, it would be something like below.
    • KAN_IAU
    • KAN_IAU_APPEND
    • KAN_IAU_VIEWER
    Here is the example:
    SQL> @xmlpserver_audit
    Table created.
    Index created.
    Enter value for 1: KAN_IAU
    old 1: GRANT ALL on xmlpserver to &&1
    new 1: GRANT ALL on xmlpserver to KAN_IAU
    Grant succeeded.
    Enter value for 2: KAN_IAU_APPEND
    old 1: GRANT INSERT on xmlpserver to &&2
    new 1: GRANT INSERT on xmlpserver to KAN_IAU_APPEND
    Grant succeeded.
    Enter value for 3: KAN_IAU_VIEWER
    old 1: GRANT SELECT on xmlpserver to &&3
    new 1: GRANT SELECT on xmlpserver to KAN_IAU_VIEWER
    Grant succeeded.
    old 1: CREATE OR REPLACE SYNONYM &&3..xmlpserver FOR &&1..xmlpserver
    new 1: CREATE OR REPLACE SYNONYM KAN_IAU_VIEWER.xmlpserver FOR KAN_IAU.xmlpserver
    Synonym created.
    old 1: CREATE OR REPLACE SYNONYM &&2..xmlpserver FOR &&1..xmlpserver
    new 1: CREATE OR REPLACE SYNONYM KAN_IAU_APPEND.xmlpserver FOR KAN_IAU.xmlpserver
    Synonym created.
    After that you need to restart the WebLogic Server to take that in effect. Once that’s done, BI Publisher will start feeding all the auditing and monitoring related information into the auditing tables, and you should be able to start access to the data to create reports and visualize it with BI Publisher.

    Create Reports to Visualize

    If you have already finished the steps mentioned on the previous blog posts then you should already have a JNDI/JDBC connection created. If you haven’t yet, then take a look at the following post. 
  • How to Visualize your Audit Data with BI Publisher? Make sure you assign appropriate application roles to this data source connection so that you or any users who need to create reports for the BI Publisher Auditing and Monitoring data will have an access to the data source.
    image

    With this new set of data available, you can now start creating reports to gain more insights about how your users use the reporting platform and prepare for a better reporting experience by responding and adjusting promptly.

    Start with Sample Reports

    We’re planning to release a set of sample Auditing and Monitoring reports as part of our sample reports inside the catalog some time soon but till then you can start creating your own reports against the Auditing tables by using BI Publisher. For those looking for something quick, I’m attaching a sample report here
    You can download the above files and upload them to your BI Publisher 11g (11.1.1.5) environment from the BI Publisher Catalog UI, but make sure the following three points before you run.
    1. Change the Data Model reference inside the Auditing report to point to the Auditing Data Model that you uploaded
    audit_datamodel_reference
    2. Change the Data Source inside the Auditing Data Model to your JNDI connection
    audit_default_datasource
    3. Update the SQL query to point to appropriate schema name.
    audit_sql_query

    Path to Improve Reporting Experience

    Again, the Auditing is not just about collecting the auditing data and record it. It’s about how you as IT manager or administrator understand your users and reports on the reports environment in order to improve the reporting experience. The more you understand them the better service you can provide. We believe that the new release of BI Publisher 11.1.1.5 would provide you a wide range of data to help you understand your reporting environment better and quickly. Hope you’ll enjoy the power of new BI Publisher Auditing and Monitoring capability.
    Also, as always, we’re very interested in your feedback. Please let us know what do you think about the data currently available, the sample reports, any additional requirements or improvement suggestion.
  • 11.1.1.5 New Feature – More Data to Audit and Monitor

    image

    We believe Auditing and Monitoring capability for Reporting is crucial for the IT management and governance regardless if it’s enterprise level or department level deployment. So we are always committed to improve our BI Publisher Auditing and Monitoring capability since we introduced it for the first time

    With the first release of 11g (11.1.1.3) we added this Auditing and Monitoring capability, which enables you to monitor who access to which report at what time.

    With this new release of 11.1.1.5, we added more data to audit and monitor especially more BI Publisher reports specific information such as:

    • Report output format type
    • Layout Template name
    • Reporting locale
    • If the reports is run online (on-demand) or through the scheduler
    • Processing time
    • Reporting data size
    • Report error message
    • Scheduled job information

    And these information can be all available through the database tables so you can use BI Publisher to generate your Auditing reports or visualize the data to gain more insights about how your users are doing on your reporting platform.

    If you are interested in the power of the new BI Publisher Auditing and Monitoring, here is a video.

     

    And, if you want to know how to enable the Auditing with the new data sets I’ll cover that below.

    Enable Auditing Data

    There are three things you need to do to enable the Auditing data.

    Setup basic Auditing configuration

    I have already talked about these steps before, take a look at these two posts for the detail.

  • How to Audit and Monitor BI Publisher Reports Access?
  • How to Visualize your Audit Data with BI Publisher?

    Run ‘xmlpserver_audit.sql’

    There is a SQL script that you can run to create an additional table, which will store more BI Publisher reports specific data to audit and monitor.

    Let’s take a look how to run the script step by step.

    1. Change the current directory to ‘%BI_HOME%user_projects/domains/bifoundation_domain/config/bipublisher/repository/Admin/Audit’.

    This directory should contain a file called ‘xmlpserver_audit.sql’ file.

    2. Run this script as SYS or SYSTEM user and alter the session user to the schema who owns the AUDIT tables.

    Example:

    Let’s say you have created the Audit schema with the RCU with ‘KAN_IAU’, then you can follow something like below.

    $ sqlplus / as sysdba

    SQL*Plus: Release 11.2.0.1.0 Production on Mon May 2 13:53:49 2011

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.

    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options

    SQL> alter session set CURRENT_SCHEMA = KAN_IAU;

    Session altered.

     

    Now you can run the ‘xmlpserver_audti.sql’ script. Note that, when you run you'll be prompted to enter the following three schema names.

    • Basic Auditing Schema name
    • Edit Auditing Schema name
    • View Auditing Schema name

    With the above example of using ‘KAN_IAU’ as your basic schema, it would be something like below.

    • KAN_IAU
    • KAN_IAU_APPEND
    • KAN_IAU_VIEWER

    Here is the example:

    SQL> @xmlpserver_audit

    Table created.

    Index created.

    Enter value for 1: KAN_IAU

    old 1: GRANT ALL on xmlpserver to &&1

    new 1: GRANT ALL on xmlpserver to KAN_IAU

    Grant succeeded.

    Enter value for 2: KAN_IAU_APPEND

    old 1: GRANT INSERT on xmlpserver to &&2

    new 1: GRANT INSERT on xmlpserver to KAN_IAU_APPEND

    Grant succeeded.

    Enter value for 3: KAN_IAU_VIEWER

    old 1: GRANT SELECT on xmlpserver to &&3

    new 1: GRANT SELECT on xmlpserver to KAN_IAU_VIEWER

    Grant succeeded.

    old 1: CREATE OR REPLACE SYNONYM &&3..xmlpserver FOR &&1..xmlpserver

    new 1: CREATE OR REPLACE SYNONYM KAN_IAU_VIEWER.xmlpserver FOR KAN_IAU.xmlpserver

    Synonym created.

    old 1: CREATE OR REPLACE SYNONYM &&2..xmlpserver FOR &&1..xmlpserver

    new 1: CREATE OR REPLACE SYNONYM KAN_IAU_APPEND.xmlpserver FOR KAN_IAU.xmlpserver

    Synonym created.

    After that you need to restart the WebLogic Server to take that in effect. Once that’s done, BI Publisher will start feeding all the auditing and monitoring related information into the auditing tables, and you should be able to start access to the data to create reports and visualize it with BI Publisher.

    Create Reports to Visualize

    If you have already finished the steps mentioned on the previous blog posts then you should already have a JNDI/JDBC connection created. If you haven’t yet, then take a look at the following post. 

  • How to Visualize your Audit Data with BI Publisher?

    Make sure you assign appropriate application roles to this data source connection so that you or any users who need to create reports for the BI Publisher Auditing and Monitoring data will have an access to the data source.

    image

     

    With this new set of data available, you can now start creating reports to gain more insights about how your users use the reporting platform and prepare for a better reporting experience by responding and adjusting promptly.

    Start with Sample Reports

    We’re planning to release a set of sample Auditing and Monitoring reports as part of our sample reports inside the catalog some time soon but till then you can start creating your own reports against the Auditing tables by using BI Publisher. For those looking for something quick, I’m attaching a sample report here

    • Sample Auditing Report
    • Sample Auditing Data Model

    You can download the above files and upload them to your BI Publisher 11g (11.1.1.5) environment from the BI Publisher Catalog UI, but make sure the following three points before you run.

    1. Change the Data Model reference inside the Auditing report to point to the Auditing Data Model that you uploaded

    audit_datamodel_reference

    2. Change the Data Source inside the Auditing Data Model to your JNDI connection

    audit_default_datasource

    3. Update the SQL query to point to appropriate schema name.

    audit_sql_query

    Path to Improve Reporting Experience

    Again, the Auditing is not just about collecting the auditing data and record it. It’s about how you as IT manager or administrator understand your users and reports on the reports environment in order to improve the reporting experience. The more you understand them the better service you can provide. We believe that the new release of BI Publisher 11.1.1.5 would provide you a wide range of data to help you understand your reporting environment better and quickly. Hope you’ll enjoy the power of new BI Publisher Auditing and Monitoring capability.

    Also, as always, we’re very interested in your feedback. Please let us know what do you think about the data currently available, the sample reports, any additional requirements or improvement suggestion.

  • Thursday, May 12, 2011

    BI Publisher 11g - 11.1.1.5 is here!

    New Oracle BI Publisher 11g Release 11.1.1.5 is released! Here is a list of the new features.

    clip_image002

    Much Faster Interactive Reporting Experience

    Using BI Publisher to interact with your data is snappy. Generating interactive report output uses less memory and is faster than ever. BI Publisher’s highly optimized, three layer caching mechanism provides a highly responsive, interactive reporting experience.

    New Interactive Component - List

    The List component is a nifty way to filter data in an interactive report. When you click values in the list, BI Publisher automatically filters the data in the report. In the Layout Editor you can set the orientation of the List to be horizontal or vertical and over 30 other options to make it visually appealing for your consumer needs. Lists are another great way to interact with your report to gain more insight.

    clip_image004

    clip_image007

    Both Native and Web Apps for iPhone & iPad

    More and more business tasks are performed on mobile devices like iPhone and iPad, so why not browse reports and interact with your data on your mobile device with BI Publisher? Simply access your BI Publisher reports with Safari or other browsers on your iPad or iPhone, or install the Oracle BI Mobile App for iPhone and iPad to enjoy the same rich, fast interactive reporting experience as on your desktop or laptop.

    Enterprise Reporting Platform for Oracle - E-Business Suite

    BI Publisher now supports Oracle E-Business Suite’s data level security based on user responsibility and allows you to switch responsibilities on the fly. You can use BI Publisher 11.1.1.5 to view, manage, and deliver reports against E-Business Suite data and join and aggregate with data from other data sources. Utilities are available to help you convert from Oracle Reports and upgrade to BI Publisher 11g. Start taking advantage of many of the great BI Publisher 11g new features with your E-Business Suite data today.

    clip_image008

    clip_image010

    New Data Source – Local Excel File

    Often times you need data in Excel to supplement other data or you need to visualize it quickly. BI Publisher 11.1.1.3 added Excel files as a data source so you could create a report against Excel data located on the server. BI Publisher 11.1.1.5 goes one step further. Now you can upload Excel spreadsheets from your local machine directly to a Data Model. Create reports from the uploaded Excel spreadsheet or join it and aggregate it with other data sources. Reporting with local Excel files is a great way to empower your users to visualize and share data easily and still maintain a centralized report environment.

    New Template Type - Excel Template

    Some users just love Excel, so we added Excel as a report layout design option. In addition to the existing template options like BI Publisher Templates, RTF, PDF, Flash, and others, you can now use Excel to design your report the way you want, using custom functions and Excel Macros to split data across multiple sheets, calculate values dynamically, then share with your colleagues.

    clip_image012

    clip_image014

    Auditing and Monitoring

    Auditing is not just about compliance, it’s a way to improve customer service by understanding what your users like to do, when and how they access and view reports. BI Publisher 11.1.1.3 included a framework to help IT Administrators collect data required for auditing. BI Publisher 11.1.1.5 enhances the audit and performance information captured and introduces a method to store the data into a database. Now you can use BI Publisher to visualize, analyze and report on your auditing and performance information.

    New Output Format Type – Native Excel 2007 Output

    Now you can download your report as Excel 2007 format and open it with the latest Excel on both Windows and Mac with high fidelity formatting and layout. You can use repeating groups in your report to automatically group data in separate worksheets. With this format option the downloaded Excel file is 70% smaller compared to other Excel output types, which makes it easier to share your report in Excel with your colleagues.

    clip_image015

    clip_image017

    Reports Development Life Cycle Management

    Developing reports often involves multiple phases and processes before going live. Reports need to be moved to a testing environment after the development and then to the production environment. You can use the new BI Publisher Catalog Utility to move your reports either one at a time or in batch from one environment to another all without shutting down servers so users can continue to generate the mission critical documents and reports they need.

    Want to learn more about BI Publisher?

    clip_image019

    Follow us @bipublisher for our latest news, inside scoop, or tweet us your feedback!

    clip_image021

    Connect with other BI Publisher professionals!

    clip_image023

    Find How-to and solutions over 500 articles!

    clip_image025

    Subscribe our channel and check our introduction and How-to videos!

    clip_image027

    Ask any question you have and get answered at our Discussion Forum!