Friday, September 25, 2015

Step by Step Installation of OBIEE 11g version 11.1.1.7 on top of SQL Server RCU


Infrastructure of the Environment:
OS : Windows 2008 R2 64 bit Server
RAM : 5 GB
Environment : VM
OBIEE Version : 11.1.1.7
Repository Database : MS SQL Server 2008
Since i am installing OBIEE on a VM with DHCP (Dynamic Host Configuration Protocol) Environment. Oracle recommends to install Loopback Adapter.
Note: You do not require to install Loopback Adapter if you are installing on server with fixed IP.
Installation Check list:
  • Install Loopback Adapter
  • Install RCU
  • Install & Configure OBIEE 11g
Installation Instruction:
Installing Loopback Adapter:
Right click on My computer and select properties Click on Advanced System Settings on the Top Left Corner and select Device Manager.
Right Click the Computer Name and Select Add Legacy Hardware as shown in the screenshot below.
1
From the hardware window. Select Install the hardware that I manually select from a list (Advanced) radio button and click next.
5
From the Hardware Types list. Select Network Adapters and click Next.
6
From the list Select Microsoft as manufacturers (Left Side) and Microsoft Loopback Adapter on the right side and click Next.
7
The wizard will install Microsoft Loopback Adapter.
8
Once the wizard completes the installation. Click Finish.
9
Now you will see the Microsoft Loopback Adapter under the Network Adapters on Device manager window.
2
Now go to Control Panel. Click on Network & Sharing Center and select change adapter settings on the network sharing window.
12
Click on Properties on the Loopback Adapter.
13
Deselect every check box except Internet Protocol Version 6 and 4.
Now click on Internet Protocol Version 4 Properties as shown below and enter
IP Address: 10.10.10.10
Subnet Mask: 255.255.255.0
14
Click OK. Now Microsoft Loopback Adapter will show under the active networks.
3
That completes the installation of Micorsoft Loopback Adapter.
Installing RCU:
There are few changes to be done on the SQL Server side. For this blog, I have created a Database named RCU to store the OBIEE Repository Tables. Once the Database is created. Run the below queries as shown in the screenshot.
ALTER DATABASE DATABASE_NAME SET READ_COMMITTED_SNAPSHOT ON
ALTER DATABASE DATABASE_NAME COLLATE LATIN1_GENERAL_CS_AS
1
2
After running the above scripts. Navigate to RCU.bat which is located inside RCU folder –> BIN. The RCU Welcome screen pops up. Click Next
3
Select Create Radio button and click Next.
4
Under the Database Connection Details. Select Microsoft SQL Server under Database Type. Unicode Support to Yes.Fill in the necessary connection parameters. In my case,
Server Name : Localhost
Port : 1433
Database Name : RCU
Username : Username to connect to RCU Database.
Password : Password to login to RCU Database.
Make Sure the username has DBA or SYSDBA Privileges. And then Click Next
5
RCU checks the Prerequisites. Once it is completed click OK and then Next.
6
Under the Components Select DEV_MDS and DEV_BIPLATFORM and then click Next.
7
You can either give the same password for all the schemas or specify different passwords. In my case, I have chosen the same passwords for all the schemas.Click Next
8
The RCU starts creating all the necessary tables.
9
Once the tables are created. You can look into the summary of the installation.
10
That completes the Installation of RCU on a MS SQL Server.
Installing OBIEE :
Download all the required files from Oracle eDelivery or Oracle.com.Unzip all the files on the same folder.
16
Open the Disk 1 Folder and then double click on setup
17
Oracle Universal Insaller opens up.
18
19
Oracle Installation steps open up. Click Next.
20
You can skip the software updates(Which is not recommended by Oracle)
21
Select the Type of Install. Select Entreprise Install radio button and click next.
22
The installer checks the Prerequisite for the installation. Once all the Prerequisites are cleared, click next.
23
Now you can either scale out the BI system or create a new BI system. Enter the Username and Password.
24
Enter the location where you would like to install the Middleware. Click Next.
25
26
Select the components you would like to install. Click Next
27
You can select Auto Port Configuration or if you would like to manually enter the ports. then you would have to create ini file and select the file.
I choose Auto Port Configuration. Click Next.
30
Select Microsoft SQL Server as the Database Type as i have installed RCU on Microsoft SQL Server.
Connect String: hostname:Port Number:Database Name
BIPlatform User Name: Enter the User Name
BIPlatform Password: Enter the Password
After you enter the required information, click next.
28
29
I skipped the secutiry updates (which is not recommended by oracle)
31
32
You will get to the summary of installation. Click Install
33
34
35
36
Once the installation completes. The configuration process starts.
37
38
39
Once the installation & Configuration process completes without any errors. Click Finish.
40
The username to login is the username and password provided for weblogic.
41
42
That is the completion of OBIEE installation.

