Copying an Environment

There can be several reasons for copying or cloning an environment:

  • Copy a setup environment as the initial version of a test environment

  • Copy a setup environment as the initial version of the production environment

  • Copy the production environment to the test environment

This chapter describes the procedure for copying environments. In the target environment, the Oracle Database and Oracle Fusion Middleware software that runs the Oracle Health Insurance application need to be installed and configured first.

Clone the Database

Use the RMAN backup tool to duplicate the database. For more information see the Oracle Database documentation.

Empty the Task Queue

In case the OHI application makes use of task processing the task queue needs to be emptied before starting the application by executing the following:

DECLARE
po_t dbms_aqadm.aq$_purge_options_t;
BEGIN
dbms_aqadm.purge_queue_table('OHI_TASK_QUEUE_TABLE', NULL, po_t);
END;

Note that performing direct data manipulation on the OHI_TASK_QUEUE_TABLE is not supported.

Deploy the Application

Follow the instructions in the Installation Guide for installing the OHI application on the application server. Note that properties files and data source configuration need to be specifically set up for the target system.

Maintain Credentials

Note that credentials that the application uses to connect to external endpoints, like HTTP Basic Authentication credentials, need to be maintained on a per WebLogic domain basis: these are not stored in OHI database schemas but in the WebLogic domain’s repository database.

Validate Installation

Validate the installation by performing the steps that are documented in the Installation Guide, section Validate Installation.