Sunday, 22 December 2013

OBIEE 11g Interagtion with MS-Office (Installation & Configuration)


Here are the Steps to configure the MS-Office in OBIEE 11g environment.

Step1. Download Oracle BI for MS Office from OBIEE 11g Home Page.

Step 2. Run the Installer and complete the installation as below.
(Before this installation, you may need to install the .Net Framework 2.0 or later.)



Step 3. Open Microsoft Power Point (or Excel). You will be prompted with a window like this.
Select "Do not show this dialogue again" and then click Ok.

Step 4. The Preferences window will open and you need to select NEW connection.

Step 5. Click on New button to create a new connection as below.
Details are here:

Server Name             : You can give any name . I have given BI Server here.

BI Office Server       : Give your sever name. (If you have installed obiee in your local machine then give localhost or your machine name.)

Application Name     : bioffice by default (leave it unchanged).

Port                            : 7001

Step 6. Test the connection.

Step 7. Verify the connection details as below.

Step 8. Click Ok to complete the setup.
Step 9. Open the Power Point and you will see the Oracle BI add-on in the tab as below.

Step 10. Click the login button and enter the credentials.

Step 11. You will get an error like this ...!!!!

No Worries , This happens because in the Step 6 you have give the PORT as 7001 and the default bioffice port is 9704.

This is because in bioffice.xml file.

[C:\OBI11g\user_projects\domains\bifoundation_domain\servers\AdminServer\tmp\_WL_user\bioffice_11.1.1\hsq62b\war\WEB-INF] SawBaseURL is pointing to 9704 port.

Step 12. Change it to 7001 and then Save the file.

Step 13. Restart the services from EM. [http://yourservername:7001/em] and then try login again, it should work.

Step 14. Once you are logged in, you will see the BI catalog on the right pane of Microsoft PowerPoint.

Create the Required reports form the available subject area in the right side plane.

Tuesday, 17 December 2013

nQSError: 37005 Transnational Update Failed

This issue was there since version 11.1.1.3.x. It will appear if you edit an OBIEE repository in online mode.The administrator tool for editing the RPD is unable sometimes to acquire an exclusive lock on the objects, that in turn causes the error message.Checking in the changes on a regular basis will reduce the occurrence of this error.
  • One more thing you can try for this bug is,
Failures that trigger this error are normally written to the NQServer.log file located in C:\Middleware\instances\instance1\diagnostics\logs\OracleBIServerComponent\coreapplication_obis1
Check this file for errors like "has name with leading or trailing space(s)". Fix that, check for consistency and save. Then restart the services.
As per my knowledge, this should be the most preferable solution.
  • As a temporary solution, the following workaround can be used.
  1. After you click on the Check-in button, do Consistency Check.
  2. Click ‘Save’ button.It will display the ‘nQSError: 37005 Transnational Update Failed’ error.
  3. Click ‘Save’ one more time despite the error.
  4. Click the ‘Close’ button.You will get a prompt, Do you want to check in the changes?
  5. Select ‘Yes’, you will get the error again.
  6. Click the ‘Close’ button again.Then you will get a prompt, Do you want to check in the changes?
  7. Select ‘No’.Then the RPD will close.
  8. If the RPD says ‘your changes will get saved’ then it means that your changes will be there when you re-open the repository.
  • To permanently resolve this Bug 9884975, apply patch number 12909840 to your OBIEE platform. Oracle Support released a patch for the [nQSError: 37005] Transaction update failed error.
    Remember that you have to ask the patch password (by opening a new SR) in order to download it.

Sunday, 15 December 2013

The connection has failed in BI Admin Tool


After the installation of OBIEE 11g, everyone go for creating a new repository. but there's a problem.
You will be getting an error saying, "The connection has failed" while importing the data from database.

This is a behaviour change when we move from 10g to 11g. In BI EE 10g, there was no Oracle Client bundled along with BI EE. So, BI EE will use your Oracle DB Home client to connect to the database. Generally no issues in that case. But in BI EE 11g, the software itself contains the 11.2 DB client. So, when you try to connect to the database through the Repository or BI Server, it will try to find the tnsnames entry in the Oracle Client of BI EE 11g instead of your database.

But there's a way for every problem.. Follow these steps to overcome this issue.

1. Copy the tnsnames.ora from Oracle Database home location
This is a location where your database is installed.
E:\app\Sagar\product\11.2.0\dbhome_1\NETWORK\ADMIN to the following locations.
  • C:\OBIEE\Oracle_BI1\network\admin
  • C:\OBIEE\oracle_common\network\admin
2. Set the TNS_ADMIN environment variable value with one of the copied locations in the step 1 in user.cmd or user.sh file depending on your OS.

This file will be found under,
C:\OBIEE\instances\instance1\bifoundation\OracleBIApplication\coreapplication\setup

3. You may need to restart the BI Components apply these changes.

That's solved.

Tuesday, 10 December 2013

Upgrading the Oracle BI Repository from 10g to 11g.

To upgrade the OBIEE 10g repository and presentation catalog, perform the following steps by using the Upgrade Assistant utility. Please note that the Weblogic Administration Server and the Managed Server in the 11g environment must remain running during the upgrade process.

1) Navigate to the ORACLE_HOME\Oracle_BI1\bin directory of the Oracle Fusion Middleware installation. In this example, the directory path is C:\obi11g\Oracle_BI1\bin

