|
1 | | -This solution creates single/multi node WLS cluster with Oracle Cloud Infrastructure File Storage service(FSS) fronted |
| 1 | +## WebLogic non JRF domain |
| 2 | + |
| 3 | +This solution creates single/multi node WebLogic cluster with Oracle Cloud Infrastructure File Storage service (FSS) fronted |
2 | 4 | by a load balancer. The solution will create only one stack at time and further modifications that are done will be |
3 | 5 | done on the same stack. |
4 | 6 |
|
5 | | -This topology creates WLS in private subnet. Following regional subnets are created under new VCN. |
6 | | - |
7 | | -- WLS Regional Private Subnet |
8 | | -- Bastion Regional Public Subnet |
9 | | -- Loadbalancer Frontend Public Subnet |
10 | | -- Mount Target Regional Private Subnet |
| 7 | +This topology creates WebLogic cluster in private subnet. Following regional subnets are created under new virtual cloud network (VCN). |
| 8 | +- WebLogic regional private subnet |
| 9 | +- Bastion regional public subnet |
| 10 | +- Load balancer frontend public subnet |
| 11 | +- Mount target regional private subnet |
11 | 12 |
|
12 | | -In this scenario, the WebLogic servers are created in a private subnet. To access the applications running on WebLogic, a new OCI load balancer in public regional subnet will be created. A bastion instance with a public ip address is provisioned to allow access to the WebLogic VMs in the private subnet. New file system(FSS) and mount target will be created in a private subnet to support mounting shared storage for WLS instance data and middleware. The file system(FSS) will be mounted on each WLS instance at /u01/shared. |
| 13 | + |
13 | 14 |
|
14 | | - |
| 15 | +The above diagram shows a topology that includes most of the components supported by the Terraform scripts. |
| 16 | +In this scenario, the WebLogic servers are created in a private subnet. To access the applications running on WebLogic, a new OCI load balancer in public regional subnet will be created. A bastion instance with a public ip address is provisioned to allow access to the WebLogic VMs in the private subnet. New file system (FSS) and mount target will be created in a private subnet to support mounting shared storage for WebLogic instance data and middleware. The file system (FSS) will be mounted on each WebLoogic instance at /u01/shared. |
15 | 17 |
|
16 | 18 | ## Before You Begin with Oracle WebLogic Server for OCI |
17 | 19 | 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. |
18 | 20 |
|
19 | 21 | ## Workspace Checkout |
20 | 22 | - Install latest version of git from http://git-scm.com/downloads |
21 | 23 | - For Linux and Mac: Add the git to the PATH |
22 | | -- git clone https://github.com/oracle-quickstart/weblogic-server-for-oci.git |
| 24 | +- Clone the code using the command: |
| 25 | + |
| 26 | +```bash |
| 27 | +git clone https://github.com/oracle-quickstart/weblogic-server-for-oci.git |
| 28 | +``` |
23 | 29 |
|
24 | 30 | ## Organization |
25 | | -The directory weblogic-server-for-oci/solutions/non_jrf consists of the following: |
| 31 | +The directory weblogic-server-for-oci/solutions/non_jrf consists of the following terraform files: |
26 | 32 |
|
27 | | -- nonjrf_instance.tfvars - wls instance, bastion instance , and network configuration |
| 33 | +- nonjrf_instance.tfvars - WebLoogic instance, bastion instance , and network configuration |
28 | 34 | - lb.tfvars - load balancer configuration |
29 | 35 | - fss.tfvars - file system configuration |
30 | 36 |
|
31 | 37 | The directory weblogic-server-for-oci/solutions/common consists of the following: |
32 | 38 | - tenancy.tfvars - tenancy configuration |
33 | 39 |
|
34 | 40 | ## Using the terraform command line tool |
35 | | - |
| 41 | +```bash |
36 | 42 | cd weblogic-server-for-oci/terraform |
| 43 | +``` |
37 | 44 |
|
38 | 45 | Initialize the terraform provider plugin |
39 | | -$ terraform init |
| 46 | +```bash |
| 47 | +terraform init |
| 48 | +``` |
40 | 49 |
|
41 | 50 | Update the variable values in tfvars files under directories terraform/solutions/common and terraform/solutions/non_jrf according to the user specific values |
42 | 51 | Invoke apply passing all *.tfvars files as input |
43 | | -$ terraform apply -var-file=../solutions/common/tenancy.tfvars -var-file=inputs/mp_image_ee_byol.tfvars -var-file=../solutions/non_jrf/nonjrf_instance.tfvars -var-file=../solutions/non_jrf /lb.tfvars -var-file=../solutions/non_jrf/fss.tfvars |
| 52 | +```bash |
| 53 | +terraform apply -var-file=../solutions/common/tenancy.tfvars -var-file=inputs/mp_image_ee_byol.tfvars -var-file=../solutions/non_jrf/nonjrf_instance.tfvars -var-file=../solutions/non_jrf /lb.tfvars -var-file=../solutions/non_jrf/fss.tfvars |
| 54 | +``` |
44 | 55 |
|
45 | 56 | To destroy the infrastructure |
46 | | -$ terraform destroy -var-file=../solutions/common/tenancy.tfvars -var-file=../solutions/common/mp_byol.tfvars -var-file=../solutions/non_jrf/nonjrf_instance.tfvars -var-file=../solutions/non_jrf/lb.tfvars -var-file=../solutions/non_jrf/fss.tfvars |
47 | | - |
| 57 | +```bash |
| 58 | +terraform destroy -var-file=../solutions/common/tenancy.tfvars -var-file=../solutions/common/mp_byol.tfvars -var-file=../solutions/non_jrf/nonjrf_instance.tfvars -var-file=../solutions/non_jrf/lb.tfvars -var-file=../solutions/non_jrf/fss.tfvars |
| 59 | +``` |
| 60 | +**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*. |
0 commit comments