Add Access Gateway load balancing to an existing application
Available since Access Gateway version 2022.2.3
-
Configure load balancing:
- Sign in to the Access Gateway Admin UI console.
- Select the Applications tab.
- Click edit (
) in the row containing the application.
- Select the Settings tab.
- Expand the Protected Web Resources tab.
- Enable Load Balancing. A table appears that stores hostnames and weights that represent load balancing instances. This table is initially empty. Click edit (
) to modify an entry in the table, or click delete (
) to delete an entry.
- Choose either HTTP or HTTPS as the URL scheme. Each protected web resource that you add inherits this scheme.
- Optional. Enable and specify Host Header value.
- Complete the following steps to add a host, repeat as required:
- Click Add protected web resource.
- Enter a fully qualified hostname:port combination. For example, https://backendserver1.atko.com:7001.
- Enter a weight from 1 to 100. Enter 0 to specify that a host is disabled.
Weights represent the percentage of requests to route to this host.
For example, two hosts of weights 2:1 would result in roughly 66% of requests being routed to the host weighted 2 and about 33% of requests being routed to the host weighted 1.
- Click Okay.
-
Optional. Configure health checks: Health checks use GET operations to confirm back and resources are functional. Resources deemed unhealthy aren't routed new requests.
- Enable Load Balancer Health Checks.
- Click Edit to modify health check settings.
- Modify settings as required.
Field Value Default
Path URI to resource used in health check. / Method HTTP method used. Always GET Status code HTTP status code used to determine health. 200 Interval Interval between health checks in seconds. 10 Request timeout Health check request timeout in seconds. 1 Healthy threshold Number of successful requests before a host is considered healthy. 3 Unhealthy threshold Number of failed requests before a host is considered unhealthy. 3 - Click Save.
- Click Done.