Disable or Enable the Load Balancer for an Oracle Java Cloud Service Instance

You can disable the load balancer for an Oracle Java Cloud Service instance to block access to the service instance during maintenance. You can then enable the load balancer again to resume access.

When enabled, the load balancer forwards the requests it receives from clients to the Oracle WebLogic Server managed servers in your service instance. When it is disabled, the load balancer stops forwarding requests, and responds with a maintenance message and the HTTP status code 503.

Note:

  • You cannot enable or disable the load balancer for a service instance while the instance is being backed up.
  • This procedure is for enabling and disabling Oracle Traffic Director or Oracle Cloud Infrastructure Load Balancing Classic load balancer. It does not apply to Oracle Cloud Infrastructure Load Balancing.

Disable and Enable Oracle Traffic Director

Disable and enable the user-managed load balancer in an Oracle Java Cloud Service instance.

  1. Navigate to the Overview page for the instance for which you want to enable or disable the load balancer.
  2. Click Manage this instance Menu icon in the instance name bar at the top of the page.
  3. Click Disable Load Balancer or Enable Load Balancer, as required.
  4. Click Yes, Disable Load Balancer or Yes, Enable Load Balancer.
The instance is in maintenance mode until the operation is completed. After the operation is completed, the State field in the Oracle Load Balancer section changes to Traffic Disabled or Traffic Enabled, as appropriate.

Disable and Enable an Oracle-Managed Load Balancer

Not Oracle Cloud Infrastructure This topic does not apply to Oracle Cloud Infrastructure. Identify the Cloud Infrastructure Used by a Service Instance.

Disable and enable the Oracle-managed load balancer in an Oracle Java Cloud Service instance.
  1. Navigate to the Overview page for the instance for which you want to enable or disable the load balancer.
  2. Locate and expand the Load Balancer section of the page.
    The load balancer endpoint is displayed.
  3. From the Actions Menu icon menu, select Enable or Disable, as required.
    Within the Load Balancer section, if you click ExpandExpand button at the left edge of the row, the web console shows the details of the listener configured for the load balancer. Instead of disabling the load balancer endpoint, you can choose to disable just the listener. But the effect of either choice is the same; that is, client requests to the load balancer are not forwarded to the WebLogic Servers.
  4. At the confirmation prompt, click OK.
The instance is in maintenance mode until the operation is completed. After the operation is completed, the Yellow warning icon is displayed if you disabled the load balancer, and the Green check mark icon is displayed if you enabled it.