Wednesday, September 24, 2014

OBIEE 11g Refresh the GUIDs and Validate the Catalog. Solving "The Oracle BI server is not running Repository had to be closed"


Catalog Validation is a two step process.

i)  Refresh the GUIDs
ii)  Validate the Catalog

Let see how they can be done,

REFRESH THE GUIDS:

To refresh user GUIDs, perform the following steps.

1) Stop the BI Services
Start -> Programs -> Oracle Business Intelligence -> Stop BI Services

2) Take the backup of Catalog, instanceconfig.xml and nqConfig.ini into a separate folder.

3) Update the FMW_UPDATE_ROLE_AND_USER_REF_GUIDS parameter in NQSConfig.INI,
    FMW_UPDATE_ROLE_AND_USER_REF_GUIDS = YES

4) Update the Catalog element in instanceconfig.xml,
    Locate the Catalog element and update it as follows:
    <Catalog>
    <UpgradeAndExit>false</UpgradeAndExit>
    <UpdateAccountGUIDs>UpdateAndExit</UpdateAccountGUIDs>
    </Catalog>

5) Start the BI Services
Start -> Programs -> Oracle Business Intelligence -> Start BI Services

Note: Once you have started the BI Services, GUIDs will be refreshed and the BI presentation service will stop automatically once it is done.

6) Now restore the backup version of the instanceconfig.xml that you created earlier in step-2.

7) Start the BI Services
Start -> Programs -> Oracle Business Intelligence -> Start BI Services

VALIDATE THE CATALOG:

To validate the catalog, perform the following steps.

1) Stop the BI Services
Start -> Programs -> Oracle Business Intelligence -> Stop BI Services

2) Take the backup of Catalog, instanceconfig.xml and nqConfig.ini into a separate folder.

3) Update the Catalog element in instanceconfig.xml,
    Locate the Catalog element and update it as follows:
    <Catalog>
    <Validate>OnStartupAndExit</Validate>
    <ValidateAccounts>Clean</ValidateAccounts>
    <ValidateHomes>Report</ValidateHomes>
    <ValidateItems>Clean</ValidateItems>
    <ValidateLinks>Clean</ValidateLinks>
    </Catalog>

4) Start the BI Services
Start -> Programs -> Oracle Business Intelligence -> Start BI Services

Note: Once you have started the BI Services, catalog validation will be done. Presentation Services will be stopped automatically once validation completed.

5) Now restore the backup version of the instanceconfig.xml that you created earlier in step-2.

6) Start the BI Services
Start -> Programs -> Oracle Business Intelligence -> Start BI Services

Note:
Above procedure helped me in resolving one issue in which i was unable to start BI Presentation Services  after doing any change in the repository (rpd file).
Below was the error message,
"The Oracle BI server is not running. Repository had to be closed."

Sunday, September 21, 2014

OBIEE 11g How to create MDS and BIPLATFORM schema using Repository Creation Utility RCU



Before installing OBIEE 11g, you must have to install two schemas BIPLATFORM and MDS in your database.
To install these schemas ORACLE has provided a utility called Repository Creation Utility (RCU).
This utility can be downloaded from below location
http://www.oracle.com/technetwork/middleware/bi-enterprise-edition/downloads/bi-downloads-1525270.html




I have downloaded Windows 32-bit version and extracted to below location:
Open Bin directory and execute rcu.bat as administrator users and follow the below steps.




Click ‘Run’ …

 
Click ‘Next’ …


Click ‘Next’ …



Provide your database credentials as shown below.
Here it is important to provide a user with SYSDBA privileges.

Click ‘Next’ …



 
You can ignore above warning message …

 
Select "Oracle Business Intelligence"


 


Provide password for MDS and BIPLATFORM schema.



Click ‘Next’ …


It will notify for new tablespace creation. Click ‘OK’ to proceed …






Click ‘Create’ for schema creation …







You are done …

Cheers ;)

Saturday, September 20, 2014

OBIEE 11g after upgrade Administration link is missing



obiee 11g after upgrade Administration link is missing


Problem:
Unable to see ‘Administration’ link or dashboards in Analytics using weblogic user in OBIEE 11g after upgrade from 10g to 11g 


Solution:
If you encounter such a problem then following are steps to resolve the issue.

Step-1:
Login to Analytics
http://myserver:9704/analytics

Step-2:
Manually change URL by replacing the last word “bieehome” with “Managegroups”, as shown below

Original URL:

After changing:

Once you open modified URL, you will see below page



Search “Presentation Server Administrators” group and then select to edit,

You will see below window appear at the right side of the screen,



Add weblogic user to the Administrators application role by performing actions # 1,2,3,4,5 as show in above image.

Log out and log back in with the weblogic user.

You should now be able to see the “Administration” link at the top right, and also the dashboards by clicking or mousing-over the Dashboards link/dropdown.