Set the following environment variables on the machine where you will run the HDR installer:
JAVA_HOME - JDK install directory (for example, C:/Java/jdk1.8.0_121
)
ORACLE_HOME - Oracle database home directory
ORACLE_HOME_LISTENER - Oracle database listener home directory
PATH - $ORACLE_HOME/bin :$PATH
HDR_HOME - Directory where HDR will be installed.
WL_HOME - WebLogic home directory
ETS_HOME- It should be <HDR_HOME>/hdr_db/ets
if you run it on the database tier and <HDR_HOME>/weblogic/hdr/ets
if you run it on the middle tier.
This section explains how to install the HDR application using the Oracle Universal Installer found at HDR_Installer_Linux64.zip.
If the HDR Installer cannot reuse the default oraInventory location or if you prefer to have a custom oraInventory location, you can:
Create an oraInventory
directory in your preferred location.
Create a file named oraInst.loc and put it in the oraInventory directory.
The contents of the oraInst.loc file must be:
inventory_loc=<full_path_of_the_new_oraInventory_location> inst_group=<OS_user_group_name_that_owns_the_new_oraInventory_location>
When you run the HDR Installer, use the following command instead of the one specified in Section 4.2.2, "Run the HDR database tier Installer".
Disk1$ ./install/runInstaller -invPtrLoc <full_path_to_the_new_ oraInst.loc file>
The Installer creates the HDR, ETS and HDR_CONFIG schemas and database objects in the HDR, ETS and HDR_CONFIG schemas.
Copy HDR_Installer_Linux64.zip folders to the database server machine.
Extract the files from HDR_Installer_Linux64.zip to a directory such as /home/hdrinstaller. This location name is not required but it is used in the following step.
Navigate to the /hdrinstaller/Disk1 directory using the following command:
cd /hdrinstaller/Disk1
Execute the following script:
./runInstaller.sh
Enter values in the Installer screens. See the following table for details.
Table 4-1 HDR Oracle Universal Installer screens for the database tier
Screen | Details |
---|---|
Welcome |
Click Next. |
Select a Product to Install |
Select the database tier and click Next. |
Specify Home Details |
|
Database Details |
Enter values as follows:
|
Choose if want to configure per domain tablespaces |
Select an option for the number of tablepaces to configure:
|
HDR Current Data Tablespace |
If you are upgrading from an earlier version of HTB/HDR, enter the names of the tablespaces where the latest versions of records are stored for the following types of data. The default tablespace names are displayed. Change them if you use different names:
|
HDR Current Index Tablespace |
If you are upgrading from an earlier version of HTB/HDR, enter the names of the tablespaces where indexes for the latest versions of records are stored. The default tablespace names are displayed. Change them if you use different names:
|
HDR Historical Data Tablespace |
If you are upgrading from an earlier version of HTB/HDR, enter the names of the tablespaces where indexes for the historical versions of records are stored. The default tablespace names are displayed. Change them if you use different names:
|
Enter Password for HDR schema |
Enter and confirm the password for the HDR database user account. |
Choose Password for config schema |
Enter and confirm the password for the HDR_CONFIG user account. All static configuration data and seed data of the HDR product are stored in this schema. |
ETS Schema Details |
Enter Enterprise Terminology Services details. Default values are displayed for some fields.
|
Choose Directory for Java Home |
Enter or browse to the Java Home location for the ETS Java Scheduler Job programs to run in. |
Summary |
Review the settings, then click Install. Any errors during the installation are logged in the files under oraInventory/logs folder. Absolute path of the file will be displayed on the OUI screen. |
End of Installation |
Read the message and click Exit. |
To install the HDR middle tier, perform the following:
Copy HDR_Installer_Linux64.zip to the WebLogic server machine.
Extract the files from HDR_Installer_Linux64.zip to a directory such as /home/hdrinstaller. This location name is not required but it is used in the following step.
Navigate to the hdrinstaller directory using the following command:
cd hdrinstaller/Disk1
Execute the following script:
./runInstaller.sh
Enter values as required in the Installer screens.
Table 4-2 HDR Oracle Universal Installer screens for the middle tier
Screen | Details |
---|---|
Welcome |
Click Next. |
Select a Product to Install |
Select the WebLogic tier and click Next. |
Specify Home Details |
You can choose the same machine for both the middle tier and the database tier, but Oracle recommends installing them on two different servers in a production environment. |
Choose WebLogic Home Directory |
WebLogic home folder: Enter the path to the WebLogic home. |
HDR Domain Properties |
Enter values as follows:
|
HDR Managed Server Properties |
Enter values as follows:
|
IHE XDS User Password |
Enter the IHE XDS user password, then re-enter it to confirm. |
Data Source Properties |
Enter values as follows:
|
OIDs Configuration |
Would you like to configure OIDS?
|
Oracle Wallet Details |
|
IHE Profile Options |
To access the IHE web services, select Yes. If you are upgrading from HDR 6.1.1 or 7.0.1, select No. |
IHE Profile Option Detail |
Enter values as follows:
For more information on IHE Profile options, see the Oracle Healthcare Data Repository Implementation Guide. |
Summary |
Review the changes, then click Install. Any errors during the installation are logged in the files under the <user_home_dir>/oraInventory/logs folder. |
End of Installation |
Read the message and click Done. |
Start the WebLogic hdr_domain admin server. For example:
nohup ./startWebLogic.sh &
Start the hdr_server managed server. For example (all in one line):
nohup ./startManagedWebLogic.sh
<hdr-nodemanger
>http://<
ip-address
>:<port -number
> hdr_server.log &
To uninstall the database objects (HDR, ETS and HDR_CONFIG user schemas), execute the following SQL scripts from sqlplus/sqldeveloper as the sys user:
Note:
If the tablespace names used during HDR install were different from the standard names then adjust the scripts accordingly.alter session set "_oracle_script"=true; set serveroutput on; declare type tbs_name_type is table of varchar2(100); tbs_names tbs_name_type; begin begin dbms_scheduler.drop_job('HDR_ETS_MAINTENANCE', TRUE); exception when others then dbms_output.put_line(SQLERRM); end; begin dbms_scheduler.drop_job('HDR_ETS_LOADER', TRUE); exception when others then dbms_output.put_line(SQLERRM); end; begin dbms_scheduler.drop_job('HDR_ETS_IMPORTER', TRUE); exception when others then dbms_output.put_line(SQLERRM); end; begin dbms_scheduler.drop_program('hdr_ets_maintenance_program'); exception when others then dbms_output.put_line(SQLERRM); end; begin dbms_scheduler.drop_program('hdr_ets_loader_program'); exception when others then dbms_output.put_line(SQLERRM); end; begin dbms_scheduler.drop_program('hdr_ets_importer_program'); exception when others then dbms_output.put_line(SQLERRM); end; select tablespace_name bulk collect into tbs_names from DBA_TS_QUOTAS where username in ('HDR', 'ETS', 'HDR_CONFIG'); begin execute immediate 'drop user HDR cascade'; exception when others then dbms_output.put_line(SQLERRM); end; begin execute immediate 'drop user ETS cascade'; exception when others then dbms_output.put_line(SQLERRM); end; begin execute immediate 'drop user HDR_CONFIG cascade'; exception when others then dbms_output.put_line(SQLERRM); end; for i in 1..tbs_names.count loop begin execute immediate 'drop tablespace '||tbs_names(i)||' including contents and datafiles'; exception when others then dbms_output.put_line(SQLERRM); end; end loop; end; /
To uninstall the HDR middle tier:
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.