Add a New Load Balancer in a New Subnet
Follow these steps to add a load balancer if the SUBNET STRATEGY
was
set to Create New Subnet during provisioning of the Oracle SOA Suite on Marketplace
instance.
To add a load balancer in a new subnet:
- Identify and remove the Managed Server security list from the subnet
- Edit the stack to add a new load balancer
- Execute the Terraform Plan operation
- Execute the Terraform Apply operation
- Get the load balancer details and validate results
- Update the load balancer console URL in the WebLogic Server Administration Console
- Restart the servers
Remove the Managed Server security list from the subnet
- Sign in to the Oracle Cloud Infrastructure Console.
- Open the navigation menu, click Networking, and then click Virtual Cloud Networks.
- Select the VCN for the instance.
- On the Virtual Cloud Network Details page, select the subnet for the instance.
- On the Subnet Details page, locate
the security list for the instance.
- At the far right of the row for the security list, click and select Remove, then click Remove in the Remove Security List From Subnet dialog.
Edit the stack to add a new load balancer
- Go to the Stack Details page of the instance to which you want to add a load balancer, as described in View Oracle SOA Suite on Marketplace Instance Details.
- On the Stack Details page, click Edit Stack.
- In the Edit Stack wizard, click Next to go to Configure Variables and select the Provision Load Balancer check box, then select the required Load Balancer Shape.
- Click Next to navigate to the Review page, then click Save Changes.
Execute the Terraform Plan operation
- Go to the Stack Details page of the instance, as described in View Oracle SOA Suite on Marketplace Instance Details.
- On the Stack Details page, click Terraform Actions and select Plan.
- In the Plan dialog, click Plan.
Execute the Terraform Apply operation
The Terraform Apply operation creates a new load balancer, along with the associated resources such as a listener, backend sets, and so on.
- When the Terraform Plan job completes successfully, click Terraform Actions and select Apply.
- In the Apply dialog, click Apply.
Get the load balancer details and validate results
After the Terraform Apply operation completes successfully, view the log:
- Go to the Stack Details page of the instance to which you want to add a load balancer, as described in View Oracle SOA Suite on Marketplace Instance Details.
- In the Jobs section, click the job name to display the Job Details page.
- Under Resources in the left pane, click Outputs to view the log.
- Make a note of the load balancer URL and newly updated service console URLs at the end of the log. For example:
Update the load balancer console URL in the WebLogic Server Administration Console
- Log in to the WebLogic Server Administration Console and under Domain Structure, expand Environment, select Clusters, and select your SOA cluster.
- On the Configuration page, select the HTTP tab.
- Update the Frontend Host value to the load balancer public IP address (from the log) and set the Frontend HTTPS Port to
443
. - Click Save.
Restart the servers
- In the WebLogic Server Administration Console, select the Control tab, then the Start/Stop tab.
-
Select all Managed Servers, then click Shutdown and select Force shutdown now.
- After shutdown completes, select all Managed Servers and click Start.