Sunday, September 6, 2015

Customizing Seeded Reports



1 About Customizing Reports
Many Oracle products integrate with BI Publisher to provide the reporting functionality needed for the product. Many products also provide prepackaged reports. To customize the prepackaged reports, you have three options:
  • Customize the original report.
Oracle strongly discourages modifying the original reports provided with Oracle products because any modifications are overwritten when Oracle provides a patch that updates the original report. If you choose to modify the original report, you must reapply your report changes when a patch updates the original report.
  • Copy the report and customize the copy.
To avoid the risk of overwriting your customizations, an alternative is to make a copy of the report and customize the copy. With this option, you must also consider whether the original report is called by an application or process (such as the Oracle Enterprise Scheduler). These processes are typically coded with the report catalog path, therefore to enable them to execute your custom report, you must also make additional customizations to the calling application code to point to the customized copy of the report in the catalog.
  • Use the Customize feature.
To facilitate the customization of prepackaged application reports, BI Publisher provides the Customize feature. When you select the Customize option for a report, BI Publisher creates a copy of the report in the "Custom" folder. This custom copy is linked internally to the original report. You can customize the custom copy of the report, leaving the original report intact. When users initiate a request to run the original report, whether from the BI Publisher catalog or through an application process, BI Publisher detects the customized version and runs your custom version instead.
The Customize feature provides the following benefits:
  • Enables a customization process that mimics the convenience of an "in-place" customization. BI Publisher automatically creates the copy and the mapping.
  • Removes the requirement to edit calling processes or applications to execute the custom report. Although you customize the copy, BI Publisher automatically sends all requests to run the original report to the custom copy instead.
  • Removes the risk of patches overwriting your customizations of prepackaged Oracle reports.
2 Prerequisites and Limitations of the Customization Feature
Following are the prerequisites for and limitations of this feature.
2.1 Prerequisites
To enable the Customization option for reports, the following requirements must be met:
Catalog Requirements
  • BI Publisher must use a shared catalog with Oracle BI Enterprise Edition.
  • A folder named "Custom" must exist directly under Shared Folders. If the Custom folder is not seeded by your application, an Administrator can create it. The Administrator must grant the Write permission to the BI Author role for the Custom folder.
  • Reports that are to be customized must reside in the folder hierarchy under Shared Folders. Reports under My Folders cannot be customized using this feature.
User Requirements
Following are requirements for a user to customize a report:
  • A user must be granted the BI Author role (or a role that includes the permission oracle.bi.publisher.developReport)
  • A user must be granted these permissions on the original report in the catalog:
    • Read
    • Run Publisher Report
  • A user must be granted these permissions on the Custom folder in the catalog:
    • Read
    • Write
  • The user must be granted access to the data model and data source of the original report if the same data model is used.
Following are requirements for a user to view a report in the Custom folder:
  • A user must be granted the BI Consumer role
  • A user must be granted these permissions on the original report in the catalog:
    • Read
    • Run Publisher Report
  • A user must be granted these permissions on the Custom report in the catalog:
    • Read
    • Run Publisher Report
  • The user must be granted access to the data model and data source of the original report if the same data model is used.
