Oracle® Health Sciences Information Manager OHMPI Installation and Configuration Guide Release 1.1 E21369-01 |
|
Previous |
Next |
This chapter provides instructions for installing and configuring the Oracle Health Sciences Information Manager (HIM) OHMPI VM template. It also provides instructions on how to configure CONNECT software on HIG Adapter/Gateway VMs to make use of OHMPI.
This chapter includes the following sections:
The HIM OHMPI template uses the "Paravirtualized" virtualization method. The template is distributed as a compressed tar file (*.tgz
). The compressed tar file contains two binary files and a text file. The binary files are the disk images taken from a fully configured and functional VM. The text file is a VM configuration file.
The contents of the compressed tar file is listed below:
Disk Image with Oracle Software
/appliance.img
Disk Image with Operating System
/System.img
VM Configuration File
/vm.cfg
The VM consists of the following pre-installed software:
Oracle Enterprise Linux 5 (as in System.img
)
http://www.oracle.com/technetwork/topics/linux/whatsnew/index.html
HIM specific software (as in appliance.img
)
Apache Ant 1.8.1
Install directory: /home/common/ant
Java Development Kit 1.6.0_X
Install directory: /home/common/java/latest
(symbolic link to JDK 1.6.0_X)
For hiauser only:
HIM Ant Configuration Utility
Install directory: /home/hiauser/config
Netbeans 6.9.1
Install directory: /home/hiauser/OracleHealthcareMPIv1_1/netbeans
GlassFish Enterprise Server 2.1.1
Install directory: /home/hiauser/OracleHealthcareMPIv1_1/glassfish
Admin user
Username: admin
Password: adminadmin
Admin Console
http://
<VM_IP or VM_HOST_NAME >
:4848
VM Memory Settings:
2 GB (2048 MB) of RAM
Note: The RAM memory setting can be changed after installation in VM Manager. |
16 GB of Disk Space
Linux Users:
Root user
Username: root
Linux Group: root
Password: ovsroot
HIM specific user
Username: hiauser
Linux Group: hiauser
Password: hiapass
Tip: For security purposes, it is recommended that you change the default passwords after installation. |
To import the HIM OHMPI VM template:
Copy the HIM OHMPI VM template .tgz
file to the /OVS/seed_pool
directory of your Oracle VM Server machine.
Uncompress the .tgz
file:
> tar -zxvf
<FILENAME>
.tgz
This step creates a directory with the name of the template.
Example:
> cd /OVS/seed_pool > tar -zxvf /OVS/seed_pool/OVM_HIAV11_X86_OHMPI_PVM.tgz
Creates the directory:
/OVS/seed_pool/OVM_HIAV1_X86_OHMPI_PVM
Log in to the Oracle VM Manager
Note: The default location for the Oracle VM Manager log in screen ishttp://<VM_MANAGER_HOST_NAME>:8888/OVS . |
From the Oracle VM Manager console:
Click the Resources tab. The Virtual Machine Templates screen is displayed.
Click the Import button. The Source screen is displayed.
Choose the Select from Server Pool (Discover and register) radio button.
Click Next. The General Information screen is displayed.
Enter or select the following general information:
- The server pool on which the virtual machine will be located.
Server Pool Name: <SERVER_POOL_NAME
>
- The operating system of the Virtual Machine Operating System:
Oracle Enterprise Linux 5
- The Oracle VM template to be imported.
Virtual Machine Template Name: <VM_TEMPLATE_NAME>
- The username used to log in to the Virtual Machine.
Virtual Machine System Username: root
- The password used to log in to the Virtual Machine.
Virtual Machine System Password: ovsroot
Click Next. The Confirm Information screen is displayed.
Click Confirm. The Virtual Machine Template screen is displayed with a message to confirm the VM template has been imported.
Click the Resources tab to see the list of available VM templates.
To make the Virtual Machine template available for use, select the Virtual Machine template and click Approve, moving the VM template from the "Pending" state to the "Active" state.
The VM template is imported and ready for use in Oracle VM Manager.
To create the HIM OHMPI VM from the VM template:
Create a new VM using the OHMPI VM template just installed by following the instructions in the VM Manager 2.2 User's Guide (refer to Section 6.3.1, "Creating Virtual Machine from a Template").
To power on the Virtual Machine select the Virtual Machines tab, select the Virtual Machine Name, and click Power On.
In the VM Manager Console ensure that the OHMPI VM is now in the running state (Status=Running).
This section provides instructions for configuring the HIM Policy Engine VM.
"Installing Patches and Self-signed Certificates on HIG Adapter VM (if not done already)"
"Installing Patches and Self-signed certificates on HIG Gateway VM (if not done already)"
To VNC into a VM:
Note: To enable the VNC Port link in the VM Manager follow the instructions in "Installing OVM Console" athttp://oss.oracle.com/oraclevm/manager/RPMS/README-console . |
Expand the details of the VM by clicking the + on Show. You can VNC into the box from the VM Manager by clicking on the VNC Port link under the VM details, or you can use a VNC client to log in using the address:
<VM_SERVER_HOST_NAME>:<VM_VNC_PORT>
To configure the VM to use static IP:
Note: The VM is configured by default to use DHCP to assign an IP address. |
If you are using DHCP addressing you can skip the following steps.
To configure the VM to use static IP, log in as the root user (default password: ovsroot
) and set the IP using the following steps:
Select System, Administration, and then Network.
Choose Devices, click Edit, select the Statically Set IP Address radio button, and then enter the following values:
- Address: <VM_IP>
- Subnet mask: <SUBNET_MASK>
- Default Gateway address: <DEFAULT_GATEWAY_ADDRESS>
Click OK.
Choose File and then click Save.
Click the DNS tab and then enter the following values:
- Hostname: <VM_HOST_NAME>
- Primary DNS: <PRIMARY_DNS>
- Secondary DNS: <SECONDARY_DNS>
- Tertiary DNS: <TERTIARY_DNS>
- DNS search path: <VM_NAME_SUFFIX>
Choose Next and then click Save.
Choose the Hosts tab, click New, and then enter the following values:
- Address: <VM_IP>
- Hostname: <VM_HOST_NAME>
- Aliases: <VM_NAME_PREFIX>
hostname
Click OK.
Choose File and then click Save.
Restart Network Services from a terminal window.
> service network restart
Check the output for <VM_IP>
.
> ifconfig
Check the output for <VM_HOST_NAME>
.
> hostname
Check the success of:
> ping
<VM_IP>
Check the success of:
> ping
<VM_HOST_NAME>
To configure your Oracle Database to be used with OHMPI:
Log in to the VM as hiauser
(default password: hiapass
).
Copy the file from ~hiauser/config/scripts/hia11_ohmpi_db.tgz
to the host where you have a SQL Plus client present in the PATH and Bash or Sh shell is available. Uncompress the contents (for example, tar -zxvf hia11_ohmpi_db.tgz
)
Login to the host having SQL Plus, and change the directory to where you copied/extracted the files in the previous step.
Update create_mpi_user_tables.sh
for the below variables.
baseScriptsDir
: Current directory
DB_ADMIN_ID
: Root or Id in your Oracle DB having access to create table spaces and users
DB_ADMIN_PASS
: Password for above Id
DB_HOST
: Database host
DB_PORT
: Database port
DB_SID
: Database SID
MPI_USER
: MPI user name
MPI_USER_PASS
: Password for mpi user
To make sure that sqlplus
is available in the path, run the script create_mpi_user_tables.sh
as follows:
>bash create_mpi_user_tables.sh
Log in to the Adapter VM as hiauser
(password: hiapass
)
Get the /home/hiauser/config/hig_patch001.tgz
file from OHMPI VM or Policy Engine VM using hiauser
(password: hiapass
).
Stop the application server using the following commands:
> cd /home/hiauser/SUNWappserver/bin
> asadmin stop-domain domain1
Navigate to the directory /home/hiauser/config
using the following command:
> cd /home/hiauser/config
Uncompress the .tgz
file:
> tar -zxvf
<FILE_PATH>
/hig_patch001.tgz
This creates the directory: /home/hiauser/config/hig_patch001
.
Note: FILE_PATH should be replaced with the absolute path where you downloaded the hig_patch001.tgz file. |
Navigate to the directory /home/hiauser/config/hig_patch001
using the following command:
> cd /home/hiauser/config/hig_patch001
Run the script install-adapter-patches.sh
to install the patches into the CONNECT software on HIG Adapter VM:
> sh install-adapter-patches.sh
Note: Before proceeding to the next step, configure a fully-qualified-hostname for the Virtual Machine. |
The following step produces a self-signed certificate for use during the initial installation and testing. Use appropriate signed certificates for production use.
Run the script create-and-import-selfsigned-certs.sh
to install the self-signed certificate. It does the following things:
Creates the keystore for the private internal key
Exports the certificate that will authenticate the internal key
Imports the trusted certificates into the truststore
Provides these certificates to appserver
to use for authentication purposes
> sh create-and-import-selfsigned-certs.sh
Install the certificates from the other components that will communicate with the Adapter (Gateway, OHMPI, Record Locator, Policy Engine, and so on). Copy the certificate of the component VM <VM_HOSTNAME.cer>
to the /home/hiauser/SUNWappserver/domains/domain1/config
folder. Navigate to and run the scripts /home/hiauser/config/scripts/import-others-cert.sh
. When prompted by the scripts, enter the VM hostname (it should match with the cert file you copied to the config
folder without ".cer" suffix).
>bash import-others-cert.sh
Log in to the Gateway VM as hiauser
(password: hiapass
)
Get the /home/hiauser/config/hig_patch001.tgz
file from OHMPI VM or Policy Engine VM using hiauser
(password: hiapass
).
Stop the application server using the following commands:
> cd /home/hiauser/SUNWappserver/bin
> asadmin stop-domain domain1
Navigate to the directory /home/hiauser/config
using the following command:
> cd /home/hiauser/config
Uncompress the .tgz
file:
> tar -zxvf
<FILE_PATH>
/hig_patch001.tgz
This creates the directory: /home/hiauser/config/hig_patch001
.
Note: FILE_PATH should be replaced with the absolute path where you downloaded the hig_patch001.tgz file. |
Navigate to the directory /home/hiauser/config/hig_patch001
using the following command:
> cd /home/hiauser/config/hig_patch001
Run the script install-gateway-patches.sh
to install the patches into the CONNECT software on HIG Gateway VM:
> sh install-gateway-patches.sh
Note: Before proceeding to the next step, configure a fully-qualified-hostname for the Virtual Machine. |
The following step produces a self-signed certificate for use during the initial installation and testing. Use appropriate signed certificates for production use.
Run the script create-and-import-selfsigned-certs.sh
to install the self-signed certificate. It does the following things:
Creates the keystore for the private internal key
Exports the certificate that will authenticate the internal key
Imports the trusted certificates into the truststore
Provides these certificates to appserver
to use for authentication purposes
> sh create-and-import-selfsigned-certs.sh
Install the Adapter VM certificate. Copy the certificate of Adapter VM <ADAPTER_ VM_HOSTNAME.cer>
to the /home/hiauser/SUNWappserver/domains/domain1/config
folder. Navigate to and run the scripts /home/hiauser/config/scripts/import-others-cert.sh
. When prompted by the scripts, enter the Adapter VM hostname (it should match with the cert file you copied to the config folder without ".cer" suffix).
>bash import-others-cert.sh
Note: You need to setup your Oracle Database as described in previous section before proceeding with this section. |
Log in to the HIM OHMPI VM as hiauser
(default password: hiapass
).
Note: Whenhiauser is used to login, proper environment variables and aliases are set. |
Navigate to the /home/hiauser/config/scripts/
folder. Modify update_mpi_gf_resources.sh
, set AS_HOME
to the target GlassFish installation directory.
Run update_mpi_gf_resources.sh
.
>bash update_mpi_gf_resources.sh
It will ask you for following input:
Please enter Oracle database host: Enter the mpi database host
Please enter Oracle database port: Enter the database port number
Please enter Oracle database SID: Enter the oracle SID (for example, orcl
)
Please enter Oracle database SID: Enter the mpi user created in section 1.4.3
Please enter password for mpi database user: Enter the password for the mpi user
Confirm password: Confirm the password
This script will update domain.xml
and set the database connection property.
This step produces a self-signed certificate for use during initial installation and testing. Use appropriate signed certificates for production use.
Note: Before proceeding to the next step, configure a fully-qualified-hostname for the Virtual Machine. |
Navigate to and run the scripts ~hiauser/config/scripts/create-and-import-selfsigned-certs.sh
.
>bash create-and-import-selfsigned-certs.sh
The script specifically does following things:
Creates the keystore for the private internal key
Exports the certificate that will authenticate the internal key
Imports the trusted certificates into the truststore
Provides these certificates to appserver
to use for authentication purposes
Install the Adapter VM certificate. Copy the certificate of Adapter VM <ADAPTER_VM_HOSTNAME.cer>
to the /home/hiauser/OracleHealthcareMPIv1_1/glassfish/domains/domain1/config
folder. Navigate to and run the scripts /home/hiauser/config/scripts/import-others-cert.sh
. When prompted by the scripts, enter the Adapter VM hostname (it should match with cert
file you copied to the config
folder without ".cer" suffix).
>bash import-others-cert.sh
Start the application server using the following commands
> cd /home/hiauser/OracleHealthcareMPIv1_1/glassfish/bin
> asadmin start-domain domain1
Login to OHMPI Master Index Data Manager (MIDM) web application.
http://<ohmpi_host_url>:8080/PatientMIDM
A default user with MasterIndex.Admin,Administrator
group privileges has already been created in the GlassFish File realm.
User: mdm
Password: mdm
You can use the above to log in to, or modify, the MIDM before use. Consult the GlassFish Admin guide for usage.
Create the following patients in the MIDM by clicking on the Source Record tab and choosing Add.
System: SelfTest System 1
LocalID: D123401
FirstName: Gallow
LastName: Younger
SSN: 999-99-9999
Gender: Male
Date of Birth: 06/27/1999
Address Type: street address line
Address Line1: 123 Main street
City: LEESBURG
State Code: VA
Postal Code: 20176
System: SelfTest System 1
LocalID: D123407
FirstName: Jordy
LastName: LaForge
SSN: 999-99-9999
Gender: Female
Date of Birth: 11/14/1923
Address Type: delivery address line
Address Line1: 5804 Post Corners Trl
City: Centerville
State Code: VA
Postal Code: 20120
System: SelfTest System 1
LocalID: D123409
FirstName: Audrey
LastName: Kim
SSN: 999-99-9999
Gender: Female
Date of Birth: 03/14/1980
Address Type: street address line
Address Line1: 14701 Demming Drive
City: Gainsville
State Code: VA
Postal Code: 20155
System: SelfTest System 1
LocalID: D123402
FirstName: Anna
LastName: Schnur
SSN: 999-99-9999
Gender: Female
Date of Birth: 08/13/1956
Address Type: street address line
Address Line1: 312 HILL ROAD
City: HILLSBRO
State Code: MO
Postal Code: 37660
Note that the EUID returned on each of the above patients and update the PatientID in the NHINC and RLS databases. Follow the instructions below:
To update the NHINC database with new patient ids:
Copy the file from ~hiauser/config/scripts/hia11_ohmpi_nhinc_db.tgz
to the host where you have a SQL Plus client present in the PATH and Bash or Sh shell is available. Uncompress the contents (for example, tar -zxvf hia11_ohmpi_nhinc_db.tgz
).
Update script nhinc3_upd_nhinc_patients.sh
with variable "oracleDBScriptsDir" pointing to the path where the above file was extracted.
Run the script nhinc3_upd_nhinc_patients.sh
.
> bash nhinc3_upd_nhinc_patients.sh
The script will prompt for HIG Oracle database host, port, SID, and NHINCUSER database user password.
When prompted, enter new patient Ids for the patients D123401/Gallow Younger, D123407/Jordy LaForge, D123409/Audrey Kim, and D123402/Anna Schnur.
To update the RLS database with new patient ids:
Copy the file from ohmpi VM, ~hiauser/config/scripts/hia11_ohmpi_rls_db.tgz
to the host where you have a SQL Plus client present in the PATH and Bash or Sh shell is available. Uncompress the contents (for example, tar -zxvf hia11_ohmpi_rls_db.tgz
).
Update script nhinc3_upd_rls_patients.sh
with variable "oracleDBScriptsDir" pointing to the path where the above file was extracted.
Run the script nhinc3_upd_rls_patients.sh
.
> bash nhinc3_upd_rls_patients.sh
The script will prompt for RLS Oracle database host, port, SID, and ADT and OMAR database users passwords.
When propmpted enter new patient Ids for patients D123401/Gallow Younger, D123407/Jordy LaForge, D123409/Audrey Kim and D123402/Anna Schnur.
Log in to the HIG Adapter VM using hiauser
(password: hiapass
).
Note: Follow the same steps for HIG Gateway VM. |
Update the NHIN configuration file at ~hiauser/SUNWappserver/domains/domain1/config/nhin/internalConnectionInfo.xml
.
Locate or add the service muralmpi
under your local Gateway's OID. Set the endpoint to point to the OHMPI just configured as shown below:
<service>
<name>muralmpi
</name>
<description>Mural MPI Database
</description>
<endpointURL>http://
<OHMPI_HOST>
:8080/PatientEJBService/PatientEJB
</endpointURL>
</service>
Modify the adaptercomponentmpiservice end point to use the MuralMPIEJB Adapter end point by changing the following:
<service>
<name>adaptercomponentmpiservice
</name>
<description>Master Patient Index Component
</description>
<endpointURL>http://
<ADAPTER_HOST>
:8080/CONNECTAdapter/AdapterComponentMpiService
</endpointURL>
</service>
to
<service>
<name>adaptercomponentmpiservice
</name>
<description>Master Patient Index Component
</description>
<endpointURL>http://
<ADPATER_HOST>
:8080/NhinConnect/AdapterComponentMpiService
</endpointURL>
</service>
Using the sample universal client distributed with the Gateway:
Launch the application by navigating to the following URL:
http://
<GATEWAY_VM_IP>
:8080/UniversalClientGUI/
Search for the patient with the last name ?Younger?.
If the installation is correct, this returns a page with the PatientId for the patient.
Note: This patient ID now comes from OHMPI. |
Click on the PatientId hyperlink for additional details on the patient.
The Document tab is now enabled and you can search for patient documents by date range.
Search for date range 08/01/2000 to 08/01/2010.
Click on the document URL to retrieve the document.