Oracle® Retail Data Model Installation Guide Release 11.3.1 Part Number E20362-04 |
|
|
PDF · Mobi · ePub |
This chapter describes how to install Oracle components that you did not need to install before you installed the Oracle Retail Data Model component or sample reports, but that you will use when you are creating an Oracle Retail Data Model data warehouse:
There are two ways to execute the Oracle Retail Data Model intra-ETL:
Without using Oracle Warehouse Builder Workflow (instead you can manually run Intra-ETL manually using the PL/SQL package pkg_intra_etl_process). Thus, if you do not use Oracle Warehouse Builder Workflow, you can use this method to perform the Intra-ETL tasks.
In this case, you do not need to install and configure Oracle Workflow. For more information on PL/SQL package pkg_intra_etl_process, see Oracle Retail Data Model Operations Guide.
Using Oracle Warehouse Builder Workflow. The Intra-ETL provided in Oracle Retail Data Model that populates your Oracle Retail Data Model data warehouse uses a process flow designed using the Oracle Warehouse Builder Workflow component.
In this case, using Oracle Warehouse Builder Workflow, before you can execute intra-ETL you must perform the following tasks:
Install Oracle Warehouse Builder Workflow, as described in "Installing Oracle Warehouse Builder and Integrating with Oracle Workflow".
Install Oracle Warehouse Builder OWBSYS schema, as described in "Installing Oracle Warehouse Builder OWBSYS Schema".
Create Oracle Warehouse Builder workspace with a new user as workspace owner, as described in "Creating Oracle Warehouse Builder Workspace for Oracle Retail Data Model".
Import the Oracle Retail Data Model intra-ETL into Workflow, as described in "Importing Oracle Retail Data Model Intra-ETL into Workflow".
Configure Oracle Warehouse Builder Workflow to work with Oracle Retail Data Model, as described in "Configuring Oracle Warehouse Builder Workflow".
If you are installing Oracle Warehouse Builder in an Oracle RAC environment, see the Oracle RAC specific instructions in Oracle Warehouse Builder Installation and Administration Guide (in the section, "Installing Oracle Warehouse Builder in Oracle RAC Environments").
Note:
For complete information on installing Oracle Warehouse Builder, see the Oracle Warehouse Builder Installation and Administration Guide.To use Oracle Warehouse Builder process flows, you must use Oracle Workflow to enable deployment. To install Oracle Warehouse Builder and integrate Oracle Workflow, take the following steps:
Go to $ORACLE_HOME/owb/wf/install
Execute wfinstall.csh
The Oracle Workflow Configuration Assistant opens.
Enter values for the Workflow account, Workflow, SYS password, and TNS Connect Descriptor.
For TNS Connect Descriptor, use the following syntax where you replace local-host, port-number, and service-name with the appropriate values.
(DESCRIPTION =(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST=local-host)(PORT = port-number))) (CONNECT_DATA = (SERVICE_NAME = service-name))
Click Submit.
Note:
For complete information on these steps, see Oracle Warehouse Builder Installation and Administration Guide.Before installing OWBSYS schema, check if the OWBSYS schema is in the database. Log in to the Database as DBA and issue the following statements:
SELECT COUNT(*) FROM DBA_USERS WHERE USERNAME='OWBSYS';
If this query returns a value larger than zero (0), then OWBSYS schema exists.
If the database already has OWBSYS schema, drop the OWBSYS and OWBSYS_AUDIT schemas as follows:
Connect to sqlplus as sysdba sql> drop user owbsys cascade; sql> drop user owbsys_audit cascade;
Install the OWBSYS and OWBSYS_AUDIT schemas, as follows:
Install OWBSYS and OWBSYS_AUDIT schemas by executing following script as sysdba from sqlplus:
$ORACLE_HOME/owb/bin/unix/UnifiedRepos/cat_owb.sql
Unlock the OWBSYS and OWBSYS_AUDIT schemas:
alter user owbsys account unlock identified by owbsys; alter user owbsys_audit account unlock;
On Oracle Database Single Instance or the Primary Node on Oracle RAC:
Perform following steps for the Oracle Database on a single instance or for the Primary Node on Oracle RAC.
Open Warehouse Builder repository assistant to seed OWBSYS schema by creating a sample workspace with a sample new user as the workspace owner:
$ORACLE_HOME/owb/bin/unix/reposinst.sh
Enter database connection information (host, port, and service name) and click Next.
Select Manage Warehouse Builder workspaces. Click Next.
Select Create a new Warehouse Builder workspace. Click Next.
Select Create a workspace with a new user as workspace owner. Click Next.
Enter SYSDBA user name and user password. Click Next.
Enter workspace owner name, workspace owner password, and workspace name.
For example:
workspace owner = sample_owner, workspace name = sampleworkspace
Click Next, Click Next, and Click Finish.
On the Remaining Oracle RAC Nodes:
Perform following steps on remaining Oracle RAC nodes:
Open Warehouse builder repository assistant to register the db instance on the current node as Oracle RAC instance:
$ORACLE_HOME/owb/bin/unix/reposinst.sh
Enter database connection information (host, port, and service name) and click Next.
Select Register a Real Application Cluster Instance. Click Next.
Enter OWBSYS schema password. Click Next and Click Finish.
Connect to OWBSYS schema using sqlplus on the primary node of Oracle RAC and execute the following script:
$ORACLE_HOME/owb/rtp/sql/reset_repository.sql
This step updates $ORACLE_HOME/owb/bin/admin/rtrepos.properties file on the primary node. Check the timestamp of this file to ensure that it is updated.
Copy the updated rtrepos.properties file to all remaining nodes to same directory ($ORACLE_HOME/owb/bin/admin).
To create an Oracle Warehouse builder workspace with new user as owner of the workspace, perform the following steps:
Open Warehouse builder repository assistant for creating an OWB workspace for Oracle Retail Data Model with a new user as the workspace owner:
$ORACLE_HOME/owb/bin/unix/reposinst.sh
Enter database connection information (host, port, and service name) and click Next.
Select Manage Warehouse Builder workspaces. Click Next.
Select Create a new Warehouse Builder workspace. Click Next.
Select Create a workspace with a new user as workspace owner. Click Next.
Enter SYSDBA user name and user password. Click Next.
Enter workspace owner name, workspace owner password, and workspace name:
workspace owner name = owb_owner & workspace name = ordmworkspace
Click Next, Click Next, and Click Finish.
To import the Oracle Retail Data Model intra-ETL into Workflow, take the following steps:
Log into the Design Center of Oracle Warehouse Builder.
Select File, then Import, and then Warehouse Builder Metadata.
For file, specify the following value:
$ORACLE_HOME/ordm/pdm/relational/intra_etl/owb/ORDM_Intra_ETL.mdl
Select Import all objects from file.
Select Create new metadata only.
Click Import.
After the import, you can see process flows under ORDM_INTRA_ETL project of Oracle Workflow.
Modify the location parameter for ordm_sys schema:
Expand Locations -> Databases -> Oracle.
Right click ORDM_SYS_LOCATION and click Open.
Enter ordm_sys schema password and database connection information. Click Test Connection to test the connection. Click OK if successful.
To configure Oracle Warehouse Builder workflow to work with Oracle Retail Data Model, take the following steps:
In the Design Center of Oracle Warehouse Builder, select View, and then Location Navigator.
Expand Locations, then Process Flow and Schedules, then Oracle Workflow.
Right click OWF_LOCATION, select Open.
Edit the connection information.
Click Test Connection to test the connection; if successful, click OK.
The sample reports provided with the Oracle Retail Data Model are created using the Oracle Business Intelligence Suite Enterprise Edition. In order to modify these reports or to use them as the basis for creating new reports you must have installed Oracle Business Intelligence Suite Enterprise Edition and have created an Oracle Business Intelligence Suite Enterprise Edition catalog for the Oracle Retail Data Model.
Installing Oracle Business Intelligence Suite Enterprise Edition
If you installed Oracle Retail Data Model sample reports, you installed Oracle Business Intelligence Suite Enterprise Edition as a pre-installation step before you ran the installer. If you installed the Oracle Retail Data Model component rather than the sample reports, then install Oracle Business Intelligence Suite Enterprise Edition at this time by following the instructions given in "Oracle Business Intelligence Suite Enterprise Edition".
Tip:
To check that Oracle Business Intelligence Suite Enterprise Edition is installed, follow the instructions in "Confirming that Oracle Business Intelligence Suite Enterprise Edition is Installed".Installing a Catalog for Oracle Retail Data Model
Once Oracle Business Intelligence Suite Enterprise Edition is installed, follow these steps to install an Oracle Business Intelligence Suite Enterprise Edition catalog for the Oracle Retail Data Model:
Tip:
In these directions, replace BIEE_HOME with the name of the directory where Oracle Business Intelligence Suite Enterprise Edition is installed, and replace BIEE_DATA_HOME with the name of the directory where Oracle Business Intelligence Suite Enterprise Edition data is stored.Stop the Oracle Business Intelligence Suite Enterprise Edition Presentation services using the following command:
BIEE_HOME/setup/run-saw.sh stop
Start the Oracle Business Intelligence Suite Enterprise Edition Presentation Services with the following command:
OBIEE_HOME/setup/run-saw.sh start
Add a definition for ordm_db
for the Oracle Retail Data Model repository to use when connecting to the database. Add this definition to the file $ORACLE_HOME/network/admin/tnsnames.ora
:
ordm_db = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = hostname.domain)(PORT = port-number)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = SID) # Change your SID, Hostname, and Listener PortNumber ) )
Tip:
Be careful to split these commands properly when you add them to the file; for example, do not add them as one long concatenated line of code.Note:
If you want to use another database name, you must change thetnsname
in the Oracle Business Intelligence Suite Enterprise Edition repository. See the Oracle Business Intelligence Suite Enterprise Edition documentation for directions for defining a database connection in repository.Although not required before you install Oracle Retail Data Model, you need to install the Analytic Workspace Manager in order to view and modify Oracle Retail Data Model OLAP cubes. Analytic Workspace Manager 11g is installed as a standalone product. The latest version of Analytic Workspace Manager is available at the Oracle OLAP home page at:
http://www.oracle.com/technetwork/database/options/olap/index.html
Installation instructions are included in the documentation.