2.2 Limitations
Following are limitations of the Customize report option:
  • The Customize option is not available through the /analytics URL used to access Oracle BI Enterprise Edition (for example: http://hostname.com:7001/analytics).
You must access BI Publisher through the /xmlpserver URL (for example: http://hostname.com:7001/xmlpserver) to see the Customize option.
  • The Customize option is available only for reports. The Customize option is not available for data models, style templates, or sub templates.
To customize data models, style templates or sub templates and insulate them from potential changes from patching, follow the second approach described in the preceding section: Make a copy of the data model, style template, or sub-template and either rename it or place it in a custom directory. Ensure that you update any reports to point to the customized data model, style template, or sub-template.
  • The security grants applied to the original report and folder hierarchy are not copied to the report created in the Custom folder. You must manually apply the security settings for the reports and folders that are created by the Customize feature in the Custom folder.
3 Using the Customize Feature
Assume your enterprise uses an Oracle prepackaged report called "Customer Orders" that resides under Shared Folders/Applications/Financials. Existing application processes point to this report in its current location in the catalog. Your organization wants to add a custom layout to this report that displays your company logo and color schemes. You then want the application processes to run your custom layout whenever the report is run as part of the business process, run as a separately scheduled job, or run directly from the catalog.
To use the Customize feature:
  1. Log in to BI Publisher Enterprise through the /xmlpserver URL. Navigate to your report in the catalog and click Customize, as shown in Figure G-1.
Figure G-1 The Customize Task Option
BI Publisher creates a copy of the report in the Custom folder, under the identical folder hierarchy: Shared Folders/Custom/Applications/Financials and opens the report copy in the report editor.
Figure G-2 shows the custom report in the report editor. The process is seamless to the report designer. Notice that the report URL now references the report in the Custom folder.
Figure G-2 Custom Copy Opened in the Report Editor
  1. Create a custom layout for this report and save it. Use the List View to customize properties of the layout, enable the custom layout as the default for this report, or inactivate the original layouts so your users no longer see them.
  2. Apply security to the custom report.
Although BI Publisher creates identical folder hierarchy for the custom copy of the report, the catalog permissions present on the original folders and report are not copied to the custom report or the folder hierarchy. You must manually reapply the catalog permissions to secure the custom report identically to the original report.
To apply catalog permissions to reports:
    • Use the Oracle Business Intelligence interface by logging in to Oracle Business Intelligence using the /analytics URL (for example: http:www.example.com:7001/analytics).
    • You must be granted the appropriate permissions for setting permissions on the objects in the Custom folder. This typically requires having a role that is granted Full Control on the Custom folder. For more information about setting catalog permissions,
G.4 Considerations When Using the Customize Feature
When you click the Customize link, the report and the folder structure are copied to the Custom folder. The custom report still references the original data model. The data model is not copied. Because the data model referenced by the custom report is the original data model, an Oracle patch that updates the data model may impact the running of your custom report if the data structure is changed.
When an Oracle patch is applied that updates the original report, the custom report is not updated in any way.
When a custom version of a report exists, performing tasks on the original report will have the following results:
Task Performed on the Original Report
Behavior When a Custom Report Is Present


Open


Opens the custom report.
Schedule
Creates a report job for the custom report.
Edit
Edits the custom report.
Delete
Deletes the original report (only).
Copy
Copies the original report.
Cut/Paste
Cuts and pastes the original report.
Rename
Renames the original report. The custom report name is not changed.
Download
Downloads the custom report.
Customize
Edits the custom report.

To apply further edits to a report in the Custom folder perform one of the following
  • Select the Customize or Edit option for the original report; this action opens the existing customized report.
  • Navigate to the custom report in the Custom folder and select Edit.
If you manually create the identical folder path to a report under the Custom folder and create a report with the same name, BI Publisher treats the identically named report as a customized report and will run this report instead of the original report, as if you had used the Customize option to create it.
If you delete the original report, the custom report is not deleted. If you delete the custom report, the original report is not deleted.