Oracle9i Warehouse Builder Configuration Guide Release 9.0.2 Part Number A95950-01 |
|
Oracle Enterprise Manager (OEM) is a scheduling tool included in the Oracle 8.1.7 or 9i database CD pack. You can configure Enterprise Manager with Warehouse Builder to manually schedule jobs that load or refresh data in your data warehouse. You can manage dependencies for jobs that reside in the Enterprise Manager Job Library using Oracle Workflow.
This chapter provides instructions for enabling Enterprise Manager and Workflow on your server and client systems.
This chapter includes the following topics:
Configure the Enterprise Manager client and server software, installed with Oracle 8.1.7 or 9i, using the following guidelines:
oemctrl start oms
To store generated scripts in the Job Library, Warehouse Builder must log on to the Oracle Management Server (OMS). This server manages the job library.
The Discover Wizard Specify Nodes page displays.
To create a Windows NT user with the permissions Enterprise Manager requires, run the NT User Manager on the Warehouse Builder runtime database instance host.
The User Manager window displays.
The New User window displays.
Windows inserts the new user name into the list of user names.
The User Rights panel displays.
Windows NT displays the Add Users and Groups panel.
Enterprise Manager schedules jobs on the system that hosts the Warehouse Builder runtime schema. For Enterprise Manager to schedule jobs, you must configure two sets of user names and passwords:
To initialize these credentials:
Enterprise Manager displays the Edit Administrator Preferences window.
Enterprise Manager displays a panel that lists Service Names and Types. Each resource node has three service types: Node, Database, and Listener.
Enterprise Manager displays a User Name and Password panel.
This is the user name you created for the Windows NT host in the previous section.
Enterprise Manager is now configured to run Warehouse Builder. Before you register the load jobs (Tcl scripts) or schedule jobs with Enterprise Manager, you must start all necessary services on the machine that hosts Enterprise Manager and the system that hosts the target warehouse.
On the host for Enterprise Manager, you must start:
On the host for your target warehouse, you must start:
Continue the installation with the next section, Installing Oracle Workflow.
To set Enterprise Manager preferences within Warehouse Builder:
The Preferences property sheet displays.
Table 4-1 lists the Oracle Enterprise Manager Intelligent Agent compatibility matrix.
Enterprise Manager Release | Supports Creation of Repository in Database Releases | Supported by Intelligent Agent Releases | Manages Database Releases |
---|---|---|---|
9.0.1 |
8.0.6.x |
8.0.6.x |
|
2.2.x |
8.1.6.x |
|
8.1.6.x |
The following notes apply to Table 4-1:
To ensure the integration of Oracle Workflow with Warehouse Builder, follow these installation steps:
This section outlines the Oracle Workflow installation procedure using Oracle Portal. For details, see the Oracle Workflow Option Server Installation Notes for Windows NT.
Before you install Oracle Workflow, you must set the following parameters in the database init.ora file.
AQ_TM_PROCESSES = 1
The time manager process is required by Workflow to monitor delay events in queues, as in the case of Workflow standard wait activity. The minimum recommended number of time manager processes for Workflow is one.
JOB_QUEUE_PROCESSES = 2
Workflow requires job queue processes to handle propagation of Business Event System event messages by AQ queues. You must start at least one job queue process to enable message propagation. The minimum recommended number of processes for Workflow is two.
JOB_QUEUE_INTERVAL = 5
To allow queues to be rechecked for messages with specified latency, Workflow requires the job queue interval to be less than or equal to the latency parameter defined for your AQ propagation schedules. The recommended job queue interval for Workflow is five seconds.
UTL_FILE_DIR = <ORACLE_HOME>/wf/res
Restart your database to make these changes effective. For more information refer to the Oracle8i/9i Reference and Oracle 8i/9i Application Developer's Guide - Advanced Queuing.
http://<server_name>:<portID>/pls/<your Workflow DAD>/
admin_/gateway.htm
For example, http://myserver:80/Portal/admin_/gateway.htm
Table 4-2 Information for Creating a Workflow DAD
On the computer where you installed the Warehouse Builder runtime objects, install Oracle Workflow Server from the CD for Oracle Workflow 2.6 for Microsoft Windows NT and Sun SPARC Solaris. Follow the installation steps in the Oracle Workflow Installation Guide.
To invoke the Oracle Workflow web services, append the appropriate procedure and arguments to your base URL. Once you define your web security and web users, you can verify your base URL by connecting as a valid user to the Oracle Workflow home page:
http://<server_name>:portID>]/pls/<your Workflow DAD>/wfa_html.home
where server_name
is the name of the server where you installed Oracle Portal. For example:
http://myserver:80/pls/WF_DAD/wfa_html.home
You can authenticate yourself with a database user name and password. When you install Oracle Workflow and its demonstration workflow processes, you also install a demonstration data model that seeds a set of demonstration users in the directory service and creates the same users as database accounts. The users are: sysadmin, wfadmin, blewis, cdouglas, kwalker, and spierson. Their passwords are the same as their user names.
With Oracle Portal, you can authenticate your connection to an Oracle Workflow web page with any of these database user names and passwords. Public grants and synonyms are created so that these database accounts have full access to the Oracle Workflow web-based user interface.
The Oracle Workflow Monitor is a Java applet that enables users and workflow administrators to view and optionally manipulate workflow process instances. The Workflow Monitor can be accessed by a web browser that supports Java Development Kit (JDK) Version 1.1.4 and AWT, such as Netscape Communicator 4.04 or higher.
Add a virtual directory mapping called /OA_JAVA/ to your web listener that points to the Workflow java area on your file system. The java area is <ORACLE_HOME>/wf/java. The Oracle Universal Installer automatically installs the Java code in a directory tree in the Workflow java area when you install or upgrade the Oracle Workflow Server.
Add a virtual directory mapping called /OA_MEDIA/ that points to the Workflow icon area on your file system. The icon area is <ORACLE_HOME>/wf/java/oracle/apps/fnd/wf/icons/. All icons and .gif files that are requested by the Workflow web interface must be stored in the /OA_MEDIA/ virtual directory.
On Unix:
Alias /OA_JAVA/ "<$ORACLE_HOME>/wf/java/" Alias /OA_MEDIA/ "<$ORACLE_HOME>/wf/java/oracle/apps/fnd/wf/icons/"
For example:
... # # Aliases: Add here as many aliases as you need (with no limit). The format is # Alias fakename realname # ... Alias /OA_JAVA/ " /oracle8i/wf/java/ " Alias /OA_MEDIA/ " /oracle8i/wf/java/oracle/apps/fnd/wf/icons/" ...
On Windows NT:
Alias /OA_JAVA/ " <ORACLE_HOME>\wf\java/ " Alias /OA_MEDIA/ " <ORACLE_HOME>\wf\java\oracle\apps\fnd\wf\icons/" For example: # # Aliases: Add here as many aliases as you need (with no limit). The format is # Alias fakename realname # ... Alias /OA_JAVA/ "C:\oracle8i\wf\java/" Alias /OA_MEDIA/ "C:\oracle8i\wf\java\oracle\apps\fnd\wf\icons/" ...
Oracle Workflow provides access to HTML help from the Help button located on each of its web pages. The HTML help is context-sensitive and provides links to the contents of the Oracle Workflow Guide, the Oracle Workflow 2.6 Release Notes, and the Oracle Workflow Documentation Updates.
To set up HTML help:
This creates the following subdirectories:
http://<server_name>:<portID>/<DAD>/admin_/listener.htm
On Unix:
Alias /OA_DOC/ <$ORACLE_HOME>/wf/doc/
For example:
... # # Aliases: Add as many aliases as you need(with no limit). The format is # Alias fakename realname # ... Alias /OA_DOC/ " /oracle8i/wf/doc/" ...
On Windows NT:
Alias /OA_DOC/ <$ORACLE_HOME>\wf\doc/
For Example:
... # # Aliases: Add as many aliases as you need(with no limit). The format is # Alias fakename realname # ... Alias /OA_DOC/ C:\oracle8i\wf\doc/ ...
On the computer where you installed Warehouse Builder client, install the Oracle Workflow Client from the CD for Oracle Workflow Client Release 2.6 for Microsoft Windows NT. Follow the installation steps in the Oracle Workflow Installation Guide.
This step is critical for the integration of Oracle Workflow with Warehouse Builder. You can find the Enterprise Manager patch information at http://metalink.oracle.com:
To download this patch from MetaLink:
This step is critical for the integration of Oracle Workflow with Warehouse Builder. This patch can be applied by all Workflow Server 2.6.0 and Workflow Server 2.6.1 users on 8i or 9i, including US and JA languages. You can find the patch information at http://metalink.oracle.com:
To download this patch from MetaLink:
The Warehouse Builder Queue Listener enables communication between Enterprise Manager and Workflow when you schedule Warehouse Builder jobs and dependencies with these tools. You must install the Queue Listener to ensure that all Warehouse Builder job dependencies are managed when jobs are run by Enterprise Manager.
To install Warehouse Builder Queue Listener on a Windows NT host:
The owb directory resides directly under your Oracle Home. It contains lib and bin sub-directories, with the following structure:
owb/bin/win32/workflowqclr.bat
owb/bin/win32/workflowqlsnr.bat
owb/bin/win32/workflowqlsnr1bat
owb/lib/int/workflowrt.jar
owb/lib/int/rts.jar
owb/lib/ext/aqapi11.jar
owb/lib/ext/ewt.zip
owb/lib/ext/rts.zip
owb/lib/ext/share.zip
The batch scripts use the 1.1 JVM held in your Oracle Home JRE sub-directory.
To install Warehouse Builder Queue Listener on a UNIX host:
The owb directory now resides directly under your Oracle Home. The owb directory contains lib and bin sub-directories, containing the following structure:
owb/bin/solaris/workflowqclr.sh
owb/bin/solaris/workflowqlsnr.sh
owb/bin/solaris/workflowqlsnr1.sh
owb/lib/int/workflowrt.jar
owb/lib/int/rts.jar
owb/lib/ext/aqapi11.jar
owb/lib/ext/ewt.zip
owb/lib/ext/rts.zip
owb/lib/ext/share.zip
The shell scripts use the 1.1 JVM held in your Oracle Home JRE sub-directory.
cd $ORACLE_HOME/owb/bin/solaris chmod a+x workflowqclr.sh chmod a+x workflowqlsnr.sh chmod a+x workflowqlsnr1.sh
|
Copyright © 2002 Oracle Corporation. All Rights Reserved. |
|