Configure Autoscaling

You can enable autoscaling for WebLogic instances based on WebLogic Monitoring Metrics.

You must configure Application Performance Monitoring before you configure autoscaling. However, Application Performance Monitoring always free domain is not supported for autoscaling.

See Configure Application Performance Monitoring.

Note:

You cannot enable autoscaling after you have created the Oracle WebLogic Server for OCI domain.

For autoscaling, ensure that you configure either public load balancer, private load balancer, or load balancer with reserved IP.

Ensure that you have set up the user group polices and dynamic group polices that are applicable for the configuration. See User Group Policies and Dynamic Group Policies for Autoscaling.

To use autoscaling for your WebLogic instances:

  1. Select a performance metric for the WebLogic Monitoring Metrics.
  2. Specify the threshold values as follows:
    • For CPU Load and Used Heap Percent, select the minimum and maximum threshold percentage.
    • For Queue Length and Stuck threads, select the minimum and maximum threshold counter values.
  3. Enter a user name to access the image in the registry to deploy autoscaling OCI functions.

    The registry user name format is tenancy_namespace/<username>. If your tenancy is federated with Oracle Identity Cloud Service, then the registry user name format is tenancy_namespace/oracleidentitycloudservice/<username>.

    You can choose either to include the tenancy_namespace or remove the tenancy_namespace in the user name format. For example, you can either use tenancy_namespace/<username> or <username>.

    Note:

    If you choose to include tenancy_namespace in the user format, ensure that you use the correct namespace for your tenancy.
  4. Select the compartment where you have OCI secret that contains the registry authentication token, and then select the secret that contains the registry authentication token that you generated for the user to access the image registry.
  5. Optional: Enter the email ID to receive scaling notifications.
    It is recommended to subscribe to email notifications.