Install HDR FHIR – WLD
The install_hdr_fhir.sh file will be used to configure HDR FHIR deployment on new WebLogic domain. The script sets all the required environment variables already configured in the user_defined.properties.sh file.
The script accepts CREATE_OPTION (1 to 6) as an argument to configure the HDR FHIR on WebLogic domain.
Table 2-2 Create Option Arguments
Create Option | Action |
---|---|
1 | Configure WebLogic HDR FHIR domain and HDR FHIR managed server |
2 | Start Admin and managed servers |
3 | Configure Datasource |
4 | Configure JVM arguments |
5 | Restart HDR FHIR Managed Server |
6 | Deploy HDR FHIR application |
1. Navigate to the $HDR_HOME/weblogic/install
directory.
2. Ensure that hdrFhirDbUserName parameter is properly configured in the $HDR_HOME/weblogic/install/user_defined.properties.sh file.
3. Run the install_hdr_fhir.sh script in the following order with CREATE_OPTION (1 to 6) to deploy and configure HDR FHIR on new WebLogic domain.
Create WebLogic HDR FHIR Domain and HDR FHIR Managed Server
To create WebLogic HDR FHIR domain and HDR FHIR managed server, run $HDR_HOME/weblogic/install/install_hdr_fhir.sh with CREATE_OPTION 1.
sh install_hdr_fhir.sh 1
The script prompts you to enter WebLogic Administrator user password, provide valid values and hit enter.
The script creates the configured HDR FHIR WebLogic domain, WebLogic AdminServer and WebLogic HDR FHIR managed server.
Start Admin Server and Managed Server
To start Admin server and HDR FHIR managed server, run $HDR_HOME/weblogic/install/install_hdr_fhir.sh with CREATE_OPTION 2.
sh install_hdr_fhir.sh 2
The script prompts you to enter WebLogic Administrator user password, provide valid values and hit enter.
The script starts both WebLogic Admin Server and HDR FHIR 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.
Configure HDR FHIR JDBC Resource
To configure the following datasource on WebLogic HDR FHIR managed server, run $HDR_HOME/weblogic/install/install_hdr_fhir.sh with CREATE_OPTION 3. Datasource: FhirDataSource JNDI Name: jdbc/FhirDataSource
sh install_hdr_fhir.sh 3
The script prompts you to enter WebLogic Administrator user password and HDR FHIR Database user password, provide valid values and hit enter. The script configures the FhirDataSource datasource on WebLogic HDR FHIR managed server.
Configure HDR FHIR JVM Arguments
To configure the following JVM argument to the HDR managed server, run $HDR_HOME/weblogic/install/install_hdr_fhir.sh with CREATE_OPTION 4.
JAVA_OPTIONS="-Xms2048M -Xmx2048M -Dlogging.config='$HDR_CONFIG_DIR'/fhir/log4j2.properties -Dhdr_fhir_config_location='$HDR_CONFIG_DIR'/fhir/hdr_fhir.yaml
sh install_hdr_fhir.sh 4
The script prompts you to enter WebLogic Administrator user password, provide valid value and hit enter.
The script configures the required JVM arguments to HDR FHIR managed server.
Restart HDR Managed Server
To restart HDR managed server, run $HDR_HOME/weblogic/install/install_hdr_fhir.sh with CREATE_OPTION 5.
sh install_hdr_fhir.sh 5
The script prompts you to enter WebLogic Administrator user password, provide valid value and hit enter.
The script restarts the HDR FHIR managed server. Check managed server log and ensure that managed server is up and running after execution of this script completed.
Deploy HDR FHIR Application
To deploy HDR FHIR application on WebLogic HDR managed server, run $HDR_HOME/weblogic/install/install_hdr_fhir.sh with CREATE_OPTION 6.
sh install_hdr_fhir.sh 6
The script prompts you to enter WebLogic Administrator user password, provide valid value and hit enter.
The script deploys the HDR FHIR application on WebLogic HDR managed server.
Note:
If you want to install HDR FHIR on new WebLogic domain with all create options in a single execution, run $HDR_HOME/weblogic/install/install_hdr_fhir.sh with CREATE_OPTION ALL.sh install_hdr_fhir.sh ALL
The script prompts you to enter WebLogic Administrator user password and HDR FHIR database user password, provide valid values and hit enter. The script configure and install HDR FHIR on new WebLogic Domain.
Parent topic: Installation