2) Double-click ua.bat to open Upgrade Assistant in the graphical user interface mode. This tutorial describes how to use Upgrade Assistant in the graphical user interface mode. You can also use the Upgrade Assistant command line to perform these tasks.

Step 1. On the Welcome screen, click Next.

Step 2. On the Specify Operation screen, select Upgrade Oracle BI RPD and Presentation Catalog and click Next.

Step 3. On the Specify Source Details screen, select Upgrade Repository (RPD).

  • Click Browse next to the RPD File field.
  • Browse to the location of the 10g version of the Sample Sales repository and click Open. 
  • The path to ABC.rpd is added to the RPD File field.
  • Enter the Administrator User Name and Administrator Password for the 10g ABC repository. In this example, the username and password are both Administrator.
  • Enter and confirm a password that will be used to secure the upgraded 11g repository. This password is required for 11g repositories. It does not have to match the 10g repository password or any other password. In this example, the password is Admin123
  • Click Next to continue.


Step 4. On the Specify Weblogic Server screen, enter the Weblogic Admin Server port number. Typically the port number is 7001.

Thursday, 21 November 2013

Your browser is not supported by Oracle BI Presentation Services.

If you want to use the OBIEE 11.1.1.5.0 with Firefox 10+ there is one work around. Please perform following steps:

According to the Latest Oracle Certification Matrix, 11gR1 (11.1.1.3+) supports "Internet Explorer 7.x, Internet Explorer 8.x and .Firefox 3.5+"

But there are exceptions too..

Exceptions and Additional Information:

  1. Oracle Business Intelligence Publisher is certified in IE8.x with standards mode.
  2. Bi-Directional support for IE7.x is not available.
  3. Browser support is no longer based on Operating Systems but strictly tied to the browser themselves, no matter which Operating Systems they are installed on.
  4. RTD is only supported on IE"

Solution:

  1. Type “about:config” into an address bar.
  2. Click "I'll Be careful, I Promise." to the warning displayed.
  3. Right click anywhere and choose New -> String.
  4. Name it “general.useragent.override”.
  5. Put the value “Mozilla/5.0 (Windows; Windows NT 6.1; rv:10.0) Gecko/20100101 Firefox/9.0?
  6. Refresh OBIEE login screen.
Problem solved......!!!! :-)

Tuesday, 19 November 2013

OBIEE 11g (11.1.1.7.0) Step By Step Installation on Windows x86_64

In the previous post I have posted the steps RCU installation. We can take this as a continuation of that post. Please follow all the prerequisites before going to Install BI 11g system.

Note that the examples in this article assume that you have given this environment the host name Sagar-PC, so if you can change the host-name to this, it will make the examples easier for you to follow.

Note: Make you IP Address static:
Configure the Windows environment to use the Microsoft Loopback / Network adapter to set your IP static, and edit the "hosts" file to resolve the machine name to the loop-back adapter's IP address by following these steps.

If you don't know how to install and configure Microsoft Loopback adapter, refer this link.
Installing Microsoft Loopback Adapter on Windows 7 machine

