17 Stopping and Starting Services and Queues
For information about the initial installation of Oracle Warehouse Builder or the Distributed Processing Server, see "Installing the Oracle Life Sciences Data Hub" in the Oracle Life Sciences Data Hub Installation Guide.
See Setting Up Services for information about the Distributed Processing (DP) Server.
Note:
During its development, the Oracle Life Sciences Data Hub was known internally as CDR. Therefore many Oracle LSH-related directories, files, scripts, parameters, and so on are named CDR or contain the string cdr
. Please think of CDR as a synonym for Oracle LSH.
- Starting, Stopping, and Checking the Distributed Processing Service
The Oracle Life Sciences Data Hub Distributed Processing (DP) Server passes jobs—executions of user-defined Programs and Data Marts and internal Oracle LSH jobs requiring XML Publisher—to the external engines that process them. - Stopping and Starting the Oracle Warehouse Builder Service
The Oracle Warehouse Builder (OWB) service is required to run any Oracle Life Sciences Data Hub job and to install Work Areas. - Stopping, Starting, and Enabling the Job Queue
A job queue is required on the database to pass jobs from Oracle Life Sciences Data Hub to OWB. - Starting and Stopping Message-Triggered Submission Queues
You can start and stop message-triggered submission queues.
Starting, Stopping, and Checking the Distributed Processing Service
The Oracle Life Sciences Data Hub Distributed Processing (DP) Server passes jobs—executions of user-defined Programs and Data Marts and internal Oracle LSH jobs requiring XML Publisher—to the external engines that process them.
You must install and start the DP Server on every computer where you have a processing engine installed. See Setting Up Services for further information.
You must then start the service on the computer where it is required. The scripts required for starting, checking, and stopping the DP Server are provided with Oracle LSH. See Setting Up the Distributed Processing Server and the Oracle Life Sciences Data Hub Installation Guide for instructions for copying them to the DP Server home directory in each location.
This section contains the following topics:
- Login Name
You must log in as cdr_dpserver. - Starting the Distributed Processing Server Service
You can start the Distributed Processing Server Service by following the steps in this procedure. - Checking the Distributed Processing Server Service
After you have installed and started the service, use the script checkJSapps to check that it is running. - Stopping the Distributed Processing Server Service
You can start the Distributed Processing Server Service by following the steps in this procedure.
Parent topic: Stopping and Starting Services and Queues
Login Name
You must log in as cdr_dpserver.
This user is created by the post-installation job. Your company should have changed the default password. See "Run the Post-Installation Programs" in the chapter on installing Oracle Life Sciences Data Hub in the Oracle Life Sciences Data Hub Installation Guide for further information.
Starting the Distributed Processing Server Service
You can start the Distributed Processing Server Service by following the steps in this procedure.
Note:
Do not change the value of DB_USER.Checking the Distributed Processing Server Service
After you have installed and started the service, use the script checkJSapps to check that it is running.
Enter the ORACLE_SID as a parameter value.
Note:
The Oracle SID is case-sensitive.
Stopping and Starting the Oracle Warehouse Builder Service
The Oracle Warehouse Builder (OWB) service is required to run any Oracle Life Sciences Data Hub job and to install Work Areas.
The OWB service is started automatically by the Oracle LSH database startup kit during installation.
Note:
The OWB server's log files are located in the directory $OWB_HOME/owb/log. If you have problems with a Work Area installation, the log file may help you diagnose the problem.
- Stopping the OWB Service
To stop the OWB service do the following: - Starting the OWB Service
To start the OWB service do the following:
Parent topic: Stopping and Starting Services and Queues
Stopping the OWB Service
To stop the OWB service do the following:
When the system displays the words "Not Available" the service is stopped.
Stopping, Starting, and Enabling the Job Queue
A job queue is required on the database to pass jobs from Oracle Life Sciences Data Hub to OWB.
The job queue is enabled by the Oracle LSH post-installation concurrent processing job. You must explicitly start it using the instructions below.
Note:
The scripts are located in $cdr/patch/115/sql/.This section includes the following topics:
- Starting the Job Queue
To start the job queue, connect asapps
to run the script. - Stopping the Job Queue
You can stop and disable the job queue by connecting asapps
to run the script. - Enabling the Job Queue
After you have started the job queue (or it has been started during installation) you must enable the job queue by connecting asapps
and running the script.
Parent topic: Stopping and Starting Services and Queues
Starting the Job Queue
To start the job queue, connect as apps
to run the
script.
begin cdr_exe_job_queues.start_jobq_process_disabled; end; / commit;
Parent topic: Stopping, Starting, and Enabling the Job Queue
Stopping the Job Queue
You can stop and disable the job queue by connecting as
apps
to run the script.
begin cdr_exe_job_queues.stop_processing_queues; end; / commit;
Parent topic: Stopping, Starting, and Enabling the Job Queue
Enabling the Job Queue
After you have started the job queue (or it has been started during
installation) you must enable the job queue by connecting as apps
and
running the script.
begin cdr_exe_job_queues.start_jobq_process_enabled; end; / commit;
Parent topic: Stopping, Starting, and Enabling the Job Queue
Starting and Stopping Message-Triggered Submission Queues
You can start and stop message-triggered submission queues.
Note:
If you plan to use message-triggered job submission, you must start a job queue on the database to pass jobs to Oracle Life Sciences Data Hub from XML messages from external systems. See "Using Message-Triggered Submission from External Systems" in the Oracle Life Sciences Data Hub Application Developer's Guide.
This section contains the following topics:
- Starting a Message-Triggered Submission Queue
Log on as the APPS user and enter the following to start the queue: - Stopping a Message-Triggered Submission Queue
Log on as the APPS user and enter the following to stop the queue:
Parent topic: Stopping and Starting Services and Queues
Starting a Message-Triggered Submission Queue
Log on as the APPS user and enter the following to start the queue:
begin cdr_exe_msg_queues_admin.start_processing_queues; cdr_exe_msg_queues_admin.enable_job_processing_queue; end;