Adding a Load Balancer to an Oracle SOA Cloud Service Instance

You can add a load balancer to an Oracle SOA Cloud Service instance after its creation.

For any Oracle SOA Cloud Service instance that contains more than one Managed Server node, a load balancer provides these benefits:

  • Manages the routing of requests across all Managed Servers.

  • Enables you to configure the routing policy.

  • Enables you to suspend a service instance temporarily to perform routine maintenance, as described in Suspending an Oracle SOA Cloud Service Instance.

A service instance can include zero or one load balancer nodes (VMs). Each node is assigned a separate public IP address.

Oracle Traffic Director (OTD) is used as the load balancer for a service instance.

To add a load balancer to a service instance:

  1. From the Services page of the Oracle SOA Cloud Service Console, click an existing service instance.
    The Overview page is displayed.
  2. Navigate to the Topology page. Click Add Load Balancer.
    The Add Load Balancer dialog box opens.
  3. Select the routing policy and compute shape for the load balancer, and the user name and password for the Oracle Traffic Director administrator.

    The user name and password for the Oracle Traffic Director administrator are used to access the Oracle Traffic Director administration console as described in Accessing an Administration Console for Software that a Service Instance Is Running.

    Note:

    If you add a load balancer to an Oracle SOA Cloud Service instance after the service instance was created, you must define the user name and password for the Oracle Traffic Director administrator explicitly. The user name and password are not set by default to the user name of the WebLogic Server administrator. This behavior differs from the behavior when a load balancer is added to a service instance while the service instance is being created.

    Table 4-1 Load Balancer Options Common to Provisioning a Service and Adding a Load Balancer

    Option Description

    Load Balancer Policy

    Select the policy to use for routing requests to the load balancer.

    Valid policies include:

    • Least Connection Count—Passes each new request to the Managed Server with the least number of connections. This policy is useful for smoothing distribution when Managed Servers get bogged down. Managed Servers with greater processing power to handle requests will receive more connections over time.

    • Lowest Response Time—Passes each new request to the Managed Server with the fastest response time. This policy is useful when Managed Servers are distributed across networks.

    • Round Robin—Passes each new request to the next Managed Server in line, evenly distributing requests across all Managed Servers regardless of the number of connections or response time.

    Compute Shape

    Select the number of Oracle Compute Units (OCPUs) and amount of RAM memory that you want to allocate to the VM for the load balancer. The larger the compute shape, the greater the processing power.

    Valid compute shapes include:

    • OC3: 1 OCPU and 7.5 GB memory

    • OC4: 2 OCPUs and 15 GB memory

    • OC5: 4 OCPUs and 30 GB memory

    • OC6: 8 OCPUs and 60 GB memory

    You can also change the compute shape after you create the Oracle SOA Cloud Service instance. See Scaling an Oracle SOA Cloud Service Node.

    User Name

    The name must be between 8 and 128 characters long and cannot contain any of the following characters:

    • Tab

    • Brackets

    • Parentheses

    • These special characters:

      • Left angle bracket (<)

      • Right angle bracket (>)

      • Ampersand (&)

      • Pound sign (#)

      • Pipe symbol (|)

      • Question mark (?)

    Password

    The password must meet these requirements:

    • Starts with a letter

    • Is between 8 and 30 characters long

    • Contains letters, at least one number, and, optionally, any number of these special characters:

      • Dollar sign ($)

      • Pound sign (#)

      • Underscore (_)

        No other special characters are allowed.

  4. Click Add Load Balancer.
The Overview page is updated to show that the load balancer is being added.

While the load balancer is being added, the service instance is in maintenance status and you cannot start any other management operation on the service instance.

After the load balancer is added, information about the load balancer is also available on the Load Balancer tab on the Administration page.

If you require the WebLogic Plug-in Enabled control to be set in Oracle WebLogic Server, you must set this control manually. If you add a load balancer to an Oracle SOA Cloud Service instance after the service instance was created, Oracle SOA Cloud Service does not set the WebLogic Plug-in Enabled control in Oracle WebLogic Server for you. This behavior differs from the behavior when a load balancer is added to a service instance while the service instance is being created.

For details, see Understanding the use of “WebLogic Plugin Enabled”.