Add Access Gateway load balancing to an existing application

Available since Access Gateway version 2022.2.3

During this task you will modify an existing application to enable load balancing and specify additional protected web resources and associated weights.
Optionally you will enable and configure protected web resource health checks.

  1. Configure load balancing:

    1. Sign in to the Access Gateway Admin UI console.
    2. Select the Applications tab.
    3. Click edit () in the row containing the application.
    4. Select the Settings tab.
    5. Expand the Protected Web Resources tab.
    6. In Protected Web Resource tab enable load balancing.
      The Protected Web Resource showing load balancing enabled for this web resource.
      The Protected Web Resource tab will then expand to include a table of hostnames and weights representing the target load balancing instances, initially empty.
    7. Select a URL scheme. All added protected web resources will inherit this scheme. HTTP and HTTPS schemes are supported.
    8. [Optional] Enable and specify Host Header value.
    9. Repeat as required:
      1. Click Add protected web resource.
        A new empty row will be added to the table.
      2. Enter a fully qualified hostname:port combination.
        For example https://backendserver1.atko.com:7001.
      3. Enter a weight between 1 and 100. Enter 0 to specify a disabled host.
        Important Note

        Weights represent the percentage of requests that will be routed to this host.
        For example, two hosts of weights 2:1 would result in requests being routed ~66% to the host weighted 2 and ~33% to the host weighted 1.

      4. Click Okay to add the new host, or Cancel to cancel.
        Click edit () to modify an existing host.
        Click delete() to delete an existing host.
  2. Optional Configure health checks:
    Health checks are optional and use GET operations to confirm back and resources are functional.
    Resources deemed unhealthy are not routed new requests.

    1. Enable health checks.
      The health check slider shown in the enabled position.
    2. Click Edit to modify health check settings.
    3. Modify settings as required.
      FieldValue

      Default

      PathURI to resource used in health check./
      MethodHTTP method used.Always GET
      Status codeHTTP status code used to determine health.200
      IntervalInterval between health checks in seconds.10
      Request timeoutHealth check request timeout in seconds.1
      Healthy thresholdNumber of successful requests before a host is considered healthy.3
      Unhealthy thresholdNumber of failed requests before a host is considered unhealthy.3
    4. Click Save to save changes.
      Click Cancel to cancel changes.
  3. Click Done to Save changes.