Add a New Load Balancer in a New Subnet

Remove the Managed Server security list from the subnet

  1. Sign in to the Oracle Cloud Infrastructure Console.
  2. Open the navigation menu, click Networking, and then click Virtual Cloud Networks.
  3. Select the VCN for the instance.
  4. On the Virtual Cloud Network Details page, select the subnet for the instance.
  5. On the Subnet Details page, locate the security list for the instance.
    Subnet Details page

  6. At the far right of the row for the security list, click Actions icon and select Remove, then click Remove in the Remove Security List From Subnet dialog.

Edit the stack to add a new load balancer

  1. 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.
  2. On the Stack Details page, click Edit Stack.
  3. 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.
  4. Click Next to navigate to the Review page, then click Save Changes.

Execute the Terraform Plan operation

  1. Go to the Stack Details page of the instance, as described in View Oracle SOA Suite on Marketplace Instance Details.
  2. On the Stack Details page, click Terraform Actions and select Plan.Stack Details page Terraform Actions menu
  3. 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.

  1. When the Terraform Plan job completes successfully, click Terraform Actions and select Apply.
  2. In the Apply dialog, click Apply.

Get the load balancer details and validate results

After the Terraform Apply operation completes successfully, view the log:

  1. 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.
  2. In the Jobs section, click the job name to display the Job Details page.
  3. Under Resources in the left pane, click Outputs to view the log.
  4. Make a note of the load balancer URL and newly updated service console URLs at the end of the log. For example:
    Terraform Apply log

Update the load balancer console URL in the WebLogic Server Administration Console

  1. Log in to the WebLogic Server Administration Console and under Domain Structure, expand Environment, select Clusters, and select your SOA cluster.
  2. On the Configuration page, select the HTTP tab.
  3. Update the Frontend Host value to the load balancer public IP address (from the log) and set the Frontend HTTPS Port to 443.
    WebLogic Server Configuration HTTP tab

  4. Click Save.

Restart the servers

  1. In the WebLogic Server Administration Console, select the Control tab, then the Start/Stop tab.
  2. Select all Managed Servers, then click Shutdown and select Force shutdown now.


    WebLogic Server Control Start/Stop tab

  3. After shutdown completes, select all Managed Servers and click Start.