You can add a server pool to manage and share backend servers flexibly and efficiently. A pool manages load balancer distribution methods and has a service monitor attached to it for health check parameters.

1

Log in to the vSphere Web Client.

2

Click Networking & Security and then click NSX Edges.

3

Double-click an NSX Edge.

4

Click Manage and then click the Load Balancer tab.

5

In the left navigation panel, click Pools.

6

Type a name and description for the load balancer pool.

7

Select a balancing method for each enabled service.

Option

Description

IP_HASH

Selects a server based on a hash of the source and destination IP address of each packet.

LEAST_CONN

Distributes client requests to multiple servers based on the number of connections already on the server. New connections are sent to the server with the fewest connections.

ROUND_ROBIN

Each server is used in turn according to the weight assigned to it. This is the smoothest and fairest algorithm when the server's processing time remains equally distributed.

URI

The left part of the URI (before the question mark) is hashed and divided by the total weight of the running servers. The result designates which server will receive the request. This ensures that a URI is always directed to the same server as long as no server goes up or down.

8

Add members to the pool.

a

Click the Add icon.

b

Type the name and IP address of the server member.

c

Type the port where the member is to receive traffic on and the monitor port where the member is to receive health monitor pings.

d

In Weight, type the proportion of traffic this member is to handle.

e

Type the maximum number of connections the member can handle.

f

Type the minimum number of connections a member should handle before traffic is redirected to the next member.

g

Click OK.

9

Transparent indicates whether client IP addresses are visible to the backend servers. If Transparent is not selected (default value), backend servers see the traffic source IP as a Load balancer internal IP. If Transparent is selected, source IP is the real client IP and NSX Edge must be set as the default gateway to ensure that return packets go through the NSX Edge device.

10

Click OK.