Add an NSX Edge internal or uplink interface as a virtual server.

Prerequisites

  • An application profile must be available.

  • If you want to enable acceleration to use a faster load balancer, ensure that acceleration is enabled in the Global Configuration settings of the load balancer. See Configure Load Balancer Service.

Procedure

  1. Log in to the vSphere Web Client.
  2. Click Networking & Security > NSX Edges.
  3. Double-click an NSX Edge.
  4. Click Manage > Load Balancer > Virtual Servers.
  5. Click Add.

    The New Virtual Server window opens.

  6. Specify the virtual server details.
    1. Enable the virtual server to make this virtual server available for use.
    2. (Optional) Enable acceleration for the load balancer to use the faster L4 load balancer engine rather than L7 load balancer engine.
      Note:

      This configuration requires firewall enabled on the edge.

      If a virtual server configuration, such as application rules, HTTP type, or cookie persistence, is using the L7 load balancer engine, the L7 load balancer engine is used regardless of whether acceleration is enabled. Acceleration must be selected under Global Configuration.

      You can use the show service loadbalancer virtual CLI command to confirm the load balancer engine in use.

    3. Select the application profile to be associated with the virtual server.

      You can associate only an application profile with the same protocol as the virtual server that you are adding. The services supported by the selected pool appear.

    4. Enter a name and description for the virtual server.
    5. Enter an IP address or click Select IP Address to set the IP address that the load balancer is listening on.

      The Select IP Address window shows only the primary IP address. If you are creating a VIP using a secondary IP address, enter it manually.

    6. Select the protocol that the virtual server handles.
    7. Enter the port number that the load balancer listens on.

      You can also enter a range of ports. For example, to share the virtual server configuration, such as server pool, application profile, and application rule, enter 80,8001-8004,443.

      To use FTP, the TCP protocol must have port 21 assigned to it.

    8. Select the application rule.
    9. In the Connection Limit text box, enter the maximum concurrent connections that the virtual server can process.
    10. In the Connection Rate Limit text box, enter the maximum incoming new connection requests per second section.
    11. (Optional) Click the Advanced tab and add the application rule to associate it with the virtual server.
    12. Click Add or OK.