Вы находитесь на странице: 1из 13

4: Deploying SampleApp RPD and Webcat on BI 11g

Impotent: Make sure you have shutdown your BI Services before continue with this step

4.1 Move SampleApp Files

Copy Student_SampleApp folder from windows into /OBIEE11g_Workshop 4.1.1 SampleApp Webcat Please unzip Student_SampleApp\SampleApp_webcat.zip into following folder: /OBIEE11g/instances/instance1/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/catalog

4.1.2 Sample XML Data Source Copy Student_SampleApp\Files_To_Copy\SAMP_XML_TARGETS_F.xml into: /OBIEE11g/instances/instance1/bifoundation/OracleBIServerComponent/coreapplication_obis1/sample/SampleAppFile s/Data

4.1.3 Resource Files for SampleApp Copy all the contents within Student_SampleApp\Files_To_Copy\analyticsRes into: A.

B. Copy two folders into: /OBIEE11g/instances/instance1/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/analytic sRes

4.1.4 Copy currency configuration file Copy file Student_SampleApp\Files_To_Copy\userpref_currencies.xml into: /OBIEE11g/instances/instance1/config/OracleBIPresentationServicesComponent/coreapplication_obips1
(Override existing file if any)

4.1.5 Copy and Edit Configuration Files Copy file: NQSConfig.ini file from Student_SampleApp\Files_To_Copy folder into: /OBIEE11g/instances/instance1/config/OracleBIServerComponent/coreapplication_obis1

Open File instanceconfig.xml in notepad and make changes mentioned below, save file and close it in:

Make sure to add red tags into the file, within the existing <ServerInstance> tag : <ServerInstance> <LightWriteback>true</LightWriteback> ... <ps:Catalog xmlns:ps="oracle.bi.presentation.services/config/v1.1"> <ps:UpgradeAndExit>false</ps:UpgradeAndExit> <ps:UpdateAccountGUIDs>UpdateAndStartNormally</ps:UpdateAccountGUIDs> </ps:Catalog> </ServerInstance>

4.2 Create Database Contents for SampleApp

Open terminal; go to the directory Student_SampleApp\DB_Objects Type sqlplus to connect to XE database with system privileges: > sqlplus sys as sysdba Enter password: Admin123 Run the script BISAMPLE_USER.SQL located in the same directory.

Once executed, verify that you can successfully connect as BISAMPLE user: > sqlplus BISAMPLE/BISAMPLE@XE > exit; From command prompt from the same DB_Objects directory, run following command: > imp BISAMPLE/BISAMPLE@XE file=BISAMPLE_10g.dmp FULL=Y We completed creating schema and data needed for SampleApp BI Application.

4.3 Deploy Resources, Users, RPD and, Webcat

4.3.1 Deploy SampleApp Resources Open SampleApp.rpd file offline in Administration tool from windows, select from menu Manage Variables Static Double click on BI_EE_Home and put the following path between single quote. '/OBIEE11g/instances/instance1/bifoundation/OracleBIServerComponent/coreapplication_obis1'

Start BI Services from Program Files -> Oracle Business Intelligence -> Start BI Services. Provide username weblogic and password Admin123 when prompted. Login onto http://localhost:7001/console using your Administrator credentials created during platform install. Navigate to deployments area.

Click on the Install button in the deployments area to install a new web application. (If Install button is not enabled, click on Lock & Edit on the left frame).

In the Install Application Assistant dialog, provide the path and click next. /OBIEE11g/instances/instance1/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1 This should give the option to select analyticsRes as a valid application to deploy. Select analyticsRes and click on Next.

Source path: /OBIEE11g/instances/instance1/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/analytic sRes In the next screen, choose the default option, Install this deployment as an application and click Next.

Choose bi_server1 as the deployment target and click Next.

In the next screen, under the Source Accessibility section, choose: I will make the deployment accessible from the following location.

Location Path: /OBIEE11g/instances/instance1/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/analytic sRes Click Finish. In the deployment screen, confirm that the new application called analyticsRes is now available.

Click on Activate Changes

Once this completes, start the deployment called analyticsRes

4.3.2 Import FMW Users This step is required in order to have most of the SampleApp features to work. Make sure the FMW import happens properly on your environment. Open the weblogic Administration console: http://localhost:7001/console (username/password: weblogic / Admin123)

From home screen, click on Security Realms link.

Then drill on myrealm.

Go to the migration page tab. Go to the Import tab.

In the 'Import Directory on Server', point to the directory Student_SampleApp\FMW_Users_Definition Click on Save This should import all the SampleApp users into your environment. To confirm it, click on Users and Groups tab.

Verify that you can see the new users like abell, etc created now. You should be able to login using any of these users in OBIEE.

4.3.3 Deploying RPD and Webcatalog Login to the EM administration screen using the url http://localhost:7001/em Expand 'Business Intelligence' node on the left and choose Coreapplication.

Now click on the Deployment tab on the right. Next, go to the Repository tab.

Click on 'Lock and Edit Configuration' to enable you to change the default settings.

In the 'Upload BI Server Repository' section, click on the Browse button and locate the SampleApp.rpd from directory Student_SampleApp. Enter Admin123 as the password (this is the offline password for SampleApp.rpd)

Keep on the same configuration screen to update webcat selection Change the catalog at the end of the path to SampleApp in a catalog location text box: /OBIEE11g/instances/instance1/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/catalog /SampleApp Click on Apply (top right corner of screen) Click on 'Activate Changes To restart BI components to take effect of changes we made, Expand 'Business Intelligence' node on the left and choose Coreapplication.

Click on the Overview Tab,

Click on blue button to Restart under the Manage System category, middle of screen, Click yes on dialog box to confirm the move. Wait for message that confirms successful restart.