A server pool is a group of one or more servers that you configure to run the same application and to provide high availability.

Prerequisites

  • Verify that you are an organization administrator.

  • Verify that your system administrator has enabled load balancing on the NSX-T edge gateway.
  • Verify that your system administrator has assigned at least one service engine group to the edge gateway.

Procedure

  1. In the top navigation bar, click Networking and click the Edge Gateways tab.
  2. Click the NSX-T Data Center edge gateway for which you want to configure a load balancer pool.
  3. Under Load Balancer, click Pools, and then click Add.
  4. Configure the general settings for the load balancer pool.
    1. Enter a meaningful name and, optionally, a description for the server pool.
    2. 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.
    3. To enable the server pool upon creation, toggle on the State option.
    4. Enter a default destination server port to be used for the traffic to the pool member.
    5. (Optional) In the Graceful Disable Timeout text box, enter the maximum time in minutes to disable gracefully a pool member.
      The virtual service waits for the specified time before closing the existing connections to disabled members.
    6. (Optional) To enable a passive health monitor, toggle on the Passive Health Monitor option.
    7. (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.
  5. Add a member to the server pool.
    1. Click the Members tab and click Add.
    2. Enter an IP address for the pool member.
    3. Toggle on the State option to enable the pool member.
    4. (Optional) Add a custom port for the server pool member.
      The port number defaults to the destination port that you entered for the pool.
    5. 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.
  6. On the SSL Settings tab, configure the SSL settings for validating the certificates presented by the members of the load balancer pool.
    1. To enable SSL, toggle on the SSL Enable option.
    2. To hide certificates with private keys and see a list of CA certificates only, select the Hide service certificates check box.
  7. To enable common name check for server certificates, toggle on the Common Name Check option and enter up to 10 domain names for the pool.
  8. Click Save.

What to do next

Create a Virtual Service.