Oracle® Health Sciences Clinical Development Analytics Installation and Configuration Guide Release 3.1.1 for Standard Configuration E63312-01 |
|
|
PDF · Mobi · ePub |
This chapter describes the OHSCDA Installation tasks that you must complete and includes the following sections:
This section describes the OHSCDA Installation tasks that you must complete.
OHSCDA application installation consists of the following components:
The basic OHSCDA components are installed using the Oracle Universal Installer. The installer gathers all the information about the database connectivity and data mart by presenting a sequence of prompt screens, and then installs the components accordingly.
Important:
Make sure that the Oracle Database client is available on the same system where you plan to execute the installer.Perform the following steps to install the OHSCDA application on Windows:
Extract the contents of the media pack into a temporary directory.
Navigate to the \install directory under the extracted temporary folder.
Double-click the setup.exe file to launch the Oracle Universal Installer with the Welcome screen.
The installer will take you through a series of screens having fields. Attend to the Installer's prompts. The following sections describe each Installer screen, and the required action.
Review the Oracle Universal Installer Welcome screen and click Next.
The Welcome screen provides information about the Oracle Universal Installer. The following function buttons appear on the installation screens:
Deinstall Products: Deinstall individual components or the entire product. This button appears only on the Welcome screen.
About Oracle Universal Installer: View the version number of the installer in use.
Help: Access detailed information about the functionality of each screen.
Installed Products: View currently installed products or deinstall the entire product or components.
Next: Proceed to the next screen.
Cancel: Cancel the installation process and exit the installer.
Click Next.
The Select a Product to Install screen appears.
Perform the following steps:
Set up the OHSCDA data warehouse. For information on how to do so, see Section 2.1.1.1, "Setting up the Data Warehouse"
Set up the source system for OHSCDA. For information on how to do so, seeSection 2.1.1.2, "Setting up the Source System"
Select the Oracle Health Sciences Clinical Development Analytics Standard ODI 3.1.1 option to setup the OHSCDA data warehouse.
Click Next.
The Specify Home Details screen appears.
The OHSCDA Home path is the location where all the staged files from the Installer get copied to the local system. This is also the location from where Installer executes the database script.
Example Name: OCDAHome1
Path: <Drive>:\CDA_INSTALL
Click Next.
The OHSCDA Data Warehouse Details screen appears.
This screen collects all the information regarding the OHSCDA data warehouse.
Enter values in the following fields:
Connect String of the Warehouse: Connection of the database where OHSCDA Data Warehouse will be deployed.
Default Tablespace Name
Temporary Tablespace Name
Data Warehouse Schema Name
Click Next.
The OHSCDA Data Warehouse screen appears.
Enter and confirm the System Password of the database where OHSCDA Data Warehouse will be deployed.
Click Next.
The OHSCDA ODI Data Warehouse Schema Details screen appears.
Enter and confirm the OHSCDA Warehouse Schema Password.
Click Next.
The OHSCDA ODI Data Warehouse Work Details screen appears.
Enter values in the following fields:
Data Warehouse Work Schema Name
Default Tablespace Name
Temporary Tablespace Name
Click Next.
The OHSCDA ODI Data Warehouse Work screen appears.
Enter and confirm the Date Warehouse Work Password for OHSCDA Database.
Click Next.
The Multi Source Integration screen appears.
Perform one of the following:
If you want to implement Multi Source Integration, select the Yes option and click Next.
The Oracle Healthcare Master Person Index screen appears. Perform steps through step 16.
Else, select the No option and click Next.
The Do you wish to install OCDA Source System? screen appears. Follow steps through step 30.
Enter the following Oracle Healthcare Master Person Index details:
Connect String of OHMPI Schemas
Default Tablespace Name
Temporary Tablespace Name
Click Next.
Enter and confirm System password for OHMPI Database.
Click Next.
Enter and confirm Master Password for OHMPI schemas.
Click Next.
The OCDA OHMPI Source Schema Details screen appears.
Enter values in the following fields:
OCDA OHMPI Source Schema Name
OCDA OHMPI Default Tablespace Name
OCDA OHMPI Temporary Tablespace Name
Click Next.
Enter and confirm OCDA OHMPI Source Schema Password.
Click Next.
The OCDA OHMPI Work Schema Details screen appears.
Enter values in the following fields:
OCDA OHMPI Work Schema Name
OCDA OHMPI Work Default Tablespace Name
OCDA OHMPI Work Temporary Tablespace Name
Click Next.
Enter and confirm OCDA OHMPI Work Schema Password.
Click Next.
The Do you wish to install OCDA Source System? screen appears.
Perform one of the following:
If you want to setup source systems, select the Yes option and click Next.
The Select the Source System to install screen appears. Perform steps through step 5 in Section 2.1.1.2, "Setting up the Source System".
Else, select the No option and click Next.
The Summary screen appears. Perform steps through step 31.
Verify setting => details provided in the Summary screen.
Click Install.
At the completion of the installation, you can inspect the installation as displayed at the end of the installation screen.
Select the ODI Source System 3.1.1 option to setup the source system for OHSCDA.
Click Next.
The Specify Home Details screen appears.
The OHSCDA Home path is the location where all the staged files from the Installer get copied to the local system. This is also the location from where Installer executes the database script.
Example Name: OCDAHome1
Path: <Drive>:\CDA_INSTALL
Click Next.
The Select the Source System to install screen appears.
Select one or multiple source system from following list:
Siebel Clinical
Oracle Clinical
InForm
Note:
Hold CTRL to select more than one source system.Click Next.
The selected source systems appears.
Click OK.
Note:
Depending on the selected source system, the installer displays the required screens. For example, if you select Oracle Clinical as the source system, the Oracle Clinical Source System Details screen appears.Enter values in the following fields:
Connect String for OC Source Server
Oracle Clinical Source Schema Name
Click Next.
Enter and confirm the System Password of the database where Oracle Clinical source system is deployed.
Click Next.
Enter and confirm the Oracle Clinical Source Schema Password.
Click Next.
The OCDA Oracle Clinical Source System Details screen appears.
Enter values in the following fields:
OCDA OC Source Schema Name: This schema has the read-only grant on the required source tables.
OCDA OC Default Tablespace Name
OCDA OC Temporary Tablespace Name
Click Next.
The Oracle Clinical Source System Details screen appears.
Enter and confirm the OCDA Oracle Clinical Source Schema Password.
Click Next.
The OHSCDA Oracle Clinical Work Schema Details screen appears.
Enter values in the following fields:
OCDA OC Work Schema Name
OCDA OC Work Default Tablespace Name
OCDA OC Work Temporary Tablespace Name
Click Next.
Enter and confirm the OHSCDA Oracle Clinical Work Schema Password.
Click Next.
The Multi Source Integration screen appears.
Perform one of the following:
If you want to implement Multi Source Integration for the selected source system, select the Yes option and click Next.
Else, select the No option and click Next.
Based on the step performed, the required database objects for Multi Source Integration is installed in the source system.
Note:
Similar set of screens are displayed for other selected source systems. Perform steps through 5 for Siebel Clinical and/or InForm source systems.Create Master and Work repository in ODI.
Set up Java EE Agent
Note:
For information, see Oracle Data Integrator Installation Guide.Launch ODI Studio and connect to work repository.
Click the Designer tab.
Select Import from the Designer Menu drop-down list.
The Import Selection dialog box appears.
Select Import the Topology.
Click OK.
The Import Topology dialog box appears.
Select Synonym mode INSERT_UPDATE from the Import Mode drop-down list.
Select the Import From a Zip file option.
Navigate to the OCDA_Topology.zip file in the OHSCDA home directory. For example, <Drive>:\OCDA_HOME\OCDA_ODI\ODI_Code.
Click OK.
Note:
Save the log file after import for future reference.Select Import from the Designer Menu drop-down list.
The Import Selection dialog box appears.
Select Import the Work Repository.
Click OK.
The Import Work Repository dialog box appears.
Select Synonym mode INSERT_UPDATE from the Import Mode drop-down list.
Select the Import From a Zip file option.
Navigate to the OCDA_Work_Repository.zip file in the OHSCDA home directory. For example, <Drive>:\OCDA_HOME\OCDA_ODI\ODI_Code.
Click OK.
Note:
Save the log file after import for future reference.Click the Topology tab.
Expand Agents.
Navigate to the physical agent OracleDIAgent and double-click to open the physical agent.
The <Physical agent> tab opens.
Enter the host name and port to point to an agent of current environment and save the changes.
Click Test to test the changes.
The OracleDIAgent Test Successful dialog box must appear.
Make changes to the physical data server connections to point to the required source and target schemas. Perform the following steps to do so:
Click the Topology tab.
Expand Physical Architecture.
Navigate to Technologies > Oracle.
Right click and open the data server DS_OCDA_DWH.
In Definition, change Instance/dblink to point to the OHSCDA DWH work schema.
In Connection, change user and password to the user and password which were specified for the DWH work schema while installation.
In JDBC, change JDBC URL to point to the DWH work schema.
Expand the data server DS_OCDA_DWH.
Open the physical schema DS_OCDA_DWH.<CDA_DWH_SCHEMA>.
In Definition, update the OHSCDA DWH schema and work schema names.
Click Save.
Steps m through t are to update Oracle Clinical source connection. Similarly, update source connections for other required sources (Sieble Clinical and InForm).
Right click and open the data server DS_OCDA_OracleClinical.
In Definition, change Instance/dblink to point to the Oracle Clinical work schema.
In Connection, change user and password to the user and password which were specified for the Oracle Clinical work schema while installation.
In JDBC, change JDBC URL to point to the Oracle Clinical work schema.
Expand the data server DS_OCDA_OracleClinical.
Open the physical schema DS_OCDA_OracleClinical.<OCDA_OC_SRC_SCHEMA>.
In Definition, update the Oracle Clinical source and work schema names.
Click Save.
Note:
If InForm is your source and Auto merge is enabled:Expand the data server DS_OCDA_InForm.
Open the physical schema DS_OCDA_InForm.<INFORM_CONSOLICATION_SCHEMA>.
In Definition, update the InForm consolidation and InForm work schema names.
Log into the WebLogic console where ODI Agent is configured.
Navigate to the Services data source.
Open the master repository data source.
Click on the Connection Pool tab.
Change the Maximum Capacity value to 3600 and save the changes.
Configure data sources in the OHSCDA source schema.
Note:
By default, Oracle supports data source number 1, 2, and 3 for Oracle Clinical, Siebel Clinical, and InForm respectively.Table 2-1 Sample of Data Source Table W_RXI_DATASOURCE_S
ROW_WID | DATASOURCE_NUM_ID | DATASOURCE_NAME | DELETE_FLG | INTEGRATION_ID | ENTERPRISE_ID | INFORM_STUDY_GUID |
---|---|---|---|---|---|---|
1 |
1 |
ORACLE_CLINICAL |
N |
ORACLE_CLINICAL |
0 |
- |
2 |
2 |
SIEBEL_CLINICAL |
N |
SIEBEL_CLINICAL |
0 |
- |
3 |
3 |
INFORM |
N |
INFORM |
0 |
{FA5BCD87-B858-4F08-8BF8-1914B61C9DDF} |
4 |
101 |
INFORM_1 |
N |
INFORM_1 |
0 |
{CC0DBD73-FA40-4943-BDB3-60752C1A2732} |
Note:
If InForm is one of your sources and auto merge feature is not used, then the column INFORM_STUDY_GUID must be populated with studyguid for the corresponding InForm study.You can find the distinct studyguid from table RXI_STUDYVERSIONS in the consolidation database.
If auto merge is set to Y, then a single entry for data source 3 for INFORM is sufficient and INFORM_STUDY_GUID need not be populated. In this case, the consolidation DB is considered as single source and duplicates are handled by auto merge.
For more information, see Oracle Health Sciences Clinical Development Analytics Administrator's Guide.
OHSCDA ships the following load plans:
CDA - Complete Initial De Dup: This is used to generate flat files required for OHMPI full load.
CDA - Complete Warehouse with Dedup: This is used to load warehouse with one or all of the three source systems (Oracle Clinical, Siebel Clinical, and InForm) and with or without dedup flow.
CDA- Inform Automerge: This is used to load warehouse only from Inform data source and only when automerge feature is needed.
You will be using help.zip and images.zip files in this section.
You need to manually deploy OHSCDA's help and images files on Oracle WebLogic Managed Server. Perform the following steps:
Navigate to <MIDDLEWARE_HOME>\instances\<instancename>\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1\analyticsRes\ in Oracle WebLogic Server.
Create the following folders at <MIDDLEWARE_HOME>\instances\<instancename>\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1\analyticsRes\
s_ocda
Unzip help.zip from OCDA_Home\oracle.pharma.ocda.standard\Reporting\Help to <MIDDLEWARE_HOME>\instances\<instancename>\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1\analyticsRes\s_ocda\
Move customMessages and sk_ocda folders from <MIDDLEWARE_HOME>\instances\<instancename>\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1\analyticsRes\s_ocda\ to <MIDDLEWARE_HOME>\instances\<instancename>\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1\analyticsRes\
Add the following tag in instanceconfig.xml, present in <MIDDLEWARE_HOME>\instances\instance1\config\OracleBIPresentationServicesComponent\coreapplication_obips1:
<UI><DefaultSkin>ocda</DefaultSkin>
<DefaultStyle>ocda</DefaultStyle></UI>
Unzip the Images.zip files from OCDA_Home\oracle.pharma.ocda.standard\Reporting\Images to <MIDDLEWARE_HOME>\instances\<instancename>\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1\analyticsRes\s_ocda
Launch Oracle WebLogic Administration Server Console.
Example: https://hostname.domain:port/console
This opens the Oracle WebLogic Server Administration Console.
Log in to Oracle WebLogic Server Administration Console as an Administrator.
In the left pane of the Administration Console, select Deployments.
On the left pane, click Lock & Edit.
In the right pane, click Install.
This opens the Install Application Assistant.
In the Path field browse to <MIDDLEWARE_HOME>\instances\<instancename>\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1\analyticsRes\.
Select analyticsRes and click Next.
Select Install this deployment as an application and click Next.
In Available targets for analytics, select the servers in the cluster on which you want to deploy OHSCDA.
Click Next.
In the Deployment targets, select bi_server1
.
Click Next.
Select I will make the deployment accessible from the following location option for <MIDDLEWARE_HOME>\instances\<instancename>\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1\analyticsRes\ in the Source accessibility section.
Click Finish.
analyticsRes appears in the Deployment section.
Click Activate Changes.
Select analyticsRes in the Deployment section.
Click Start to view the list and select Servicing all requests. The Start Application Assistant page is displayed.
In the content pane of the new page, click Yes to start the selected deployment.
State of analyticsRes should be Active after this deployment. You may confirm the same on Deployments page.
Log out from Oracle WebLogic Server Administration Console.
Log in to Oracle Enterprise Manager Fusion Middleware Control.
Restart the BI components.
Log in to OBIEE and verify the branding and help links on the dashboards.
See Also:
Oracle WebLogic Server Documentation Library
You will be using OCDA.zip and OCDA.rpd files in this section.
To deploy InForm web catalog, copy OCDA.zip from OCDA_Home\oracle.pharma.ocda.standard\Reporting\Webcat\Inform_Webcat to OBIEE server.
Else, copy OCDA.zip from OCDA_Home\oracle.pharma.ocda.standard\Reporting\Webcat to OBIEE server.
Copy OCDA.rpd files from OCDA_Home\oracle.pharma.ocda.standard\Reporting\RPD to OBIEE server.
Unzip OCDA.zip in the following folder:
Windows32 - <DRIVE>:\<MIDDLEWARE_HOME>\instances\instance1\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1\catalog
UNIX - /<MIDDLEWARE_HOME>/instances/instance1/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/catalog
For fresh installation, create a TNS entry of OHSCDA database in %ORACLE_BI%\network\admin.
Create an ODBC entry (System DSN) to connect to (RXI) using Oracle Database 11g client driver.
In the Oracle BI Administration Tool, select File, then Open, and then Offline.
Navigate to the OCDA.rpd, and then click Open.
Password: Admin123
Click OK.
In the Oracle BI Administration Tool, select File, then Change Password.
Enter the current (old) password.
Enter the new password and confirm it.
Confirm the new password.
Click OK.
Modify the connection pools in the RPD as following:
In the physical layer, expand the OHSCDA Data Warehouse node and double-click Connection Pool object to open Connection Pool dialog box.
Set Data source name field to the ODBC entry for the warehouse you created in step 3.
Change the username to the username of the OHSCDA read-only schema. (RXI_RPD)
Change the password to the password of the OHSCDA read-only schema. (RXI_RPD)
Click OK.
Reconfirm the password.
Click OK.
From the File menu, select Save to save the rpd.
Click Yes for Do you wish to check global consistency?
Click Close in the Consistency Check Manager.
Click Save.
Click File and then click Close.
Click File and then click Exit.
Open NQSConfig.xml found at <MIDDLEWARE_HOME>instances\instance1\config\OracleBIServerComponent\coreapplication_obis1.
Set EVALUATE_SUPPORT_LEVEL =2
.
Start the Oracle WebLogic Server and BI components.
Open the Fusion Middleware Control URL from the system where you saved the OCDA.rpd in step 13. The URL includes the name of the host and the port number assigned during the installation. The following shows the format of the URL:
https://hostname.domain:port/em
The login page is displayed.
Note:
Oracle recommends that you enable HTTPS on middle-tier computers that are hosting the Web services, since otherwise the trusted user name and password that are passed can be intercepted.Enter the Oracle Fusion Middleware administrator user name and password and click Login.
Expand the Business Intelligence folder and select the coreapplication node.
The Overview page displays the current status of the system, by providing information about current availability, performance, and issues identified within the BI domain. The Overview page also enables you to start and stop Oracle Business Intelligence.
Navigate the Repository tab of the Deployment page.
Click Lock and Edit Configuration.
Click Close.
In the Upload BI Server Repository section, click Browse and navigate to select the RPD.
Enter the RPD password in Repository Password and Confirm Password fields.
In the BI Presentation Catalog section, enter <ORACLE_INSTANCE>/bifoundation/OracleBIPresentationServicesComponent/<COMPONENT_NAME>/catalog/OCDA in the Catalog Location field.
Click Apply, and then click Activate Changes.
Return to the Business Intelligence Overview page and click Restart.
You must have a database with the sample map data set. Perform the following steps to download the sample map data set:
Go to http://www.oracle.com/technetwork/middleware/bi-foundation/obieesamplesarchive-2026956.html
.
Navigate to OBIEE 11.1.1.3 - Sample Application.
Click NAVTEQ Data Bundle for OBIEE.
Click Save.
Create a user in the database.
Enable either the Spatial or the Locator feature in the Oracle database.
Import the map metadata using the Oracle import utility.
Perform the following steps to configure maps:
Open the Map Viewer console available at http://<server>:9704/mapviewer.
Click Admin.
Log in with the user ID and password provided during the installation.
Click Configuration in the right pane.
This launches the mapViewerConfig.xml file.
In the <security_config>
property of the file, change the following:
Change <proxy_enabled_hosts>
property to hostname, IP address and port to correct values.
Note:
There are 4 entries —2 pointing to hostname and 2 pointing to IP address of BI server. Ensure that all 4 entries point to the correct server.For example,
<proxy_enabled_hosts> http://localhost:9704/mapviewer,http://localhost:9704/,http://10.10.10.10:9704/,http://10.10.10.10:9704/mapviewer </proxy_enabled_hosts>
Update or add the following entries:
<disable_direct_info_request> true </disable_direct_info_request> <disable_info_request> true </disable_info_request> <disable_csf>true</disable_csf> <enforce_security_role> true </enforce_security_role>
In the 'Predefined Data Sources' section, add the following format of the user where you have imported the data dump:
<map_data_source name="OBIEE_NAVTEQ_SAMPLE" jdbc_host="<IP address>" jdbc_sid="<SID>" jdbc_port="<Port>" jdbc_user="<username>" jdbc_password="!<password>" jdbc_mode="thin" number_of_mappers="6" allow_jdbc_theme_based_foi="false" />
Click Save and Restart to save the changes and restart the services.
Click Create Tile Layer in the left pane.
Select Oracle Maps from the Select type of map source drop-down list.
Click Continue.
The Create a map tile layer for external map source screen appears.
Enter ELOC_WORLD_MAP in the Name field.
Select OBIEE_NAVTEQ_SAMPLE from the Data Source drop-down list.
Click Submit.
Perform the following steps to create groups:
Launch Oracle WebLogic Server Administration Console.
In Oracle WebLogic Server Administration Console, select Security Realms from the left pane and click the realm you are configuring. For example, myrealm.
Select Users and Groups tab, then Groups.
Click New.
In the Create a New Group page provide the following information:
Name: Enter the name of the group. Group names are case insensitive but must be unique. See online help for a list of invalid characters.
(Optional) Description: Enter a description.
Provider: Select the authentication provider from the list that corresponds to the identity store where the group information is contained. DefaultAuthenticator is the name for the default authentication provider.
Click OK.
The group name is added to the Group table.
Repeat step 4 through 6 with the following values:
Table 2-2 Security Group Parameters
Name | Description | Provider |
---|---|---|
OCDA-CRA |
(Optional) |
DefaultAuthenticator |
OCDA-DataManager |
(Optional) |
DefaultAuthenticator |
OCDA-ExecutiveManager |
(Optional) |
DefaultAuthenticator |
OCDA-RegionManager |
(Optional) |
DefaultAuthenticator |
OCDA-StudyManager |
(Optional) |
DefaultAuthenticator |
OCDA-WebcatAdim |
(Optional) |
DefaultAuthenticator |
Perform the following steps to create groups:
Log in to Oracle Enterprise Manager Fusion Middleware Control.
From the target navigation pane, open Business Intelligence and select coreapplication.
Right-click coreapplication, then select Security to display a submenu with Application Policies and Application Roles as options.
Select Application Roles. The Application Roles page is displayed.
Click Create to display the Create Application Role page. Complete the fields as follows:
In the General section:
Role Name - Enter the name of the Application Role.
(Optional) Display Name - Enter the display name for the Application Role.
(Optional) Description - Enter a description for the Application Role.
In the Members section, select Add Group. To search in the dialog box that displays:
Click the blue button to search. It will display a list of all the groups.
Select from the results returned in the Available box.
Use the shuttle controls to move the desired name to the Selected box.
Click OK to return to the Create Application Role page.
Repeat steps 5 and 6 for all the Roles listed in the following table:
Table 2-3 Application Roles and Groups
Role Name | Description | Groups |
---|---|---|
OCDA-CRA |
(Optional) |
OCDA-CRA |
OCDA-DataManager |
(Optional) |
OCDA-DataManager |
OCDA-ExecutiveManager |
(Optional) |
OCDA-ExecutiveManager |
OCDA-RegionManager |
(Optional) |
OCDA-RegionManager |
OCDA-StudyManager |
(Optional) |
OCDA-StudyManager |
OCDA-WebcatAdim |
(Optional) |
OCDA-WebcatAdim |
Perform the following steps only if you plan to implement deduplication. You must install Oracle client on the system where you intend to carry out OHMPI related cleanser and loader process. To set up OHMPI projects, perform the following steps:
Navigate to OCDA Home.
Locate the zipped OHMPI Project files and move all the zipped files to a system where you plan to import and modify projects using NetBeans.
Copy and unzip all the 18 project files.
On the NetBeans toolbar, click Open Project.
Navigate to the folder where the OHMPI projects are unzipped.
Select a project.
Select Open Required Projects and click Open Project.
Once the project is imported, right-click the main project file (OCDA_<dim>
) in the Projects window.
Right-click the same project and select Clean.
Right-click and select Generate Master Index Files.
Right-click and select Build.
Navigate to <project_home>/src/DatabaseScript
, where project_home
is the location of the master person index project files.
Connect to the project specific database schema, for example, for OCDA_Study project use ohmpi_study as username and the master password provided on Oracle Healthcare Master Person Index screen during OHSCDA installation.
Execute the following files:
create_with_LID.sql
systems.sql
Note:
The systemcode in systems.sql must be same as data source name provided in W_RXI_DATASOURCE_S. The systemcode is case-sensitive.codelist.sql
Repeat steps 4 through 14 to set up all the OHMPI projects.
This section describes instructions for creating the JDBC data resources and defining the JDBC connections for an MPI Application Project for Oracle.
For instructions on how to start and stop Oracle WebLogic Server, see Starting and Stopping Servers: Quick Reference at http://download.oracle.com/docs/cd/E14571_01/wls.htm
.
Log in to Oracle WebLogic Server Administration Console.
On the left panel, under Domain Structure, expand Services and select Data Sources.
Table 2-4 Security Group Parameters
Project Name | Application Name |
---|---|
OCDA_Study |
Study |
OCDA_Study_Site |
Study_Site |
OCDA_Study_Subject |
Subject |
OCDA_Geography |
Geography |
OCDA_LOV |
LOV |
OCDA_Site |
Site |
OCDA_Investigator |
Investigator |
OCDA_User |
OCDA_User |
OCDA_Valdtn |
OCDA_Valdtn |
OCDA_Product |
Product |
OCDA_Program |
Program |
OCDA_App_User |
App_User |
OCDA_Study_Region |
Study_Region |
OCDA_CRF |
CRF |
OCDA_CRF_BOOK |
CRF_BOOK |
OCDA_Region |
Region |
OCDA_Th_Area |
OCDA_Th_Area |
OCDA_Empl |
ocda_empl |
A summary of JDBC Data Sources appears in the right panel.
To create a new JDBC Data Source, click New at the bottom of the right panel.
Settings for a new JDBC Data Source appear in the right panel of the page.
In the Name field, type <Project name>DataSource
.
Choose a meaningful name. For example, OCDA_StudyDataSource.
In theJNDI Name field, type jdbc
/<Project name>DataSource
. For example, jdbc/OCDA_StudyDataSource.
In the Database Type list, select the appropriate type. For example, Oracle.
Click Next.
In the Database Driver list, select the appropriate driver. For example, Oracle's Driver (Thin XA) for Instance Connections; Versions: 9.0.1; 9.2.0; 10, 11.
Click Next and again click Next.
In the Database Name field, type a name for the database to which you want to connect. For example, OCDA_Study.
In the Host Name field, type the name or the IP address of the database server. For example, localhost.
In the Port field, type the port on the database server that is used to connect to the database. For example, 1521.
In the Database User Name field, type the database account user name you want to use to create database connections. For example, ohmpi_study.
In the Password field, type a password for your database account to use to create database connections.
In the Confirm Password field, re-type the password to confirm it.
Click Next.
The Settings for OCDA_StudyDataSource page appears in the right panel.
Click the Connection Pool tab, click Test Configuration, and then click Next.
Select Targets window appears on the Create a New JDBC Data Source page in the right panel. You can select one or more targets to deploy the new JDBC data source.
In the Servers check list, select one or more target servers and click Finish.
Note:
If you do not select a target, the data source will be created, but not deployed. You need to deploy the data source at a later time.Repeat the preceeding steps to create jdbc/OCDA_StudySequenceDataSource.
JMS servers act as management containers for the queues and topics in the JMS modules that are targeted to them.
The following procedure provide instructions for creating JMS resources, that includes:
JMS Server
JMS Module
JMS Connection Factory in the specific JMS Module
JMS Topic in the specific JMS Module
To create JMS server, perform the following steps:
On the left panel, under Domain Structure, expand Services, click Messaging, and then select JMS Servers.
A Summary of JMS Servers appears in the right panel. It includes a table that summarizes the JMS servers that have been created in the current WebLogic Server domain.
In the table of previously created JMS Servers, click New.
The Create a New JMS Server panel appears.
In the Name field, type the name for your new JMS Server.
Note:
This name already exists in the table of previously created JMS Servers (in the example,OCDA_StudyJMSServer
).Click Next.
Select Targets appears in the right panel under Create a New JMS Server.
From the Target list, select a target server instance or migratable target on which you want to deploy the JMS Server.
Note:
The default server instance is exampleServer.Click Finish.
To create JMS module, perform the following steps:
On the left panel, under Domain Structure, expand Services, click Messaging, and then select JMS Modules.
The JMS Modules panel appears.
In the JMS Modules table, click New to add a new JMS Module.
The Create JMS System Module panel appears.
In the Name field, type the new JMS Module name.
Note:
Be consistent in choosing the name for the JDBC Data Source and the JMS Server (in the previous examples, the key word was OCDA_Study, making this name OCDA_StudyJMSModule).Click Next.
Select Targets appears in the right panel under Create a New JMS System Module.
In the Servers area, select the server or cluster on which you want to deploy this JMS system module.
Note:
Retain the default, exampleServer.Click Finish.
To create JMS connection factory, perform the following steps:
On the left panel, under Domain Structure, expand Services, click Messaging, and then select JMS Modules.
Select the JMS Module (in the example, OCDA_StudyJMSModule) from the table of JMS Modules.
The Settings for OCDA_StudyJMSModule page appears in the right panel.
In the Summary of Resources table, click New.
Under the Type column in the Summary of Resources table, select Connection Factory and click Next.
Another panel of Create a New JMS System Module Resource appears.
In the Name field, type OCDA_StudyOutBoundSender
.
In the JNDI Name field, type jms/OCDA_StudyOutBoundSender
.
Select XA Connection Factory Enabled and click Save.
Click Next.
In the Target field, retain the default server instance (exampleServer) and click Finish.
To create JMS topic, perform the following steps:
On the left panel, under Domain Structure, expand Services, click Messaging, and then select JMS Modules.
In the right panel, select the JMS Module you created (in the example, OCDA_StudyJMSModule) from the table of JMS Modules.
Settings for OCDA_StudyJMSModule appear in the right panel with a Summary of Resources table.
In the Summary of Resources table, click New, select Topic, and then click Next.
The Create a New JMS System Module Resource panel appears on the right side of the window. Use this panel to set the properties that identify the new topic.
In the Name field, under JMS Destination Properties, type <name>Topic
. For example, OCDA_StudyTopic
.
Set jms/OCDA_StudyTopic as the JNDI Name and click Next.
The Create a New JMS System Module Resource page appears in the right panel. Use this page to set the properties that will be used to target your new JMS system module resource.
In the Subdeployments list, select None and click Create a New Subdeployment.
In the Subdeployment Name field, type <name>Topic
(for example, OCDA_StudyTopic
), and click OK.
In the Targets table of JMS Servers, select <name>JMSServer .For example, OCDA_StudyJMSServer
.
Click Finish.
This procedure leads you through the steps to deploy and run an MPI Application on Oracle WebLogic Server.
On the left panel of the WebLogic Server Administration Console, under Domain Structure, select Environment, and then select Deployments.
The Summary of Deployments panel appears.
On the right side of the panel under Deployments, click Install.
A Summary of Deployments panel with a Deployments table containing a list of EAR files appears.
Locate your application EAR and click Next.
The Install Application Assistant page appears in the right panel.
Locate the deployment you want to install and prepare for deployment.
Tip:
Select the file path that represent the application root directory, archive file, exploded archive directory, or application module descriptor that you want to install. You can also enter the path of the application directory or file in the Path field.Note:
Only valid file paths are displayed. If you cannot find your deployment files, upload your files and/or confirm that your application contains the required deployment descriptors.Click Next.
Note:
When deploying an MPI EAR file through the WebLogic Admin Console under Security, ensure that you choose DD Only. If you choose one of the other options, you cannot log in to the Master Index Data Manager (MIDM).Click Finish.
Launch Master Index Data Manager (MIDM).
From a web browser, enter the following:
For MPI Application: https://localhost:7001/StudyMIDM
Log in using your user name and password.
To create the MasterIndex.Admin and Administrator groups, and to create a new user within the two groups, perform the following steps:
On the left panel, under Domain Structure, expand Services, and then select Security Realms.
In the table on the Summary of Security Realms panel, click myrealm (the name of the realm).
The Settings for myrealm panel appears.
Select the Users and Groups tab and then click Groups.
In the Groups table, click New.
In the Name field, type MasterIndex.Admin
and click OK.
In the Groups table, click New.
In the Name field, type Administrator and click OK.
On the Settings for myrealm panel, select Users and Groups, and then select Users.
In the Users table, click New.
Type a name and a password for the new user you are creating, and click OK.
Select User Group.
To add the two groups you created to the user you created, from the Available list, drag MasterIndex.Admin to the Chosen list, and then drag Administrator to the Chosen list.
Note:
Repeat steps in Section 2.1.8.1, "Creating JDBC Data Resources for an MPI Application Project for Oracle", Section 2.1.8.2, "Creating JMS Resources for an MPI Application Project", and Section 2.1.8.3, "Deploying and Running Applications on Oracle WebLogic Server" for each of the 18 OHMPI projects.Repeat steps in Section 2.1.7.1, Section 2.1.7.2, and Section 2.1.7.3 for each of the 18 OHMPI projects.
Follow the steps in this section only if you plan to implement deduplication. Perform the following steps at the ODI Agent:
Set the OHMPI project related Jar files on ODI Agent.
If you have selected the Multi Source Integration option, navigate to the <drive>:/CDA_INSTALL/OCDA_Common/OHMPI
directory.
Unzip the project zip files.
Copy mpi-client-ocda_geography.jar from <drive were you unzipped the file>/OCDA_Geography/lib/
to the Java EE Agent/lib folder of ODI Agent.
Example of the ODI Agent path:
app/oracle/fmw/user_projects/domains/ohmpiut_domain/lib
Perform the preceeding steps for all the 18 projects and copy the following jar files:
mpi-client-ocda_app_user.jar mpi-client-ocda_crf_book.jar mpi-client-ocda_crf.jar mpi-client-ocda_empl.jar mpi-client-ocda_geography.jar mpi-client-ocda_investigator.jar mpi-client-ocda_lov.jar mpi-client-ocda_product.jar mpi-client-ocda_program.jar mpi-client-ocda_region.jar mpi-client-ocda_site.jar mpi-client-ocda_study.jar mpi-client-ocda_study_region.jar mpi-client-ocda_study_site.jar mpi-client-ocda_study_subject.jar mpi-client-ocda_th_area.jar mpi-client-ocda_user.jar mpi-client-ocda_valdtn.jar
Copy the following files from any one of the previous unzipped project:
index-core.jar
javaee.jar
net.java.hulp.i18n-2.1-SNAPSHOT.jar
Copy ocda_ohmpi.jar
from <drive>:/CDA_INSTALL/OCDA_ODI/Java_Code/Jar_Files
to the Java EE Agent/lib folder of ODI.
Copy wlfullclient.jar
from the <WebLogic home>/server/lib
to the Java EE Agent/lib folder of ODI Agent.
If wlfullclient.jar
is not available, run the following command from the <WebLogic home>/server/lib
directory to generate wlfullclient.jar
:
java -jar wljarbuilder.jar
Create the ocda.properties
file with the following settings to store connection information of Oracle WebLogic server and place it under EE Agent/lib folder.
INITIAL_CONTEXT_FACTORY=weblogic.jndi.WLInitialContextFactory
PROVIDER_URL= t3://<URL of the Oracle WebLogic server>
SECURITY_PRINCIPAL=<username> same username as provided on WebLogic Details Screen during OHSCDA installation
CDA_STORE_URL= EE Agent/lib/CDA_SEC_STORE
Navigate to the OCDA_HOME folder, locate CDA_INSTALL\OCDA_Common\OHMPI, and copy and unzip CDA_SEC_STORE.zip to the EE Agent/lib folder.
Create Secret Store Wallet and User Management.
OHSCDA needs to store the OHMPI username and password that is used to set the Context and call the OHMPI EJB during incremental dedup ETL execution. This user name and password is encrypted and stored in secret store wallet files. Following are the steps to store this information:
Navigate to the CDA_SEC_STORE
directory; execute CDA_OHMPI_CREATE_SSTORE.sh
.
Enter the user ID and password that are used for the OHMPI MIDM login.
Note:
To change the password for an existing user entry in the wallet file, re-enter the same user ID with a new password. This updates the password in the wallet file.Provide read and execute privileges to the operating system user that starts ODI Agent.
Note:
If Agent is configured in window box then perform the steps 9 and 10 in the UNIX box, and copy the CDA_SEC_STORE into EE Agent/lib folder.Set up connection pool properties for the odiMasterRepository datasource.
Log in to the Agent WebLogic URL.
Navigate to Services and click Data Sources.
Under the Configuration tab, click odiMasterRepository to open.
Navigate to the Connection Pool tab.
Set the following properties:
Initial Capacity =100
Maximum Capacity=2000
Minimum Capacity =100
Save the settings.
Note:
Perform the same changes to the odiWorkRepository datasource.Create a folder in agent server for log file with read and write privileges.
Restart the ODI Agent to deploy the jar files.
Execute the ETL load plan.
For more information on how to execute load plans, see Oracle Health Sciences Clinical Development Analytics Administrator's Guide.
This section describes how OHSCDA extracts InForm's operational data and loads it into the OHSCDA warehouse. All of the data for each InForm study is maintained in a transactional database (actually a database schema). InForm maintains one or more InForm databases per Oracle database instance. Each study also has a Reporting and Analysis database (again, a set of objects in a schema, not necessarily an exclusive database instance) which contains data in views designed for query, as opposed to transactional activity.
Inform maintains the Reporting and Analysis database for each study in a study-specific schema. For efficiency and maintainability, OHSCDA has created a program that extracts data from a number of InForm Reporting and Analysis databases and places that data into a single consolidated database. Then, OHSCDA's source-dependent extract code reads from the consolidated database, and writes to the OHSCDA warehouse.
For the remainder of this section, refer to any given InForm Reporting and Analysis database as a source schema and the schema in which OHSCDA consolidates InForm data as the consolidation schema.
OHSCDA consolidates data from selected InForm source schema views, the selected ones being the ones that have data corresponding to columns in the OHSCDA data model. The InForm source views that are consolidated for OHSCDA are these:
IRV_AF_SUBJECT_FORMSIRV_CUR_QUERYIRV_CUR_RULEIRV_CUR_SITEIRV_CUR_SPONSORIRV_CUR_SUBJECTIRV_CUR_USERIRV_FORM_REVSIRV_ITEMSET_REVSIRV_ITEM_REVSIRV_QUERY_STATE_CHANGESIRV_SECTION_REVSIRV_STUDYVERSIONSIRV_STUDYVERSION_FORMSIRV_STUDYVERSION_VISITSIRV_SUBJECT_STATE_CHANGESIRV_SV_SUBJECTVISITSIRV_USERS_SITES
For each of these source views, the consolidation schema contains a consolidation table. Each consolidation table has the same columns as its source view, except that the consolidation table has three additional columns:
STUDYGUID
CONSOLIDATION_DATETIME
MODIFIEDDATETIME
STUDYGUID is needed to retain the association of each record with its InForm study. CONSOLIDATION_DATETIME and MODIFIEDDATETIME allows OHSCDA ETL to detect which consolidated records have been added or updated since the prior ETL execution.
The names of tables in the consolidation schema match the names of their source views, with the following change:
IRV in the source view name is replaced with RXI in the consolidation table name.
Consolidation is the process of getting new or modified records from a source schema and updating the consolidation schema with those records. Consolidation is carried out by periodic execution of a scheduled job in each InForm schema that contributes to the consolidation schema. Execution is done through the DBMS_JOB facility. Each source schema is consolidated on its own schedule.
There is no master job that oversees or coordinates the consolidation of all the source InForm schemas. You can choose to consolidate different InForm schemas at different times, and with different intervals between consolidations. However, the more spread out consolidations are, the wider the time period represented by the records in the consolidation schema. So it is recommended that you schedule consolidation jobs to fall within a small time window. For details on scheduling, see Section 2.2.7, "Adjusting Scheduling of Consolidation Jobs".
When the Consolidation job executes for a particular source schema, it does the following:
For each source table from which OHSCDA extracts data,
Identify what records have been created or modified in this table since the previous consolidation
For each modified source record, drop the corresponding record in the consolidation table
Insert all new and modified records in the Consolidation schema table, setting their StudyGUID, and modification timestamps
The procedures that does this work reside in each InForm Reporting and Analysis Schema, they are placed there as part of the process of preparing that schema for consolidation.
Preparation for consolidation also creates an access account in the database holding the source schema. This account is the one that reads the Reporting views, and writes to the consolidation tables. This access account is named CDAxxx, where xxx is the Study name.
All movement of data is done by a pull from the Reporting and Analysis Database to the Consolidation database. This ensures that there is no path by which someone who can connect to the consolidation schema is able to modify the InForm database.
The instructions that follow tell how to do the initial setup of the consolidation schema (this also enrolls the first Study to be consolidated as part of the process) and then how to set up each additional InForm study so that it becomes a contributor to the Consolidation schema.
Before you begin:
Navigate to OCDA_HOME\oracle.pharma.ocda.standard\OCDA_Common_Scripts\Inform_Consolidate.zip.
Copy and unzip the InForm_consolidate.zip file to a server from which it is possible to access all InForm source database that contain studies that are to be consolidated and also to access the database in which the consolidation schema is located.
This section describes the steps to create the Consolidation Schema. As part of the process, it enrolls an initial InForm study as a source to be consolidated.
If one does not already exist, create a TNSNAMES.ORA entry for the Consolidation database instance on each InForm database server that contains a study that is to be consolidated.
Note:
This is not essential. If you prefer not to create the TNSNAMES entries, you can provide the complete connection string instead of the TNS name when specifying remote databases below.On the consolidation schema database server, add a TNSNAMES.ORA entry for each source schema database.
On consolidation schema database server, create a root directory for managing the files needed to configure and log consolidation of the source schemas.
We will refer to this directory as <$ConsolidationMgmtRoot>.
If trial source and target consolidation DB are in the same network, then a single <$ConsolidationMgmtRoot> is sufficient. Else, replicate the directory in both the servers.
During the setup of the source trial DB, use TrialCDA and logs folders. And, during the setup of the destination consolidation DB, use DestCDA and logs folder.
This section describes the steps you must follow to prepare a source schema for consolidation and perform the initial execution of consolidation of that schema. Subsequent consolidations occurs automatically at an interval you define as part of the preparation described here.
The setup and configuration is performed in the following two phases for each study trial:
Follow the instructions in this section for each InForm study that is to be consolidated for consumption by OHSCDA.
On either source or consolidation schema database server, based on the network architecture as described in Section 2.2.3.2, create a directory within <$ConsolidationMgmtRoot> /<Study-name> to hold the files for consolidation of this study.
Copy the contents of InForm_consolidate.zip into the <$ConsolidationMgmtRoot>/<Study-name>/TrialCDA directory.
Set your current directory to the <$ConsolidationMgmtRoot>/<Study-name> directory.
Edit CONFIGTRIALCDA.sql to set specific values of configuration parameters for this study. Make the following changes:
Table 2-5 Source Trial Configuration Parameters
Parameter | Set value to |
---|---|
Slash |
Use \ for Windows or / for Linux |
trial_name |
The name of the study. |
inform_release |
For InForm 4.6 or earlier, enter R46. For later releases, enter R55. |
trial_tnsname |
Name in the local TNSNAMES file of the source database for the study. Can also supply entire TNS entry for the source database as a string. |
trial_schema_user |
Username of the InForm source schema. |
trial_schema_password |
Password of the InForm source schema. |
trial_ro_user |
This is OHSCDA reporting object schema user name and is defaulted to trail_name prefixed with 'cda'. |
trial_ro_password |
This is OHSCDA reporting object schema password and is defaulted to trail_name prefixed with 'cda'. You can change this password. |
trial_dba_user |
Database username who has the dba privileges. |
trial_dba_password |
Password for database username. |
trial_ts |
Name of a tablespace in the source schema database to which the access account for this study will be given access. |
trial_ts_temp |
Name of a temporary tablespace in the source schema database to which the access account for this study will be given access. |
Save the file.
Connect to SQLPlus. Execute the following command:
sqlplus /nolog
From the command prompt, execute the following command:
@Setup_Trial_CDA.sql
Navigate to the <$ConsolidationMgmtRoot>/<Study-name>/Logs directory to review the log.
If any errors are found, make necessary corrections and re-execute Setup_Trial_CDA.sql.
Follow the instructions in this section for each InForm study that is to be consolidated for consumption by OHSCDA.
On the consolidation schema database server, based on the network architecture as described in Section 2.2.3.2, create or reuse a directory within <$ConsolidationMgmtRoot> /<Study-name> to hold the files for consolidation of this study.
Copy or reuse the contents of InForm_consolidate.zip into the <$ConsolidationMgmtRoot>/<Study-name> directory.
Set your current directory to the <$ConsolidationMgmtRoot>/<Study-name>/DestCDA directory.
Edit CONFIGDESTCDA.sql to set specific values of configuration parameters for this study. Make the following changes:
Note:
If you prefer not to create the TNSNAMES entries, you can provide the complete connection string instead of the TNS name when specifying the remote databases below.The trial parameters mentioned in Table 2-6 must match with the ones defined in Table 2-5.
Table 2-6 Destination Configuration Parameters
Parameter | Set value to |
---|---|
Slash |
Use \ for Windows or / for Linux |
Parameters for configuring the source schema and database |
|
trial_name |
The name of the study. |
inform_release |
For InForm 4.6 or earlier, enter R46. For later releases, enter R55. |
trial_tnsname |
Name in the local TNSNAMES file of the source database for the study. Can also supply entire TNS entry for the source database as a string. |
trial_schema_user |
Username of the InForm source schema. |
trial_global_name |
Global name of the source schema database. You can get this by connecting to the source schema and running the following query: SELECT * FROM GLOBAL_NAME |
trial_ro_user |
This is OHSCDA reporting object schema user name and is defaulted to trail_name prefixed with 'cda'. |
trial_ro_password |
This is OHSCDA reporting object schema password and is defaulted to trail_name prefixed with 'cda'. You can change this password. |
Parameters for configuring the target schema and database |
|
dest_tnsname |
Name of the target database in the TNSNAMES file on the source database server for the study. Can also supply entire TNS entry for the target database as a string. |
dest_schema_owner |
This defaults to and is same as trial_ro_user parameter. |
dest_schema_password |
This defaults to and is same trial_ro_password parameter. |
dest_consolidated_user |
This is the consolidation schema username. Default is RXI_INFORM. |
dest_consolidated_password |
This is the consolidation schema password. Defaults is RXI_INFORM. You can change this password. |
dest_dba_user |
Database username who has dba privileges on the consolidation database. |
dest_dba_password |
Password for the database username on the consolidation database. |
dest_ts |
Name of a tablespace in the target schema database to which the consolidation and access account will be given access. |
dest_ts_temp |
Name of a temporary tablespace in the target schema database to which the consolidation and access account will be given access. |
consolidate_job_interval |
The interval between executions of the program to consolidate new and modified data from this study. A value of 1 results in an interval of one day. A value of 1/24 results in an interval of one hour. |
Save the file.
Connect to SQLPlus. Execute the following command:
sqlplus /nolog
From the command prompt, execute the following command:
@Setup_Dest_CDA.sql
Navigate to the <$ConsolidationMgmtRoot>/<Study-name>/Logs directory to review the log.
If any errors are found, make necessary corrections and re-execute Setup_Dest_CDA.sql.
If InForm is one of the source systems, connect to the InForm Consolidation database and execute the cda_cdb_automerge_ddl.sql script located in the OCDA_HOME/oracle.pharma.ocda.standard/DataModels/ directory.
After you have initiated at least one consolidation and created Auto Merge tables, perform the following steps before running ETL against the consolidation schema:
Connect to the Consolidation schema database as SYSTEM.
Execute script OCDA_INFORM_VIEWS.sql located in the OCDA_HOME/oracle.pharma.ocda.standard/DataModels/ directory.
As mentioned earlier, initial consolidations, especially of large source schemas, should be done in isolation to avoid contention for resources. But once the initial consolidation of a schema is done, subsequent consolidations of that schema are incremental and involve smaller numbers of records (incremental consolidations are limited to new or modified Subjects, CRFs, and Queries accumulated since the previous consolidation).
Once initial consolidation of a source schema is complete, it is useful to adjust the scheduling of its incremental consolidations so that they start near to the time of other incremental consolidation of other source schemas. The closer in time consolidations start across studies, the smaller the time period represented in the consolidation schema.
To adjust the time when a study's consolidation job executes, perform the following steps:
Connect as the source schema owner.
Determine the consolidation job ID using the following query for InForm 4.6:
select jobfrom user_jobswhere what like 'REFRESH_PROCS.REFRESH_WITH_STREAMS_DELAY%';
or the following query for InForm 5.5 and later:
select jobfrom user_jobswhere what = 'CDA_PROCS.CONSOLIDATE';
Change the time for the next execution of the job by using the dbms_job.next_date procedure.
Note:
The next_date parameter is an Oracle date-time in which you can specify both the date and time for the next execution.Remember to follow the call with a commit. For example,
begindbms_job.next_date ( job => 12345, next_date => to_date('21-AUG-2013@01:01:00','DD-MON-YYYY@HH24:MI:SS'));end;commit;/
This causes job 12345 to next be executed at 1:01 AM on 21-AUG-2013.
You can also change the interval between subsequent executions of the job using the dbms_job.interval procedure. Set the interval parameter to the string 'SYSDATE + <desired-interval>', replacing <desired-interval> with the number of days, or the fraction of a day to elapse before the next execution.
begindbms_job.interval(job => 12345,interval => 'SYSDATE + 1/2');end;commit;/
This sets the interval between executions of job 12345 to half a day or every 12 hours.
This section describes procedures you may, or must, perform for certain OHSCDA sources. Please review each section and determine if it applies to the source(s) you are using for OHSCDA. If the section does apply, carry out the procedure. If the section is optional, decide whether it is appropriate for your requirements and act accordingly.
Different source applications handle the deletion of records in different ways. Oracle Clinical allows deletions of records in a way that avoids orphans, and has built-in auditing of these deletions. Siebel Clinical also allows deletions, properly cascading to maintain referential integrity, but does not have built-in auditing of deletions. InForm does not provide any means to hard-delete records in its transactional database. So, it does not need to be concerned neither with maintaining integrity in the face of deletions nor with auditing deletions.
OHSCDA's ETL consults the audit trails to determine if source records have been deleted, and then soft-deletes those records in the warehouse.
OHSCDA defines an optional process that you can use to manage hard deletion of records in Siebel Clinical. You create triggers in the source system to handle deletion of records. For a description of this process, see Oracle Clinical Development Analytics Administrator's Guide.
Since no deletions are supported through the InForm UI, OHSCDA makes no provision for detecting them. If you need to delete records from an InForm transactional table at the backend and want the OHSCDA warehouse to be consistent with that change, you must identify the warehouse records that arose from the InForm records that are to be deleted. Also, you must remove them from the consolidation schema and the warehouse.
Depending on how you use OHSCDA, you may prefer to have reports that give information only on currently active studies. If so, and if source studies are completed or possibly deleted, the recommended approach for removing such a study from OHSCDA is to use OHSCDA's access control capability. That is, enable Study and Study-site access controls, and then exclude the study and its sites from the list of studies (and sites) available to OHSCDA users. Aside from being simpler than identifying and deleting records from the warehouse, this approach has the advantage of being reversible if the decision to remove the study from the warehouse is reconsidered.
If you do not wish to use access control to avoid display of deactivated or deleted studies, there is an alternative solution. In the OHSCDA warehouse, every dimension table, and every base fact table, has a column named DELETE_FLG. OHSCDA's OBIEE repository is designed to treat records where DELETE_FLG equals 'Y' as if they were not present in the warehouse. OHSCDA's SIL also disregards records with DELETE_FLG = 'Y' when calculating values for aggregate tables (those with names ending with _A). So you can cause records to be effectively removed from the warehouse by setting their DELETE_FLG to 'Y'. Thus, if a study has been removed from a source database, you could identify all dimension and fact records for that study, and set their DELETE_FLG to 'Y'. This causes them to be forever invisible to OHSCDA's analytics.
This solution could be used, but only with great caution, for a study that is considered to be deactivated, but still remains in the source. Once marked as deleted, warehouse records for a study will not get their DELETE_FLG set back to 'N', but OHSCDA creates new warehouse records if there are changes or additions in the source for that study. So, if the study is truly inactive in the source, soft-deleting warehouse records for the study by setting DELETE_FLG to 'Y' will work. But any changes or additions to the study would cause new records to be loaded into the warehouse for the study, and it would re-appear in analyses.
To optimize source system integration with OHSCDA, perform the following steps:
Create the following indexes:
Function based index on DISCREPANCY_ENTRIES - NVL ("MODIFICATION_TS", "CREATION_TS")
Function based index on DISCREPANCY_ENTRY_REVIEW_HIST - NVL ("NEXT_STATUS_TS", "CREATION_TS")
Function based index on RECEIVED_DCIS - NVL ("MODIFICATION_TS", "RECEIVED_DCI_ENTRY_TS")
Function based index on RECEIVED_DCMS - NVL ("MODIFICATION_TS", "RECEIVED_DCM_ENTRY_TS")