This chapter contains the following topics:
Set the following environment variables on the machine from where the HDR installer will be run:
JAVA_HOME - JDK1.7 install directory
ANT_HOME - Ant home path (Ant 1.7.1 or later)
ORACLE_HOME - Oracle database home directory
ORACLE_HOME_LISTENER - Oracle database listener home directory
PATH - $ORACLE_HOME/bin :$PATH
TWO_TASK - Oracle Service Name. If you are installing HDR on the Oracle 12c pluggable database (PDB), then set this variable before running the HDR installer.
HDR_HOME - Directory where HDR must be installed.
WL_HOME - WebLogic home directory
If you are installing HDR on the Oracle 12c pluggable database (PDB), then perform the following:
Edit $ORACLE_HOME/network/admin/tnsnames.ora and add an entry for the PDB service name. The tnsname shall be same as the PDB service name.
Edit $ORACLE_HOME/network/admin/listener.ora and add the USE_SID_AS_SERVICE_listener=on line.
This section explains how to install the HDR application using the Oracle Universal Installer. Based on the operating system, download the respective HDR installer. For example, HDR_Installer_<Operating _System>64_Package.zip.
The HDR application has to be installed in two stages:
This section explains how to create CTB and HCT schemas and respective database objects in the CTB and HCT schemas.
To install the HDR database tier, perform the following:
Copy HDR_Installer.zip and artifacts.zip folders to the database server machine.
Extract the files from HDR_Installer.zip and artifacts.zip to a directory.
For example, /home/hdrinstaller.
Navigate to the /hdrinstaller/Disk1 directory using the following command:
cd /hdrinstaller/Disk1
Execute the following script:
./runInstaller.sh
The Oracle Universal Installer screen is displayed.
Click Next.
The Select a Product to Install screen is displayed.
Select the Healthcare Data Repository - Database Tier 7.0.1.0.0 option for HDR database schema and click Next.
The Specify Home Details screen is displayed.
Enter the following values in the corresponding fields:
Table 2-1 Field Values
Field | Value |
---|---|
Name |
Enter the name of HDR Home. |
Path |
Enter the path for HDR Home. |
This is the location where the HDR product artifacts, including the HDR J2EE application are copied.
Notes:
|
Click Next.
The Database Details screen is displayed
Enter the following values in the corresponding fields:
Click Next.
The Tablespace Properties screen is displayed.
Enter the following values in the corresponding fields:
Table 2-3 Field Values
Field | Value |
---|---|
HCT user tablespace name |
Enter the table space name for the HCT schema. |
HCT user tablespace file |
Enter the database file path (.dbf file) of the HCT tablespace. |
CTB user tablespace name |
Enter the table space name for the CTB schema. |
CTB user tablespace file |
Enter the database file path (.dbf file) of the CTB tablespace. |
Context tablespace name |
Enter the table space name for ETS context indexes. |
Context tablespace file |
Enter the database file path (.dbf file) of the Context tablespace. |
Index tablespace name |
Enter the tablespace name for all CTB and HCT indexes. |
Index tablespace file |
Enter the database file path (.dbf file) of the Index tablespace. |
Click Next.
The HCT User Password screen is displayed.
Enter the following values in the corresponding fields:
Enter Password - Enter the HCT user password.
Confirm Password - Re-enter the HCT user password to confirm.
Click Next.
The CTB User Password screen is displayed.
Enter the following values in the corresponding fields:
Click Next.
The ETS Concurrent Programs Settings screen is displayed.
Figure 2-6 ETS Concurrent Programs Settings
Enter the following values in the corresponding fields:
Table 2-5 Field Values
Field | Value |
---|---|
Absolute path of the Java executable |
Enter the complete JDK bin/java path. |
HDR middle-tier user name for service locator login |
Enter the WebLogic HDR user name. |
HDR middle-tier user password for the service locator login |
Enter the WebLogic HDR user password. |
Note: The WebLogic HDR user name and password should match the WebLogic domain user name and password mentioned in Running Installer for HDR Middle-Tier Installation. |
|
Confirm the middle-tier user password |
Re-enter the WebLogic HDR password to confirm. |
Click Next.
The Summary screen is displayed.
Click Install.
Note: Any errors during the installation are logged in the files under the <user_home_dir /oraInventory/logs folder. |
On successful completion of installation, the End of Installation screen is displayed.
Click Exit.
To install the HDR middle-tier, perform the following:
Copy HDR_Installer.zip and artifacts.zip folders to the WebLogic server machine.
Extract the files from HDR_Installer.zip and artifacts.zip to a directory.
For example, /home/hdrinstaller.
Navigate to the hdrinstaller directory using the following command:
cd hdrinstaller/Disk1
Execute the following script:
./runInstaller.sh
The Oracle Universal Installer screen is displayed.
Click Next.
The Select a Product to Install screen is displayed.
Select the Healthcare Data Repository – WebLogic Tier 7.0.1.0.0 option and click Next.
The Specify Home Details screen is displayed.
Enter the following values in the corresponding fields:
Table 2-6 Field Values
Field | Value |
---|---|
Name |
Enter the name of HDR Home. |
Path |
Enter the path for HDR Home. |
Note:
|
Click Next.
The Choose WebLogic Home Directory screen is displayed.
Enter the WebLogic home path in the WebLogic home folder field.
Click Next.
The HDR Domain Properties screen is displayed.
Enter the following values in the corresponding fields:
Table 2-7 Field Values
Field | Value |
---|---|
Domain name |
Enter the WebLogic domain name under which the HDR application has to be deployed. |
Domain admin user |
Enter the WebLogic domain admin user name. |
Domain admin password |
Enter the WebLogic domain admin password. |
Confirm domain admin password |
Re-enter the WebLogic domain admin password. |
Admin server listen port |
Enter the admin port number of the HDR domain. |
Admin server SSL listen port |
Enter the SSL port number. |
Click Next.
The HDR Managed Server Properties screen is displayed.
Enter the following values in the corresponding fields:
Click Next.
The IHE XDS User Password screen is displayed.
Enter the following values in the corresponding fields:
Click Next.
The DataSource properties screen is displayed.
Enter the following values in the corresponding fields:
Click Next.
The OIDs and Empi Configuration screen is displayed.
Select one of the following options:
Select Yes, if the HDR database is a fresh installation.
The OID Values screen is displayed.
Select No, if the HDR database is upgraded from HTB 5.3 or 6.1.1.
Enter the values in the fields as required.
Click Next.
The Oracle Wallet Details screen is displayed.
Enter the values in the fields as required.
Click Next.
The IHE Profile Options screen is displayed.
To access the IHE Web Services, select Yes. Else, select No.
Select Yes and click Next.
The IHE Profile Options screen is displayed.
Enter the values in the fields as required.
Note: For more information on IHE Profile options, see the Oracle Healthcare Data Repository Implementation Guide. |
Click Next.
The Summary screen is displayed.
Click Install.
The following message is displayed after successful installation:
The installation of Oracle Healthcare Data Repository - WebLogic tier was successful.
Note: Installer log files are created under the <user_home_dir>/OraInventory/logs folder. Refer these log files for any errors during the installation. |
Click Exit to exit the installer.
Copy all the MTK custom schema/MIFs from HTB 6.X instance to HDR 7.0.1 instance by running the following command:
Note: This step is applicable when you upgrade from HTB 6.X to HDR 7.0.1. |
Copy $JAVA_TOP/oracle/apps/ctb/message/defs/customSchema/* to $HDR_HOME/hdr_exploded_app/oracle/apps/ctb/message/defs/customSchema
Copy the tCDA configuration XMLs from HTB 6.X instance to the HDR 7.0.1 instance by running the following command:
Note: This step is applicable when you upgrade from HTB 6.X to HDR 7.0.1. |
Copy $JAVA_TOP/oracle/apps/ctb/ccd/metadata/configuration/server/*.xml to $HDR_HOME/hdr_exploded_app/oracle/apps/ctb/ccd/metadata/configuration/server
Start the WebLogic hdr_domain admin server.
For example, > nohup ./startWebLogic.sh &
Start the hdr_server managed server.
For example, > nohup ./startManagedWebLogic.sh <hdr-nodemanger>http://<ip-address>:<port -number> hdr_server.log &
You can install HDR without using the Oracle Universal Installer. To install HDR without using the Oracle Universal Installer, perform the following:
Extract the files from artifacts.zip and follow the instructions as mentioned in the /artifacts/docs/HDR_installation_readme.txt file.
To verify the HDR installation, execute the SessionTest.java code supplied. This code tests the creation of a session, user login, ETSService, Profile Options Service, and MasterCatalogService.
To execute the SessionTest.java file, perform the following:
Create a folder 'src' on your system and copy the SessionTest.java file and the jndi.properties file to the folder.
Edit application server details in the jndi.properties file.
Install the client-side libraries.
For a list of the client-side libraries, refer to the Healthcare Data Repository Programmer's Guide.
Execute the SessionTest.java file after the compilation.
This section contains the following topics:
To uninstall the database objects (CTB and HCT user schemas), perform the following:
Execute the following SQL scripts from sqlplus/sqldeveloper as sys user:
exec dbms_scheduler.drop_job('HDR_ETS_MAINTENANCE', TRUE);
exec dbms_scheduler.drop_job('HDR_ETS_LOADER', TRUE);
exec dbms_scheduler.drop_job('HDR_ETS_IMPORTER', TRUE);
exec dbms_scheduler.drop_program('hdr_ets_maintenance_program');
exec dbms_scheduler.drop_program('hdr_ets_loader_program');
exec dbms_scheduler.drop_program('hdr_ets_importer_program');
exec dbms_scheduler.drop_job('hdr_bdl_scheduler_job',TRUE);
exec dbms_scheduler.drop_program('hdr_bdl_scheduler_program');
drop user HCT cascade;
drop user CTB cascade;
drop tablespace CTB_TBS INCLUDING CONTENTS and datafiles;
drop tablespace HCT_TBS INCLUDING CONTENTS and datafiles;
drop tablespace IDX_TBS INCLUDING CONTENTS and datafiles;
drop tablespace CTX_TBS INCLUDING CONTENTS and datafiles;
To uninstall the HDR middle-tier application, perform the following:
Stop the hdr_domain and hdr_server node mangers.
Delete the hdr_domain folder completely.
Edit WebLogic Oracle_Home/domain-registry.xml and remove the entry for hdr_domain.
Delete the HDR home directory (that you provided during installation) completely.