Set Up the Distributed Processing Server
The Distributed Processing (DP) Server is the mechanism Oracle LSH uses to communicate with the external processing engines that run some Oracle LSH jobs.
Install the DP Server on each computer where you have installed an external processing engine (such as SAS) and where you have installed XML Publisher. If you install multiple external processing engines on the same computer, you can install the DP Server once on that computer.
For information about the DP Server, see "Setting Up Services" in the Oracle Life Sciences Data Hub System Administrator's Guide. For information on integrating particular external systems with Oracle LSH, see Integrating Other Systems.
Note:
For Oracle DMW, the DP Server is required for File Watcher, for loading SAS and text data files. SAS files require the SAS processing engine and text files require the SQL*Loader, which is installed with Oracle Database.
Setting up the DP Server includes the following steps. You must do them in the following order:
- Create the Distributed Processing Server User Account
- Install the Distributed Processing Server
- Secure Distributed Processing Server Files
- Set NLS_LANG to UTF8
- Copy and Edit Files
- Define Service Locations and Services
- Start the DP Server
Parent topic: Installing Oracle Life Sciences Data Hub
Create the Distributed Processing Server User Account
You must run a script to create the Distributed Processing (DP) Server database account cdr_dpserver
and set its password. Use this account to start the DP Server.
Note:
When you start the DP Server on each service location, you need this password. You should change the default password for use within your company.
To change a password:
-
Log in to SQL*Plus.
-
Enter the following:
alter user
old_password
identified by
new_password
To run the script:
-
Go to $CDR_TOP/patch/115/sql
-
Log in to SQL*Plus as apps
-
Run the script:
cdrcreatedpserveruser.sql
At the prompt, enter the password you want to use for the cdr_dpserver account.
-
Exit from SQL*Plus.
Parent topic: Set Up the Distributed Processing Server
Install the Distributed Processing Server
On each computer where you have installed one or more processing engines for use with Oracle LSH, do the following to install the Oracle LSH Distributed Processing (DP) Server:
Note:
If you need to set up the DP Server outside the firewall, make sure the computer outside the firewall can connect to the database server inside the firewall. To do this, change a firewall setting to allow external access to the TNS listener port on the database server.
Parent topic: Set Up the Distributed Processing Server
Secure Distributed Processing Server Files
The DP Server log files in the log directory may contain information that is sensitive to your organization. Oracle recommends granting full access to this directory only to the Oracle database user running the DP Server process and any other external processing engine user.
Parent topic: Set Up the Distributed Processing Server
Set NLS_LANG to UTF8
On each Server where you install the DP Server, set the computer's NLS_LANG environment variable to UTF8.
Parent topic: Set Up the Distributed Processing Server
Windows
Check and set your NLS_LANG environment variable:
-
Right-click the My Computer icon on your desktop, then click Properties.
-
Click the Advanced tab, then click Environment Variables.
-
In User Variables and System Variables, check if there is a variable named NLS_LANG.
-
If there is an NLS_LANG variable, highlight it and click Edit.
-
Set the variable value to UTF8; for example:
AMERICAN_AMERICA.UTF8
If you do not have the NLS_LANG environment variable, change your registry settings:
Parent topic: Set NLS_LANG to UTF8
Copy and Edit Files
This section contains the following topics:
- Copy DP Server Files
- Edit the DP Server Start Script
- Make Scripts Executable
- Copy RTF Template Files for XML Publisher
- Copy, Edit, and Grant Permissions to Execution Command Files for Processing Engines
Parent topic: Set Up the Distributed Processing Server
Edit the DP Server Start Script
You must add local values to cdr_apps_dpserver.sh (or cdr_apps_dpserver.cmd on Windows) before you can start the DP Server.
Parent topic: Copy and Edit Files
Make Scripts Executable
Make all the scripts executable with the following command:
chmod 755 *.sh
Parent topic: Copy and Edit Files
Copy RTF Template Files for XML Publisher
The following steps are required only on the computer where you are running XML Publisher:
Parent topic: Copy and Edit Files
Copy, Edit, and Grant Permissions to Execution Command Files for Processing Engines
Do the following on each computer where you have installed a processing engine:
Parent topic: Copy and Edit Files
Define Service Locations and Services
You must define Service Locations and Services in the Oracle LSH user interface for each computer where the Oracle LSH Distributed Processing (DP) Server will run. You define one service location for each computer, and at least one service for each engine or development environment that you want to run on that computer.
To define service locations and services you must have a user account with the LSH System Admin role assigned to it. See Create System Administrator and Security Administrator Users for details.
To log into Oracle LSH, do the following:
To define service locations and services in the Oracle LSH user interface, follow the instructions in "Setting Up Services" in the Oracle Life Sciences Data Hub System Administrator's Guide.
Note:
For Oracle DMW, you need one or two Service Locations. You need two services; Text for SQL*Loader and SAS. The two services can be on the same Service Location if it has access to both SQL*Loader and the SAS processing engine as well as the folders you will create to put data files into for loading into Oracle DMW. You can put text and SAS files in different locations.
Parent topic: Set Up the Distributed Processing Server
Start the DP Server
To start the DP Server, do the following:
Note:
Do not change the value of DB_USER.
Parent topic: Set Up the Distributed Processing Server