Install HDR and HDR FHIR on WebLogic 14c
The install_hdr.sh script file will be used to configure HDR deployment on WebLogic server.
Install HDR
The install_hdr.sh script sets all the required environment variables already configured in the user_defined.properties.sh file. The script accepts CREATE_OPTION (1 to 12) as an argument to configure the HDR on WebLogic server.
Table 2-1 Create Option Argument
Create Option | Action |
---|---|
1 | Configure HDR domain and HDR managed server |
2 | Start Admin and managed servers |
3 | Create Oracle Wallet and Configure the IHE_XDS_USER |
4 | Configure Datasource |
5 | Configure JMS Resources |
6 | Configure JVM arguments |
7 | Restart HDR Managed Server |
8 | Deploy HDR application |
9 | Register OID’s |
10 | Configure the Profile Options |
11 | Persists Empi Default Context |
12 | Persists HDR 8.2 Release information |
- Navigate to the $HDR_HOME/weblogic/install directory.
- Execute install_hdr.sh script in the following order with CREATE_OPTION (1 to 12) to configure the HDR application on WebLogic server.
Create HDR Domain and HDR Managed Server
To create HDR domain and HDR managed server on WebLogic, run $HDR_HOME/weblogic/install/install_hdr.sh with CREATE_OPTION 1.
sh install_hdr.sh 1
The script prompts you to enter WebLogic Administrator user password, provide valid value and hit enter.
The script creates the configured HDR WebLogic domain, WebLogic AdminServer and WebLogic HDR managed server.
Start Admin Server and Managed Server
To start Admin server and HDR managed server, run $HDR_HOME/weblogic/install/install_hdr.sh with CREATE_OPTION 2.
sh install_hdr.sh 2
The script prompts you to enter WebLogic Administrator user password, provide valid value and hit enter.
The script starts both WebLogic Admin Server and HDR managed server. Check both Admin and managed server logs and ensure that both the servers are up and running after execution of this script completed.
Create Oracle Wallet and Configure the IHE_XDS_USER
To create oracle wallet and configure the IHE_XDS_USER on WebLogic Realm, run $HDR_HOME/weblogic/install/install_hdr.sh with CREATE_OPTION 3.
sh install_hdr.sh 3
The script prompts you to enter WebLogic Administrator user password, IHE_XDS_USER Oracle wallet password and IHE_XDS_USER password, provide valid values and hit enter.
The script creates the Oracle wallet for IHE_XDS_USER and configure IHE_XDS_USER in WebLogic Realm.
Configure JDBC Resource
To configure the following Datasource on WebLogic HDR managed server, run $HDR_HOME/weblogic/install/install_hdr.sh with CREATE_OPTION 4.
Datasource: CTBAppsDBDS
JNDI Name: jdbc/CTBAppsDBDS
sh install_hdr.sh 4
The script prompts you to enter WebLogic Administrator user password and CTB Database user password, provide valid values and hit enter.
The script configures the CTBAppsDBDS datasource on weblogic HDR managed server.
Configure JMS Resources
To configure the following JMS Resources on WebLogic HDR managed server, run $HDR_HOME/weblogic/install/install_hdr.sh with CREATE_OPTION 5.
HDRJMSServer, HDRJMSSystemModule, HDRConnectionFactory, AsyncXDS_PnRbRequestQueue, AsyncXDS_PnRbResponseQueue, AsyncXDS_RetrieveDocbRequestQueue, AsyncXDS_RetrieveDocbResponseQueue and HDRConcurrentProgramRequestsQueue.
sh install_hdr.sh 5
Configure JVM Arguments
To configure the following JVM argument to the WebLogic HDR managed server, run $HDR_HOME/weblogic/install/install_hdr.sh with CREATE_OPTION 6.
JAVA_OPTIONS="-Xms2048M -Xmx2048M -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=$HDR_CONFIG_DIR/weblogic.security -Dtangosol.coherence.mode=prod ${JAVA_OPTIONS};
sh install_hdr.sh 6
The script prompts you to enter WebLogic Administrator user password, provide valid value and hit enter.
The script configures the required JVM arguments to WebLogic HDR managed server.
Restart HDR Managed Server
To restart HDR managed server, run $HDR_HOME/weblogic/install/install_hdr.sh with CREATE_OPTION 7.
sh install_hdr.sh 7
The script prompts you to enter WebLogic Administrator user password, provide valid value and hit enter. The script restarts the HDR managed server. Check HDR managed server log and ensure that managed server is up and running after execution of this script completed.
Deploy HDR Application
To deploy HDR application on WebLogic HDR managed server, run $HDR_HOME/weblogic/install/install_hdr.sh with CREATE_OPTION 8.
sh install_hdr.sh 8
The script prompts you to enter WebLogic Administrator user password, provide valid value and hit enter.
The script deploys the HDR application on WebLogic HDR managed server.
Configure OIDs
This is optional. If you want to configure the OIDs, ensure that the required OIDs are configured in the $HDR_HOME/weblogic/install/user_defined.properties.sh file. To configure the OID’s, run $HDR_HOME/weblogic/install/install_hdr.sh with CREATE_OPTION 9.
sh install_hdr.sh 9
The script prompts you to enter WebLogic Administrator user password, provide valid value and hit enter.
The script configures the OID’s into CTB_CORE_ROOT_MASTER table of CTB database schema.
Configure IHE Profile Options
If you want to configure the IHE Profile Options, ensure that the required profile options are configured in the $HDR_HOME/weblogic/install/user_defined.properties.sh file.
To configure the IHE profile options, run $HDR_HOME/weblogic/install/install_hdr.sh with CREATE_OPTION 10.
sh install_hdr.sh 9
The script prompts you to enter WebLogic Administrator user password, provide valid value and hit enter.
The script configures the OID’s into CTB_CORE_ROOT_MASTER table of CTB database schema.
Configure IHE Profile Options
If you want to configure the IHE Profile Options, ensure that the required profile options are configured in the $HDR_HOME/weblogic/install/user_defined.properties.sh file.
To configure the IHE profile options, run $HDR_HOME/weblogic/install/install_hdr.sh with CREATE_OPTION 10.
sh install_hdr.sh 10
The script prompts you to enter WebLogic Administrator user password, provide valid value and hit enter.
The script configures the IHE Profile Options into the profile options tables of the HCT database schema.
Persists Empi Default Context
To persist the Empi default context, run $HDR_HOME/weblogic/install/install_hdr.sh with CREATE_OPTION 11.
sh install_hdr.sh 11
The script prompts you to enter WebLogic Administrator user password, provide valid value and hit enter.
The script persists Empi default context (HDR_DEFAULT_LINKING_CONTEXT and HDR_DEFAULT_DEDUP_CONTEXT) into CTB_PI_CONTEXT table of the CTB database schema.
Persists HDR 8.2 Release information
This script persists the HDR 8.2 patch release information into HDR_RELEASE_INFO table for middle tier. To persist those details, run $HDR_HOME/weblogic/install/install_hdr.sh with CREATE_OPTION 12.
sh install_hdr.sh 12
The script prompts you to enter WebLogic Administrator user password, provide valid value and hit enter.
The script persists the HDR 8.2 patch release information into HDR_RELEASE_INFO table for middle tier. You can see those details in CTB. HDR_RELEASE_INFO table.
Note:
If you want to install HDR on middle tier with all create options in a single execution, run $HDR_HOME/weblogic/install/install_hdr.sh with CREATE_OPTION ALL.sh install_hdr.sh ALL
The script prompts you to enter WebLogic Administrator user password, IHE_XDS_USER Oracle wallet password, IHE_XDS_USER password and CTB database user password, provide valid values and hit enter.
The script configures and installs HDR on WebLogic server.
Parent topic: Installation