Skip to content

Commit 4c6ec8d

Browse files
Topology diagram and Readme for topology 2 (#152)
1 parent a2bd807 commit 4c6ec8d

File tree

2 files changed

+62
-0
lines changed

2 files changed

+62
-0
lines changed

solutions/jrf/README.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
## WebLogic JRF domain with OCI DB
2+
3+
This solution creates single/multi node Weblogic cluster with OCI Database and Oracle Identity Cloud Service fronted by a load balancer. The solution will create only one stack at time and further modifications that are done will be done on the same stack.
4+
5+
This topology uses existing infrastructure.
6+
- Existing VCN and existing subnets with private WebLogic subnet.
7+
- OCI DB in a different VCN
8+
- Existing public load balancer
9+
10+
Oracle Identity Cloud Service (IDCS) is used to authenticate user.
11+
12+
![Full Topology Diagram](Topology.png)
13+
14+
The above diagram shows a topology that includes most of the components supported by the Terraform scripts.
15+
In this scenario, the WebLogic servers are in a private subnet. To access the applications running on WebLogic, an existing OCI load balancer in public regional subnet is used. A bastion instance with a public IP address is provisioned to allow access to the VMs in the private subnet. The Oracle WebLogic Server domain is configured to use Oracle Identity Cloud Service for authentication.
16+
17+
The diagram shows the stack using a database located in a VCN different from the one used by the WebLogic for OCI stack, with VCN peering. Peering is necessary because DB VCN is different from Weblogic VCN. Since existing VCNs are used here, VCNs for WebLogic Server compute instances and the Oracle Cloud Infrastructure Application Database are peered manually before creating the stack for the Oracle WebLogic Server for OCI domain. To peer the VCNs manually, see [Manual VCN Peering](https://docs.oracle.com/en/cloud/paas/weblogic-cloud/user/configure-database-parameters.html#GUID-6A39A2A7-EF6C-408E-B5C7-C44089A9B134__MANUAL_VCN_PEERING).
18+
19+
## Before You Begin with Oracle WebLogic Server for OCI
20+
Refer to the [documentation](https://docs.oracle.com/en/cloud/paas/weblogic-cloud/user/you-begin-oracle-weblogic-cloud.html) for the pre-requisite steps to using Oracle WebLogic Server for OCI.
21+
22+
## Workspace Checkout
23+
- Install latest version of git from http://git-scm.com/downloads
24+
- For Linux and Mac: Add the git to the PATH
25+
- Clone the code using the command:
26+
27+
```bash
28+
git clone https://github.com/oracle-quickstart/weblogic-server-for-oci.git
29+
```
30+
31+
## Organization
32+
The directory weblogic-server-for-oci/solutions/jrf consists of the following terraform files:
33+
34+
- jrf_instance.tfvars - WebLogic instance, bastion instance and network configuration
35+
- existing_lb.tfvars - Load balancer configuration
36+
- oci_db.tfvars - OCI Database configuration
37+
- idcs.tfvars - IDCS configuration
38+
39+
The directory weblogic-server-for-oci/solutions/common consists of the following:
40+
- tenancy.tfvars - tenancy configuration
41+
42+
## Using the Terraform command line tool
43+
```bash
44+
cd weblogic-server-for-oci/terraform
45+
```
46+
47+
Initialize the terraform provider plugin
48+
```bash
49+
terraform init
50+
```
51+
52+
Update the variable values in tfvars files under directories terraform/solutions/common and terraform/solutions/jrf according to the user specific values
53+
Invoke apply passing all *.tfvars files as input
54+
```bash
55+
terraform apply -var-file=../solutions/common/tenancy.tfvars -var-file=inputs/mp_image_ee_byol.tfvars -var-file=../solutions/jrf/jrf_instance.tfvars -var-file=../solutions/jrf/existing_lb.tfvars -var-file=../solutions/jrf/idcs.tfvars var-file=../solutions/jrf/oci_db.tfvars
56+
```
57+
58+
To destroy the infrastructure
59+
```bash
60+
terraform destroy var-file=../solutions/common/tenancy.tfvars -var-file=inputs/mp_image_ee_byol.tfvars -var-file=../solutions/jrf/jrf_instance.tfvars -var-file=../solutions/jrf/existing_lb.tfvars -var-file=../solutions/jrf/idcs.tfvars var-file=../solutions/jrf/oci_db.tfvars
61+
```
62+
**Important:** Refer to [documentation](https://docs.oracle.com/en/cloud/paas/weblogic-cloud/user/delete-domain.html) for steps to perform before running *terraform destroy*.

solutions/jrf/Topology.png

138 KB
Loading

0 commit comments

Comments
 (0)