After this step, simply restart your system to reflect your changes. (Mandatory)

Download the OBIEE 11g (11.1.1.7.0) from Oracle eDelivery or from the below link:

http://www.oracle.com/technetwork/middleware/bi-enterprise-edition/downloads/bi-downloads-1923016.html

If you have not done already, please download BI 11g installation files. Please make sure all the zipped files have downloaded correctly and unzipped into a single folder. Make sure that, no spaces are there in the folder path where setup files are located. For this practice, the path is "E:\OBIEE-11.1.1.7.0\OBIEE\bishiphome".

From unzipped folder for OBIEE installer, go to Disk1 and start the installation by double clicking on setup.exe to launch Oracle Universal Installer. OBIEE 11g is also just like other Oracle products, uses standardized Universal Installer.

Oracle Universal Installer will be launched and It will come to the first step screen.

Step 1. Oracle Universal Installer will start the OBIEE 11g setup screen. Click 'Next' with the below screen.

Step 2. In this step we have to select Software Updates option. If We are having oracle support id then we can select second option or if you are having update files in any directory we can go with third option. I have selected 'Skip Software Updates' and clicked 'Next'.

Step 3. We will use Enterprise Installation type so that we can take the full advantage of  OBIEE 11g components and the Installer will install and configure all the required components with default settings. Make sure to select 'Enterprise Install' and click 'Next' to continue.

Step 4. 'Next' to continue the installation once the prerequisite is checked wit this screen.

Step 5. In this step, we are creating 'New BI System'. Select second option if you want the scale out the existing BI System.
User Name: weblogic
User Password: Password123
Conf Password: Password123
Give the above credentials in the boxes of below screen and click 'Next' to continue the installation.

Step 6. Create an empty folder in any of the driver where you want to install the BI System and select that folder with the below screen to create BI System folder in it. Here, just provide location for 'Oracle Middleware Home Location', it will automatically create various folders within the provided location.

Just click 'Yes' to the following warning.

Step 7. Select the appropriate components from the available options. (If you are planning to install 'Oracle Business Intelligence Applications' (OBIA) also, then you must select the following four options.)

Step 8.  In this step we have to give the details of RCU schemas. Select appropriate database type and give all other details to go to next screen. I have installed RCU in Oracle Database.
So the detail is like below:

          Database Type: Oracle Database
          Connection string: localhost:1521:orcl
          BIPLATFORM Schema: DEV_BIPLATFORM
          BIPLATFORM Password: password
               
               (* This is the password you have set while installing RCU.
                    Make sure, your database is open and started.)
                 
Give the above mentioned details with the below screen and Click 'Next'.

Step 9.  This step is same like above step but we have to give MDS Schema details.

           Database Type: Oracle Database
           Connection string: localhost:1521:orcl
           BIPLATFORM Schema: DEV_MDS
           BIPLATFORM Password: password

Give the above mentioned details with the below screen and Click 'Next'.

Note: If you had selected the options for 'Use same Passwords for all schemas' while creating RCU, then it will automatically import all this information for the DEV_MDS schema.

Step 10. If you are installing BI in your machine first time and do not have any BI system before this, then Select first option 'Auto Port configuration' and Click 'Next'

But if you are having any other OBIEE versions running on same machine, then, to avoid the port number conflict select second option 'Specify Ports using Configuration file'.

Here, I have installed with the default port numbers.

Step 11. In this step It will ask for an email address for security updates.

Deselected check box from My oracle support, so It will give small screen which will ask for confirmation.
Click Yes.

Step 12. This step will give the overview of BI system which is going to create. If you want, Click 'Save' Button and save the details in a text file and store it for future purpose. After that click 'Install'.

Step 13. This step will copy and Install all the necessary files from source folder into BI folder.

After the successful 100% installation progress with the above step, It will come to this step automatically for configuration of all those components.

Step 14. Click 'Next' with this step after the configuration is 100% complete.

Step 15. After the successful completion of above step we are coming to final step of OBIEE 11g installation. Click 'Finish'.

With the above step the installation of  OBIEE 11g is  completed.
Go to Start -> All Programs -> Oracle BI Intelligence -> Start BI Services.

