Oracle® Life Sciences Data Hub: Installation Guide
Oracle® Life Sciences Data Hub: Installation Guide
Installation Guide
Release 3.1
F40563-03
June 2021
Oracle Life Sciences Data Hub Installation Guide, Release 3.1
F40563-03
This software and related documentation are provided under a license agreement containing restrictions on
use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your
license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license,
transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse
engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is
prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If
you find any errors, please report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on
behalf of the U.S. Government, then the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software,
any programs embedded, installed or activated on delivered hardware, and modifications of such programs)
and Oracle computer documentation or other Oracle data delivered to or accessed by U.S. Government end
users are "commercial computer software" or "commercial computer software documentation" pursuant to the
applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use,
reproduction, duplication, release, display, disclosure, modification, preparation of derivative works, and/or
adaptation of i) Oracle programs (including any operating system, integrated software, any programs
embedded, installed or activated on delivered hardware, and modifications of such programs), ii) Oracle
computer documentation and/or iii) other Oracle data, is subject to the rights and limitations specified in the
license contained in the applicable contract. The terms governing the U.S. Government’s use of Oracle cloud
services are defined by the applicable contract for such services. No other rights are granted to the U.S.
Government.
This software or hardware is developed for general use in a variety of information management applications.
It is not developed or intended for use in any inherently dangerous applications, including applications that
may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you
shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its
safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this
software or hardware in dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of
their respective owners.
Intel and Intel Inside are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are
used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Epyc,
and the AMD logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered
trademark of The Open Group.
This software or hardware and documentation may provide access to or information about content, products,
and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly
disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise
set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be
responsible for any loss, costs, or damages incurred due to your access to or use of third-party content,
products, or services, except as set forth in an applicable agreement between you and Oracle.
Contents
Preface
Documentation accessibility vi
Diversity and Inclusion vi
Related resources vi
Access to Oracle Support vi
iii
3 The Two Supported Upgrade Paths
iv
5.8 Start Server Processes 5-17
5.9 Regenerate the JAR Files 5-18
5.10 Run the Health Check Scripts 5-19
5.11 Migrate Secure File 5-19
5.11.1 Initiate the Secure File Migration 5-19
5.11.2 Monitor the Secure File Migration 5-19
5.11.3 Post Secure File Migration Task 5-20
6 What's Next
7 Change Record
A Architecture Overview
A.1 Client Tier A-1
A.2 Application Tier A-2
A.3 Database Tier A-3
A.4 Adapters to External Systems A-3
A.4.1 Source Data Systems A-4
A.4.2 Data Transformation and Reporting Tools A-5
A.4.3 Visualization Tools A-5
A.4.4 Data Export Tools A-5
v
Preface
Preface
This preface contains the following sections:
• Documentation accessibility
• Diversity and Inclusion
• Related resources
• Access to Oracle Support
Documentation accessibility
For information about Oracle's commitment to accessibility, visit the Oracle
Accessibility Program website at http://www.oracle.com/pls/topic/lookup?
ctx=acc&id=docacc.
Related resources
All documentation and other supporting materials are available on the Oracle Help
Center.
vi
1
Before You Begin
If you are upgrading from a previous release, you may only need to check for the most recent
information, assemble the software, and upgrade to 3.0.
This section includes the following topics:
• Check for the Most Recent Information
• Get Your Company ID from Oracle
• Assemble the Software
• Assemble the Documentation
1-1
Chapter 1
Assemble the Software
• Your company ID. If you have multiple instances of Oracle LSH, Oracle
recommends using a different company ID for each instance.
• The tech type ID of any adapters your company may create.
1.3.1 Get the Oracle Life Sciences Warehouse 3.1 Media Pack
Oracle LSH, Oracle Health Sciences Data Management Workbench, and their
technology stacks are contained on the Oracle Health Sciences Data Management
Workbench 3.1 media pack for various platforms.
To receive a physical media pack with all the required DVDs, contact Oracle Support.
To expedite your request, you can call Oracle Support directly or open a Service
Request (SR) selecting problem category: Version Update Request.
To download the media pack from eDelivery:
1. Go to Oracle Software Delivery Cloud, http://edelivery.oracle.com, click Sign In,
and log in with your user ID.
2. Select Download Package from the All Categories drop-down list (or leave All
Categories selected). Enter Oracle Health Sciences Data Management
Workbench in the Search field and click Search.
3. Select DLP: Oracle Health Sciences Data Management Workbench 3.1.0.0.0
and click Add to Cart.
4. Click Checkout. You see a list of the selected software:
• Oracle Health Sciences Data Management Workbench 3.1.0.0.0 (Oracle
Standard Terms and Conditions)
• Oracle Life Sciences Data Hub 3.1.0.0.0
• Oracle Health Sciences Data Management Workbench 3.1.0.0.0
5. From the Platform drop-down list, select the appropriate operating system.
6. Click Continue.
7. Review the Terms and Restrictions and select I reviewed and accept the Oracle
License Agreement to continue. (Click Print from the top-right corner of the
screen to print the agreement.) Click Continue. You see a list of zipped files for
the Oracle Life Sciences Data Hub <your operating system> 3.1 release and
Oracle Health Sciences Data Management Workbench <your operating system>
3.1 release:
• Oracle Life Sciences Data Hub 3.1.0
• Oracle Health Sciences Data Management Workbench 3.1.0
• Oracle Thesaurus Management System 5.3.1
1-2
Chapter 1
Assemble the Software
8. Leave the list of zipped files selected to download the package of Oracle Health Sciences
Data Management Workbench 3.1.0.0.0 files or only select the files you need.
9. Click Download. Then browse to the location where you want to save the Oracle
executable.
10. Double-click the Oracle executable. Leave the default destination or click Browse to
select another one. Click Next. Oracle downloads the zipped files.
11. Move the zipped files to a staging area and unzip them. The full release contains a
software folder for Oracle DMW (p32003082_31000_Generic.zip), Oracle LSH
(p6114439_R12_GENERIC.zip, p27723788_R12_GENERIC.zip,
p31136807_R12_GENERIC.zip, p32078417_R12_GENERIC.zip) and Oracle TMS
(p30717198_53100_Generic.zip).
12. See Download Software to a Staging Area for details on downloading the software.
Note:
See My Oracle Support article 1138053.1, Oracle Life Sciences Data Hub and
Oracle Clinical Development Analytics Known Install and Configuration Issues for
the latest information.
Table 1-1 Software to Download for Oracle LSH and Oracle DMW
1-3
Chapter 1
Assemble the Documentation
Table 1-1 (Cont.) Software to Download for Oracle LSH and Oracle DMW
If you use Oracle Health Sciences Data Management Workbench, download the
following software to a separate application server. For system requirements, see the
Oracle Health Sciences Data Management Workbench Installation Guide.
1.4.1 Books
The books you need to install the technology stack are included in the media pack.
You can also find PDF and HTML copies online; see Documentation accessibility.
In addition to this guide, you need:
• Oracle Life Sciences Data Hub System Administrator's Guide Release
• Oracle Thesaurus Management System Installation Guide Release 5.3.1
• Oracle E-Business Suite Upgrade Guide Release 12.0 and 12.1 to 12.2
• Oracle E-Business Suite Release 12.1.1 Documentation Library which includes:
1-4
Chapter 1
Assemble the Documentation
1-5
Chapter 1
Assemble the Documentation
1-6
2
System Requirements and Technology Stack
If you install Oracle LSH for the first time or upgrade to a new version after December 31,
2010 and are using Oracle Enterprise Manager (OEM) 10.2.0.4 or 10.2.0.5 with Oracle LSH,
apply OEM patch 8350262.
For further information, see My Oracle Support article number 1217493.1.
This section contains the following topics:
• System Requirements
• Technology Stack
• Integrated External Systems
2-1
Chapter 2
System Requirements
Note:
The database global name cannot be greater than 64 characters.
2.1.1.3 Clients
Oracle LSH supports the following browsers on Microsoft Windows operating systems:
• Google Chrome Version 89.0.4389.114 (Official Build) (64-bit)
• Mozilla Firefox Quantum Extended Support Release 78.9.0esr (64-bit)
• Mozilla Firefox Version 87.0 (64-bit)
• Microsoft Edge Chromium Version 89.0.774.68 (Official build) (64-bit)
For Oracle JRE, Oracle LSH supports the same versions as Oracle E-Business Suite
12.1.3. To get the latest information:
1. Go to My Oracle Support at https://support.oracle.com and sign in.
2. Click the Certifications tab.
3. In the Search area, enter Oracle E-Business Suite for Product and 12.1.3 for
Release, and click Search.
4. In the Search Results page, expand Management and Development Tools.
5. Check the Oracle JRE versions displayed and click the link to see more.
2.1.2 Hardware
Oracle Applications 12.2.9 and Oracle Database 19c can be installed on the same or
different servers.
In addition, you need one computer running on Windows for use in installing Oracle
Thesaurus Management System (Oracle TMS). You will not need this computer for
Oracle LSH after installing Oracle TMS except to install any Oracle TMS patches that
may be required in the future. You need at least one Windows computer if you plan to
use Oracle Business Intelligence Enterprise Edition to define Business Areas and
create data visualizations (Oracle Business Intelligence Enterprise Edition Answers).
2-2
Chapter 2
Technology Stack
You can use the same Windows computer for Oracle Business Intelligence Enterprise Edition
and Oracle TMS.
Note:
Oracle LSH does not support a Windows server for SAS.
In an installation where the application and database tiers are installed on different
computers, those computers are typically connected by a local area network (LAN), while the
application-tier computer is connected to clients in a wide area network (WAN).
Using Real Application Clusters (RAC) to install the database over several nodes is optional.
Oracle LSH uses Oracle XML Publisher (which is bundled with Oracle Applications) to
generate PDF-format Report Sets. If you plan to use this feature and if your Report Sets are
very large, you may want to dedicate one node to Oracle XML Publisher processing.
For system hardware requirements see the documentation for each component; see
Assemble the Documentation.
In addition:
• The TCP/IP network connection to the server should be at least at 1 GB.
• Be sure to allow for growth in database storage capacity.
• Oracle recommends installing a test environment as similar as possible to the production
environment, including all operating system and other patches and updates.
Note:
Oracle Life Sciences Data Hub has been tested ONLY on Release 12.2.9 of
Oracle Applications. Do not install more recent releases unless explicitly
instructed to do so by an Oracle Life Sciences Data Hub note or alert on
My Oracle Support.
• Java Development Kit (JDK) 1.8.0_211 is required for the Oracle LSH Distributed
Processing Server.
• Oracle Database 19c
• XML DB, which is included with the 19c database, is required for Oracle LSH.
• Oracle Thesaurus Management System 5.3.1 Database Tier is used internally for the
Oracle LSH classification system.
2-3
Chapter 2
Integrated External Systems
• A zip utility and Java Development Kit (JDK) 1.8.0_211 are required for the
Oracle LSH Distributed Processing Server.
• WinZip or 7-Zip is required on clients used by Oracle LSH developers who launch
integrated development environments (IDEs) such as SAS or the Oracle BI
Administration Tool on their PC. Neither of these utilities is included on the media
pack.
For WinZip, use Pro 11.2 SR-1, WinZip 8.1, or any other WinZip version that
includes WZUNZIP.exe.
2-4
3
The Two Supported Upgrade Paths
For upgrading to Oracle LSH release 3.1, the following are the two supported upgrade paths:
• If you are upgrading from a release prior to Oracle LSH release 3.0:
1. Upgrade to Oracle LSH release 3.0 for both the technology stack and the Oracle LSH
product. Follow instructions in the Oracle Life Sciences Data Hub Installation Guide
Release 3.0.
2. Upgrade E-Business Suite. Follow instructions in Upgrading E-Business Suite from
12.1.3 to 12.2.9.
3. Upgrade to Oracle LSH release 3.1. Follow instructions in Upgrading to Oracle Life
Sciences Data Hub Release 3.1.
• If you are upgrading from Oracle LSH release 3.0:
1. Upgrade E-Business Suite. Follow instructions in Upgrading E-Business Suite from
12.1.3 to 12.2.9.
2. Upgrade to Oracle LSH release 3.1. Follow instructions in Upgrading to Oracle Life
Sciences Data Hub Release 3.1.
3-1
4
Upgrading E-Business Suite from 12.1.3 to
12.2.9
This section includes the following topics:
• Upgrade E-Business Suite from 12.1.3 to 12.2.9
• Apply the Database Patches
• Apply the Additional EBS Patches
• Revert Database Init Parameters and Grant Access to APPS
Note:
While following the instructions in the Oracle E-Business Suite Upgrade Guide, the
following are a few exceptions you must perform as these are required specifically
for Oracle DMW and Oracle LSH.
• Instead of instructions in chapter 4 Performing the Upgrade > section "Performing the
Upgrade to Release 12.2.0" > step 1 "Disable AOL Audit Trail (conditional)", perform the
following steps to back up the Oracle DMW and Oracle LSH audit tables and clean up the
audit tables to prepare for the upgrade:
1. Connect to the database as SYSDBA.
2. Execute the following query to determine the space required by audit tables:
select segment_name,segment_type,bytes/1024/1024/1024 GB
from dba_segments
where segment_type='TABLE' and segment_name IN
('CDR_BA_DB_PRIVILEGES_A',
'CDR_CONNECTIONS_A',
'CDR_NAMINGS_A',
'CDR_NAMING_VERSIONS_A',
'CDR_OBJECT_SUBTYPES_B_A',
'CDR_OBJECT_SUBTYPES_TL_A',
'CDR_OBJ_CLA_MAPPINGS_A',
'CDR_OBJ_UG_A',
'CDR_OUTPUTS_A',
'CDR_REMOTE_LOCATIONS_A',
'CDR_ROLES_B_A',
'CDR_ROLES_TL_A',
4-1
Chapter 4
Upgrade E-Business Suite from 12.1.3 to 12.2.9
'CDR_SECURITY_DBACCOUNT_A',
'CDR_SOURCE_CODES_A',
'CDR_SUBTYPE_OPR_ROLES_A',
'CDR_TABLE_REFS_A',
'CDR_TABLE_REF_JOBS_A',
'CDR_UG_ROLES_A',
'CDR_USER_GROUPS_B_A',
'CDR_USER_GROUPS_TL_A',
'CDR_USER_UG_ROLES_A',
'DME_FLAG_DATA_A');
3. Execute the following query to determine the total space (in GB) required in
the APPS_TS_TX_DATA tablespace to back up all the audit tables:
4. Allocate the required space (in GB) from the pervious step to the
APPS_TS_TX_DATA tablespace.
5. Download Oracle LSH 3.1 patch p32078417_R12_GENERIC.zip.
6. Unzip patch p32078417_R12_GENERIC.zip (DO NOT APPLY PATCH).
7. Go to PATCH_Folder/32078417/cdr/patch/115/sql.
8. Log in to SQL*Plus as the APPS user.
9. Execute the script cdr31ugppreauditscript.sql to back up the tables.
10. Set the audit groups (LSH_Audit and DMW_AUDIT) status to "Disable-Purge
Table".
4-2
Chapter 4
Upgrade E-Business Suite from 12.1.3 to 12.2.9
11. Run the Audit Table Update Request program. This will drop all triggers/views and
data from _A tables.
12. Go to PATCH_Folder/32078417/cdr/patch/115/sql.
14. Execute the script cdr31ugppostauditscript.sql to drop the audit (_A) tables
and the corresponding synonyms.
15. Connect as APPS user and back up the CDR_REMOTE_LOCATIONS table data:
Create table CDR.CDR_REMOTE_LOCATIONS_BK31 as select * from
CDR.CDR_REMOTE_LOCATIONS;
• Before you disable the custom triggers in chapter 4 Performing the Upgrade > section
"Performing the Upgrade to Release 12.2.0" > step 5 Disable custom triggers,
constraints, indexes, business events, and VPD (conditional), drop the trigger
"OWBSYS.CDR_RTREPOS_TG". Then, execute the following command to find the
custom triggers that you must disable:
select trigger_name from dba_triggers where trigger_name like
'%CDR%';
Follow the remaining instructions in step 5 Disable custom triggers, constraints, indexes,
business events, and VPD (conditional).
• Instead of instructions in chapter 4 Performing the Upgrade > section "Database and
System Administration Tasks" > step 3 "Gather schema statistics (required)", perform the
instructions in Gathering Schema Statistics for DMW and LSH (Doc ID 2220975.1). For
all other EBS schemas, execute the following command:
Note:
To save some upgrade time, perform this task at least 1 or 2 weeks before
upgrading to Oracle LSH release 3.1.
• In chapter 4 Performing the Upgrade > section "Performing the Upgrade to Release
12.2.0" > step 13 "Apply AD 12.2 upgrade driver (required)", if any error occurs while
4-3
Chapter 4
Apply the Database Patches
applying the patch 10117518 as a prerequisite to run the adgrants.sql, see R12 E-
Business Suite On Oracle Cloud Administration Error "ORA-20000: ORA-01917:
user or role 'APPS' does not exist"When Running Adgrants.sql Against A Cloud
Multi Tenant Database (Doc ID 2447786.1).
• In chapter 4 Performing the Upgrade > section "Performing the Upgrade to
Release 12.2.0" > step 3 "Update init.ora with upgrade parameters (required)",
along with the instructions in See Database Initialization Parameters for Oracle
Applications Release 12.2 (Doc ID: 396009.1), execute the following query to
update the "container_data" parameter (in both CDB and PDB) and revoke the
administer database trigger:
After the EBS upgrade is complete, you must revert all the changes done in the
above query. For instruction on how to rever the changes, see Revert Database
Init Parameters and Grant Access to APPS.
• In chapter 4 Performing the Upgrade > section "Enabling Online Patching", while
reviewing the output of the script ADZDPSUM.sql, do not register any custom
schemas using the script ADZDREG.sql.
• Instead of instructions in chapter 4 Performing the Upgrade > section "Upgrading
to the Latest Code Level" > sub-section "Apply the Latest AD and TXK for Release
12.2" > step 3.1 "Running adsplice", apply the AD Splicer patch for Oracle LSH,
patch number 6114439, which is in the Oracle LSH media pack. For more
information, see Oracle Life Sciences Data Hub Installation Guide Release 3.0.
• Instead of instructions in chapter 4 Performing the Upgrade > section "Upgrading
to the Latest Code Level" > sub-section "Apply the Latest Oracle E-Business Suite
Release Update Pack for Release 12.2", perform instructions in Oracle E-Business
Suite Release 12.2.9 Readme (Doc ID 2495027.1) on My Oracle Support >
section "Section 8: Apply Oracle E-Business Suite 12.2.9 Release Update Pack" >
sub-section "8.1 Path A — Upgrade and New Installation Customers upgrading to
Oracle E-Business Suite 12.2.9 Release Update Pack"
After performing the instructions in sub-section "8.1 Path A — Upgrade and New
Installation Customers upgrading to Oracle E-Business Suite 12.2.9 Release
Update Pack", see Oracle E-Business Suite Upgrade Guide Release 12.0 and
12.1 to 12.2 > chapter 5 "Performing Post-Upgrade Tasks" > perform instructions
in sections "Database and System Administration TasksDatabase and System
Administration Tasks" through "Oracle XML Publisher Tasks". After that, instead of
performing the post-upgrade steps in chapter 5 "Performing Post-Upgrade Tasks",
perform instructions in Oracle E-Business Suite Release 12.2.9 Readme (Doc ID
2495027.1) on My Oracle Support > section "Section 9: Post-Update Steps".
4-4
Chapter 4
Apply the Additional EBS Patches
adop phase=prepare
adop phase=apply patches=31959538:R12.TXK.C, 31943873:R12.FWK.C,
27222751:R12.FND.C
adop phase=actualize_all
adop phase=finalize finalize_mode=full
adop phase=cutover
adop phase=cleanup cleanup_mode=full
4-5
5
Upgrading to Oracle Life Sciences Data Hub
Release 3.1
This section includes the following topics:
• Run the Start Maintenance Script
• Stop Server Processes
• Back Up the Oracle E-Business Suite Database
• Upgrade to Oracle Life Sciences Data Hub 3.1
• Set Profile at the Site-Level
• Run the Post-Installation Programs
• Run the Stop Maintenance Script
• Start Server Processes
• Regenerate the JAR Files
• Run the Health Check Scripts
• Migrate Secure File
5-1
Chapter 5
Stop Server Processes
Note:
Shut down the database using the NORMAL option to ensure you can use
the backup to restore the database. Do not use the IMMEDIATE or ABORT
option to shut down the database.
5-2
Chapter 5
Upgrade to Oracle Life Sciences Data Hub 3.1
middleware_home/user_projects/domains/DMWDomain/servers/AdminServer/logs
and
middleware_home/user_projects/domains/DMWDomain/servers/DMWServer/logs
5-3
Chapter 5
Upgrade to Oracle Life Sciences Data Hub 3.1
This query returns the user, SID, serial number, and instance ID of each current
session.
4. Disconnect each current session, passing in the SID and serial number:
5-4
Chapter 5
Upgrade to Oracle Life Sciences Data Hub 3.1
6. To verify whether or not the script has completed, run the following query to make sure
there are no rows returned:
7. Check the log file for any errors, and save it for future references. If you need help to fix
any error, contact Health Sciences Support.
WITH lobs AS (
SELECT /*+ materialize cardinality(2) */
*
FROM
(
SELECT
owner,
segment_name
FROM
dba_lobs
WHERE
table_name = 'CDR_JOB_LOG'
UNION
SELECT
owner,
index_name segment_name
FROM
dba_lobs
WHERE
table_name = 'CDR_JOB_LOG'
)
)
SELECT
round(SUM(bytes) / 1024 / 1024) AS size_mb,
round(SUM(bytes) / 1024 / 1024/1024) AS size_gb,
round(SUM(bytes) / 1024 / 1024 / 1024 / 1024, 2) AS size_tb
FROM
dba_segments
WHERE
5-5
Chapter 5
Upgrade to Oracle Life Sciences Data Hub 3.1
( owner,
segment_name ) IN (
SELECT
*
FROM
lobs
);
For example, assuming 30GB operating system file size limit using ASM storage
"+DATA":
7. Assign a quota for the tablespace cdr_data_ts to the user CDR and optionally to
APPS.
5-6
Chapter 5
Upgrade to Oracle Life Sciences Data Hub 3.1
Note:
You do not need to install the Oracle LSH online Help or create the system
administrator when upgrading Oracle LSH. You only need to complete those tasks
for a full installation.
You must install the Oracle LSH 3.1 as a patch to Oracle Applications using ADOP. The
patch, number 32078417, is on the media pack.
1. Unzip the patch to $NE_BASE/EBSapps/patch.
2. Run ADOP patch. See instructions to install patch using adop. for details.
5-7
Chapter 5
Upgrade to Oracle Life Sciences Data Hub 3.1
Note:
If the query returns rows, execute the statements returned again. Repeat
this process until the SQL does not return any rows.
<classpath>
<absolute-path>%s_current_base%/EBSapps/comn/java/classes/
oracle/apps/cdr/jar</absolute-path>
<relative-path>../../../../java/classes/oracle/apps/cdr/jar</
relative-path>
<windows-path>@BEA_HOME@/../EBSapps/comn/java/classes/oracle/
apps/cdr/jar</windows-path>
<libraries>
<library>cdrlshall.jar</library>
</libraries>
</classpath>
5-8
Chapter 5
Upgrade to Oracle Life Sciences Data Hub 3.1
Note:
These changes must be redone if ebsProductManifest_xml.tmp is
patched in future.
6. In order to to synchronize the changes (during the next prepare phase) between both the
file systems fs1 and fs2, back up the file <APPL_TOP_NE>/ad/custom/adop_sync.drv.
7. Add the following lines (after replacing EBSapps with your correct directory name) to the
original file just before the line "#End Customization".
8. After the changes are synchronized, make sure you run Autoconfig for the latest template
changes to take effect.
begin
dbms_service.create_service('service_name','service_name');
end;
/
begin
dbms_service.start_service('service_name');
end;
/
5-9
Chapter 5
Upgrade to Oracle Life Sciences Data Hub 3.1
For example:
3. Navigate to $CDR_TOP/patch/115/sql.
4. Execute the script dmwRMSetup.sql.
The script prompts for the database service created for the data processing jobs.
5. Enter the service_name you have created.
The script prompts for the Oracle DMW PDB name.
6. Enter the Oracle DMW PDB name.
7. Type Y, and press Enter.
The script creates a resource limit plan for the data processing jobs.
3. Check that the non-default service name is not the same as the pdb / cdb name or
any sys service name.
--------------------------------------------------------------------
------------
$YESNO$NO
SQL> select FND_PROFILE.VALUE_SPECIFIC('DMW:USER_DEBUGGING') from
dual;
FND_PROFILE.VALUE_SPECIFIC('DMW:USER_DEBUGGING')
5-10
Chapter 5
Upgrade to Oracle Life Sciences Data Hub 3.1
Note:
After you install Oracle DMW, you sign in and navigate to the Administration
page and click the Tracing & Logging tab to see that you disabled logging and
tracing in Active Sessions.
Note:
Run this script only if you want to upgrade from Oracle DMW or Oracle LSH release
3.0 to release 3.1. For any other upgrade path, do not run this script.
adop phase=prepare
adop phase=actualize_all
adop phase=finalize finalize_mode=full
adop phase=cutover
adop phase=cleanup cleanup_mode=full
After the job execution completes, check the status of the job:
5-11
Chapter 5
Upgrade to Oracle Life Sciences Data Hub 3.1
The scripts displays the number of schemas to get editioned. If this number is high, job
execution may take more time to complete.
You can monitor the processed and remaining schemas using the below query
anytime in addition to the above queries:
Note:
If you resubmit the script while the above job is already running, the script
will abort.
5-12
Chapter 5
Set Profile at the Site-Level
5-13
Chapter 5
Run the Post-Installation Programs
Note:
If you are using RAC, shut down all but one database node before running
the post-installation programs. If you leave more than one node up, the jobs
may run successfully but you may get errors.
5-14
Chapter 5
Run the Post-Installation Programs
4. Click the gray LOV button on the right of the Name field. The Reports List of Values
opens.
5. Select LSH LOB Loader Concurrent Program and click OK.
6. Click Submit. A window pops up with the job ID and asks if you want to submit another
request.
7. Click No.
To monitor the concurrent program's progress:
1. Click Find.
2. Click Refresh Data periodically to update the execution phase and status displayed on
screen.
When the status is Complete you can view the log file by clicking the View Log button.
Note:
• Always check the log file because the phase may be Complete and the status
Normal, but the program may not have successfully completed all its tasks.
• If you see this message in the log file: "ORA-20001: APP-FND-02901: You do
not have access privilege to any operating unit. Please check if your profile
option MO: Security Profile includes any operating unit or the profile option MO:
Operating Unit is set. has been detected in MO_GLOBAL.INIT," see this article
on My Oracle Support: ORA-20001: APP-FND-02901 Errors Running
Collections or Plan in 12.2 OR in Trying to View Request Log from Legacy
Collections Self Service In R12.0/12.1 (article 981828.1).
5-15
Chapter 5
Run the Post-Installation Programs
Note:
Carefully set the following parameters. You cannot change the values for
some of the parameters after you run the job.
• Company ID. The company ID serves as part of the primary key for all the
Oracle LSH objects you define in this instance of Oracle LSH.
• Owning Location. Enter the name of your Oracle Applications instance.
• Object Sequence Start Value. Enter a single digit. The system will end all
object IDs with this digit to further distinguish objects created in this Oracle
LSH instance.
• Object Sequence Start Value. Leave blank. The system will end all object
IDs with the number 1.
• Database Host Name. Enter the machine name of the database server
instance.
• Database Port Number. Enter the port number of the database server
instance.
6. Click Submit. A window pops up with the job ID and asks if you want to submit
another request.
7. Note the job ID and click No.
Monitor the Process: To monitor the concurrent process's progress:
1. Click Find. Use the job ID to search for the process.
2. Click Refresh Data periodically to update the execution phase and status
displayed on screen.
3. When the phase is Complete, click the View Log.
Note:
Always check the log file, because the phase may be Complete and the
status Normal and yet the process may not have successfully completed
all its tasks.
5-16
Chapter 5
Run the Stop Maintenance Script
Note:
The job does the above only the first time it runs.
• Set the profile to check if the post-installation has been run for this site.
5-17
Chapter 5
Regenerate the JAR Files
If the following issue occurs during the DP server start process, add an entry to
listener.ora and reload the listener (instructions are mentioned below):
5-18
Chapter 5
Run the Health Check Scripts
f. Type Yes for the force generation of JAR files when prompted.
g. Restart the Oracle LSH middle tier services.
select
owner,
job_name,
JOB_ACTION,
START_DATE,
ENABLED,
5-19
Chapter 5
Migrate Secure File
STATE
from dba_SCHEDULER_JOBS
where job_name like 'MIGRATE_BASICFILE_TO_SECUREFILE%'
2. Wait for the BASIC FILE to SECUREFILE migration to complete. You can monitor
the migration progress by executing the following command:.
select thread_id,
Number_of_batch_to_processe,
no_of_processed_batch,
case when THREAD_ID in (1,2) then 'DBMS JOB SHOULD BE RUNNING'
when Number_of_batch_to_processe > no_of_processed_batch then 'DBMS
JOB SHOULD BE RUNNING'
else 'DBMS JOB SHOULD NOT BE RUNNING' end as status
from
(
select thread_id,
count(distinct batchid) Number_of_batch_to_processe,
(select count(1) from cdr_job_log_sfm_tmp where
THREAD_ID=a.THREAD_ID and status in ('COMPLETE','FAILED'))
no_of_processed_batch
from cdr_job_log_sfm_tmp a
group by thread_id
);
Note:
DO NOT stop the database.
2. If there is any cronjob related to Oracle LSH or Oracle DMW, suspend them.
Disable any custom scheduler or DBMS jobs related to Oracle LSH or Oracle
DMW.
3. Note the count of the invalid objects of APPS, APPLSYS, and CDR schema by
executing the following command:
select owner,
status,
count(1)
from dba_objects
where status <> 'VALID'
and owner in ('APPS','APPLSYS','CDR')
AND object_name <> 'CDR_SECUREFILE_MIGRATION'
AND object_name NOT LIKE 'CDR%SECFILE%'
AND object_name NOT LIKE 'CDR%SFM%'
5-20
Chapter 5
Migrate Secure File
group by owner,
status;
4. Once all application tier services are stopped, execute the cutover script by performing
the following steps:
a. Log in to the application tier.
b. Source the environment file.
c. Navigate to the $CDR_TOP/patch/115/sql directory.
d. Log in to SQL*Plus as the APPS user.
e. Execute the script cdrsecfilecutoff.sql.
A prompt to press enter to start the process appears.
f. Press Enter.
A prompt to enter the logfile pathname appears.
g. Press Enter to select the default logfile pathname or enter a name of your choice.
h. After the script execution is complete, check for any errors. If case of an error,
contact Health Sciences Support.
It will take some time for the script to execute.
5. After the script cdrsecfilecutoff.sql executes, make sure no DBMS SCHEDULER
JOBS are running related to secure file migration.
6. Make sure the new CDR_JOB_LOG table's LOB column LOG_MESSAGE is of type
SECUREFILE.
To do so, execute the following SQL command. The output of the SECUREFILE column
should be YES corresponding to the CDR_JOB_LOG table.
select
OWNER,
TABLE_NAME,
COLUMN_NAME,
SEGMENT_NAME,
LOGGING,
SECUREFILE
from dba_lobs
where table_name like 'CDR_JOB_LOG%';
7. If there is any new INVALID objects in the APPS, APPLSYS, or CDR schema, compile
those invalid objects.
select owner,
status,
count(1)
from dba_objects
where status <> 'VALID'
and owner in ('APPS','APPLSYS','CDR')
AND object_name <> 'CDR_SECUREFILE_MIGRATION'
AND object_name NOT LIKE 'CDR%SECFILE%'
AND object_name NOT LIKE 'CDR%SFM%'
5-21
Chapter 5
Migrate Secure File
group by owner,
status;
8. After all validations are successful, start all the application tier services and job
queue.
5-22
6
What's Next
After you have finished all the installation tasks outlined in this book, you must do the
following tasks before you can begin to use the Oracle Life Sciences Data Hub (Oracle LSH):
Note:
Oracle Health Sciences Data Management Warehouse customers can skip this
section and proceed to the Oracle Health Sciences Data Management Warehouse
Installation Guide.
• Define Oracle LSH Distributed Processing (DP) Server service locations and services to
integrate Oracle LSH with its processing engines and IDEs. See "Setting Up Services" in
the Oracle Life Sciences Data Hub System Administrator's Guide.
• Design an object security system, classification system, and organizational structure for
your implementation of Oracle LSH. See "Designing a Security System," "Designing a
Classification System," and "Designing an Organizational Structure" in the Oracle Life
Sciences Data Hub Implementation Guide.
• Set up the security system, see "Setting Up the Security System" in the Oracle Health
Sciences Data Management Workbench and Life Sciences Data Hub Security Guide.
• Set up the classification system and organizational domains. See "Setting Up the
Classification System" in the Oracle Life Sciences Data Hub System Administrator's
Guide and "Applications User Interface" in Oracle Life Sciences Data Hub Application
Developer's Guide.
• Define remote locations to integrate Oracle LSH with Oracle-based source data systems.
See "Registering Locations and Connections" in the Oracle Life Sciences Data Hub
System Administrator's Guide.
• If you plan to use OBIEE for visualizations or Oracle BIP for reports, do the additional
setup required for each system. See the Oracle Life Sciences Data Hub System
Administrator's Guide for information.
6-1
7
Change Record
• April 2021: First version of the guide.
• May 2021: Second version of the guide. In this version:
– Removed the support of Oracle Enterprise Linux and Red Hat Enterprise Linux
version 8 for the database tier; see Database Tier
– Added support for Oracle Enterprise Linux version 7.4 or later; see Application Tier
– Added the chapter The Two Supported Upgrade Paths
– In Upgrade E-Business Suite from 12.1.3 to 12.2.9:
* Added information to drop the trigger "OWBSYS.CDR_RTREPOS_TG"
* Added a note for gathering the schema statistics
* Added information on troubleshooting any error that occurs while applying the
patch 10117518 as a prerequisite to run the adgrants.sql
– Added a step to stop the study health monitor scheduler in Run the Start
Maintenance Script
– Removed a few topics from the guide that were not required for upgrading to Oracle
LSH release 3.1.
• June 2021: Third version of the guide. In this version:
– Added a step to apply the database patch p30808109_1910000DBRU_Linux-
x86-64.zip in Apply the Database Patches.
– Updated step to log in to Oracle Database 19c as sysdba user in Check Non-Default
Service.
– Updated the query to monitor the processed and remaining schemas in Run the
Upgrade Script to Edition Existing Schemas.
– Added a step to restart the Oracle LSH middle tier services in Regenerate the JAR
Files.
– Added the troubleshooting steps for the exception error that might occur during the
Oracle LSH Distributed Processing (DP) server start process in Start Server
Processes.
7-1
A
Architecture Overview
The following figure shows the logical Oracle Life Sciences Data Hub architecture described
in this section.
A-1
Appendix A
Application Tier
Consumers and Administrators: Oracle Life Sciences Data Hub (Oracle LSH)
Consumers, who retrieve information in the form of reports and visualizations, and
Oracle LSH Administrators, who perform administrative tasks within Oracle LSH,
require the following on their personal computers:
• A Web browser
• Java Virtual Machine (JVM)
Administrators require either JInitiator or JVM to use any of the Oracle Forms screens
related to security, to run the post-installation jobs, and to set up user accounts and
functional roles.
Definers: A full-service client for users who create (define) the programs that operate
on Oracle LSH data and generate reports requires additional software:
• Oracle LSH plug-in for launching Integrated Development Environments (IDEs)
• WinZip
• Web browser
• In addition, Definers need one or more IDE clients. These may include: SAS PC,
SQL*Plus, SQL Developer, Oracle BI Administration Tool, Oracle Reports, and
Oracle Business Intelligence Publisher.
A-2
Appendix A
Database Tier
Oracle Workflow
Oracle LSH uses Oracle Workflow to allow users to create and execute Oracle LSH Workflow
Programs. Oracle Workflow is installed with Oracle Applications.
A-3
Appendix A
Adapters to External Systems
A-4
Appendix A
Adapters to External Systems
• Oracle Clinical. The Oracle Clinical adapter family includes eight specialized adapters
for loading the following data and metadata from Oracle Clinical:
– Data Extract SAS Views
– Data Extract Oracle Views
– Global Library
– Labs
– Study Data
– Study Design and Definition
– Stable Interface Tables
– Randomization
A-5