Professional Documents
Culture Documents
Author: James L. Colestock Create Date: 02/09/08 Last Modified Date: 02/09/08 Summary: Purpose of this guide is to document the steps required to install and initially configure a properly working 11g Warehouse Builder installation. In this example, I use a single 11.1.0.6 database on Linux for the Repository, Runtime, and Target schemas. Pre-configure the Database: 11g now ships automatically with most of the Oracle Warehouse Builder technology stack. If the OWBSYS user does not already exist, run the DBCA to add this schema. OWB on 11g will automatically tune the instance to meet the prerequisites, except for the utl_file_dir parameter:
SQL> alter system set utl_file_dir='/tmp' scope=spfile; System altered. SQL> shutdown immediate; ORACLE instance shut down. SQL> startup ORACLE instance started. Total System Global Area 422670336 bytes Fixed Size 1300352 bytes Variable Size 390072448 bytes Database Buffers 25165824 bytes Redo Buffers 6131712 bytes Database mounted. Database opened.
Make sure that the $OWB_HOME/network/admin directory has the appropriate networking files in order to connect to your repository:
[/u03/app/oracle/product/db/11.1.0.6/owb/bin/unix nf@rac2]$ cp $TNS_ADMIN/* $ORACLE_HOME/owb/network/admin/. cp: omitting directory `/u03/app/oracle/product/db/11.1.0.6/network/admin/samples' [/u03/app/oracle/product/db/11.1.0.6/owb/bin/unix nf@rac2]$ ls -lart $ORACLE_HOME/owb/network/admin/. total 24 drwxr-xr-x 3 oracle dba 4096 Oct 4 09:14 .. -rw-r--r-- 1 oracle dba 896 Feb 7 23:46 tnsnames.ora -rw-r--r-- 1 oracle dba 102 Feb 7 23:46 sqlnet.ora -rw-r--r-- 1 oracle dba 187 Feb 7 23:46 shrept.lst -rw-r--r-- 1 oracle dba 1040 Feb 7 23:46 listener.ora drwxr-xr-x 2 oracle dba 4096 Feb 7 23:46 .
Page 1 of 10
2/9/2008
Page 2 of 10
2/9/2008
Page 3 of 10
2/9/2008
[/u03/app/oracle/product/db/11.1.0.6/owb/rtp/sql nf@rac2]$ sqlplus owbsys@nf @service_doctor.sql Role set. >>>>>> There are errors in one or more PL/SQL packages and functions Platform properties have been loaded correctly Platform location has been seeded correctly NLS messages have been loaded correctly >>>>>> The platform service is not available Service script is accessible to the database server Connection information stored within the repository is correct
Page 4 of 10
2/9/2008
[/u03/app/oracle/product/db/11.1.0.6/owb/log nf@rac2]$ tail -f OWBSYS.00005.log 2008/02/08-02:00:05-MST [1D332B][] Connection Manager - using service timezone America/Denver 2008/02/08-02:00:05-MST [1D332B][] Connection Manager - defaultimg session timezone offset to -07:00 2008/02/08-02:00:05-MST [1D332B][] Free Memory(bytes)=131480 Total Me mory(bytes)=2830336 Used Memory(bytes)=2698856 Used Memory(percent)=96% 2008/02/08-02:00:06-MST [1D332B][] Control Center Service Version 11.1.0.6.0 starting 2008/02/08-02:00:06-MST [1D332B][] Startup due to manual request 2008/02/08-02:00:06-MST [1D332B][] Control Center Repository Name OWBSYS on Service NF.COLESTOCK.TEST at Host RAC2.COLESTOCK.TEST 2008/02/08-02:00:06-MST [1D332B][] Explicit garbage collection - every 1 execution(s) 2008/02/08-02:00:06-MST [1D332B][] Initializing Platform 2008/02/08-02:00:08-MST [1D332B][] Recovery starting 2008/02/08-02:00:08-MST [1D332B][] Service startup complete
Page 5 of 10
2/9/2008
Download and Install OWB 11g to your local client PC: Here are the screen shots for the local OWB install. Pretty straight-forward.
Login to the Design Center from the Client and Configure: Remember to update the $TNS_ADMIN with a net service entry for your repository. Here are the screenshots for logging into the Design Center and creating a sample module.
Page 6 of 10
2/9/2008
Page 7 of 10
2/9/2008
Page 8 of 10
2/9/2008
Page 9 of 10
2/9/2008
Test the configuration by modeling objects and deploying them: I used the following Oracle by Example article to create a Dimension and then deployed it, to verify that my configuration works from end to end: http://www.oracle.com/technology/obe/11gr1_owb/owb11g_update_extend_knowledge/less5_modeling_target/less 5_modeling_target.htm Upon successful completion of the tutorial in question, the following objects should be present in the target schema:
SQL> connect sample_tgt Enter password: Connected. SQL> col object_name format a30 SQL> set lines 200 SQL> select object_name, object_type, status from user_objects; OBJECT_NAME -----------------------------TIME TIME_SEQ TIME_DIMENSION_KEY_PK TIME TIME_V TIME_MAP TIME_MAP 7 rows selected. OBJECT_TYPE ------------------TABLE SEQUENCE INDEX DIMENSION VIEW PACKAGE PACKAGE BODY STATUS ------VALID VALID VALID VALID VALID VALID VALID
Page 10 of 10
2/9/2008