Open any browser and type: 'http://machine_name:9704/analytics' to play with Oracle Answers and Dashboard.

Enter the credentials as what we installed at the time of installations.

In this practice, Username: weblogic
                        Password: Password123

Now we are ready to play with BI 11g system.

Saturday, 9 November 2013

OBIEE 11.1.1.7.0 RCU Installation

If you have installed database already on your system, you can simply skip this section.

Before we starting the installation of RCU, we need to choose that which database we are going to use in our application. Here I am giving how to run RCU in Oracle database on our local machine. It is good to install Oracle Database Enterprise Edition to take full advantage of database for data types like spatial data or features like OLAP.

Installation Prerequisites:

Here I am giving the installation steps that how I have installed RCU in windows 64-bit Operating system.
  • Minimum of 4 GB RAM required, 3 GB RAM would work but, system would be slow.
  • Minimum of 50 GB hard disk memory required.
Do not use any directory name with space while installing/working with Oracle DB and OBIEE.

Installing Oracle Database with the following settings:

  • System Class : Server Class
  • Grid Installation Options : Single instance database installation
  • Select Install Type : Advanced Install
  • Select Database Edition : Enterprise Edition
  • Select Configuration Type : Data Warehousing
  • Specify Configuration Options : Character Sets > Use Unicode (AL32UTF8)
  • Specify Configuration Options : Security > Un-check Assert all new security settings
  • Specify Schema Passwords : Use the same password for all accounts ("Welcome1")

Installing RCU:

OBIEE 11g is now standardized with Oracle fusion middleware and hence leverage database for metadata storage just like any other middleware product. So here we are going to install BI11g metadata schema on oracle database you just installed and configured. Same process can be leveraged to install metadata schema on other supported databases as well.
If you have not done already, please download RCU installation files from below URL:

http://www.oracle.com/technetwork/middleware/bi-enterprise-edition/downloads/bi-downloads-1923016.html

Locate Required Additional Software's: 

Please make sure all the zipped files have downloaded correctly and unzipped into a single folder.

1) Now we will start the installation of metadata schema using Repository Creation Utility (RCU).

2) From unzipped folder for RCU, run rcu.bat file to start the Repository Creation Utility: 
For this practice, rcu.bat file is located under E:\Softwares\OBIEE-11.1.1.7.0\rcuHome\BIN directory.

Please make sure that, there are no any spaces in the folder path where setup files are located.

3)  RCU utility will launch the GUI based wizard to guide you through the steps. Click Next to continue.

4) Select Create from the below screen and click Next.

5) In the below step Make sure database type is Oracle Database and enter following information to continue.

6) Since we are using oracle database, RCU will show a warning message that you can just ignore and can continue the installation.

7)  Click OK to continue once RCU validates and initializes database configuration.

8) In the next step it will ask for the prefix to create the metadata schema. By default it is showing 'DEV'. If we want to change the prefix we can  change it. From the below window select appropriate schema which we need to install. I have selected only two which is showing in the screenshot.

9) Click 'Next' from the above screen to create schema and the click 'OK' once RCU shows schema creation prerequisites check completed.

10) In the next step, Enter password for both the schema as you like with the password conditions (such as alphabet, numeric and with special character) and click 'Next' to continue.

11) Click 'Next' with the above step to have RCU create the selected schema.

12) Click 'OK' to continue creation of tablespace.

13) Once tablespace created, click 'OK' to continue.

14) Now RCU will create required schema objects within the tablespace just created. So Click 'Create' with next step and continue.

15) Click 'Close' to finish RCU wizard once schema are created successfully.

With the above step the installation of RCU is completed.

Note:
Remember the password which we have given for all the  users/schema so far and we will continue to use the same password. We will need this password for BI installation as well to let BI installer knows where the metadata schema located and what is the password to connect to the schema. Now we can log-in to the oracle database and can whether that two schema (DEV_BIPLATFORM, DEV_MDS) is available.

After completing this session, you can refer the following link to go ahead with the installation of OBIEE 11.1.1.1.x version.

http://obieenow.blogspot.in/2014/01/OBIEE-11.1.1.7.0-Step-By-Step-Installation-on-Windows-x86-64.html

Happy blogging..!! :-)