Use Oracle Weblogic Server for OCI from Market Place

This section shows how to use Oracle Weblogic Server for OCI.

In this approach, you first provision the Oracle WebLogic Server from OCI Market Place, and then install the OHF & OHTR applications in Weblogic. It is assumed that the Data Model for OHF & OHTR is installed in Oracle Autonomous Data Warehouse (ADW).

Prior to installation, as prerequisite:
  • Install OHF Data Model using OHF Installer, following OHF Installation Guide.
  • Install OHTR Data Model using OHTR Installer, following the OHTR Installation Guide.

To install OHF & OHTR Middle Tier using Weblogic from OCI Market Place:

  1. In OCI Console > Marketplace > Oracle WebLogic Server Enterprise Edition, select the latest version of Weblogic 12.2.1.4
  2. For provisioning of Weblogic Server in OCI, follow the documentation at https://docs.oracle.com/en/cloud/paas/weblogic-cloud/user/get-started-oracle-weblogic-cloud.html
  3. Select VCN. In the Weblogic Server Instance Advanced screen, there is the option to choose Existing VCN or Create a new VCN.
  4. Select the appropriate compartment in Subnet. Select the option to choose an Existing Subnet or Create a new Subnet.
    Select option: Public Subnet or restrict to Private Subnet
  5. In the OCI Console on the Weblogic Server Instance Advanced screen, there is an option to Configure Application Datasource. Check this and use the option to configure the Data Source for the CG API. Provide the cga schema details.This will create a default Data Source in Weblogic, connecting to the ADW api (cga) schema.
  6. The OCI Console provides logs that show the progress of provisioning the Weblogic Server. Upon successful creation of the Weblogic Server, you can connect to the Weblogic Console. For public subnet (to access the Weblogic server publicly) the console ports need to be added to the Security List of the subnet. In the security list for the subnet, add an ingress rule for the weblogic console port (destination port).

If the Oracle WebLogic Server compute instances is assigned to a private subnet, it is not accessible from the public internet. To access the WebLogic Server Administration Console to administer such instances, use the bastion instance that's created on a public subnet and dynamic port forwarding with a secure shell (SSH) utility. To access the Weblogic Console from outside (publicly), follow the instructions at https://docs.oracle.com/en/cloud/paas/weblogic-cloud/user/access-weblogic-console.html#GUID-6968D402-BDF9-42BE-A5A8-5648CBD80D5A

To connect to the VM, connect using ssh using the private key corresponding to the public key provided.

Upon the provision of Weblogic as mentioned below, connect to the Weblogic Console as in http://<ip>:port/console. The default port in the above configuration is 7001 for http.