Create a load balancer pool to include virtual machines that consume DLB services.

This task can be done both from the NSX-T UI and NSX-T API.

The API command to create a DLB pool, PUT https://<NSXManager_IPaddress>/policy/api/v1/infra/lb-pools/<lb-pool-id>

Prerequisites

  • Create a VM group that consumes DLB service.
  • Create and attach a DLB instance to a VM group.

Procedure

  1. From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-address>.
  2. Go to Networking → Load Balancing → Server Pools.
  3. Click Add Server Pool.
  4. Enter values in these fields.
    Field Description

    Name

    Enter name of the DLB pool.

    Algorithm

    Only ROUND_ROBIN is supported for a Distributed Load Balancer.

    Members

    Click Select Members and add individual members to the group.

    When adding individual members, only enter values to the the following fields :

    • Name
    • IP address
    • Port
    Note: Except for the above mentioned fields no other fields are supported when adding members to a DLB pool.

    Member Group

    Click Select Members and add a member group.

    When adding individual members, enter values to the the following fields :

    • Name
    • Compute Members: Click Set Members to add a group that includes all the pool members.

    • IP Revision Filter: Only IPv4 is supported.

    • Port: Default port for all the dynamic pool members.
    Note: Except for the above mentioned fields no other fields are supported when adding members to a DLB pool.
    SNAT Translation Mode Set this field to Disabled state. SNAT translation is not supported in a Distributed Load Balancer.
  5. Click Save.

Results

Server pool members are added for the Distributed Load Balancer.

What to do next

See Create a Virtual Server with a Fast TCP or UDP Profile.