A server pool is a group of one or more servers that you configure to run the same application and to provide high availability.
- From the top navigation bar, select Resources and click Cloud Resources.
- In the left panel, click Edge Gateways.
- Click the NSX-T Data Center edge gateway for which you want to configure a load balancer pool.
- Under Load Balancer, click Pools, and then click Add.
- Configure the general settings for the load balancer pool.
- Enter a meaningful name and, optionally, a description for the server pool.
- Select an algorithm balancing method.
The load balancing algorithm defines how incoming connections are distributed among the members of the server pool.
Option Description Least Connections New connections are sent to the server that currently has the fewest connections. Round Robin New connections are sent to the next eligible server in the pool in a sequential order. Fastest Response New connections are sent to the server that provides the fastest response to new connections or requests. Consistent Hash New connections are distributed across the servers by using the IP address of the client to generate an IP hash key. Least Load New connections are sent to the server with the lightest load, regardless of the number of connections that server has. Fewest Servers Instead of attempting to distribute all connections or requests across all servers, the load balancer determines the fewest number of servers required to satisfy the current client load. Random The load balancer picks servers at random. Fewest Tasks Load is adaptively balanced, based on the server feedback. Core Affinity Each CPU core uses a subset of servers, and each server is used by a subset of cores. Essentially, it provides a many-to-many mapping between servers and cores.
- To enable the server pool upon creation, toggle on the State option.
- Enter a default destination server port to be used for the traffic to the pool member.
- (Optional) In the Graceful Disable Timeout text box, enter the maximum time in minutes to deactivate gracefully a pool member.
The virtual service waits for the specified time before closing the existing connections to deactivated members.
- (Optional) To activate a passive health monitor, toggle on the Passive Health Monitor option.
- (Optional) Select an active health monitor.
Option Description HTTP An HTTP request and response are used to validate the health. HTTPS Used against HTTPS encrypted web servers to validate the health. TCP A TCP connection is used to validate the health. UDP A UDP datagram is used to validate the health. PING An ICMP ping is used to validate the health.
- Add a member to the server pool.
- Click the Members tab and click Add.
- Enter an IP address for the pool member.
- Toggle on the State option to enable the pool member.
- (Optional) Add a custom port for the server pool member.
The port number defaults to the destination port that you entered for the pool.
- Enter a ratio for the pool member.
The ratio of each pool member denotes the traffic that goes to each server pool member. A server with a ratio of 2 gets twice as much traffic as a server with a ratio of 1. The default value is 1.
- On the SSL Settings tab, configure the SSL settings for validating the certificates presented by the members of the load balancer pool.
- To activate SSL, toggle on the SSL Enable option.
- To hide certificates with private keys and see a list of CA certificates only, select the Hide service certificates check box.
- To activate common name check for server certificates, toggle on the Common Name Check option and enter up to 10 domain names for the pool.
- Click Save.