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

Prerequisites

Procedure

  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 Virtual Servers.
  6. Click the Add (add icon) icon.
  7. Check Enable Virtual Server to make this virtual server available for use.
  8. (Optional) : Check Enable Acceleration for the NSX Edge 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, then the L7 load balancer engine is used even if you enabled acceleration or not. The Acceleration Enabled option must be selected under Global Configuration.

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

  9. 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.

  10. Enter a name and description for the virtual server.
  11. Click Select IP Address to set the IP address that the load balancer is listening on and type the protocol that the virtual server will handle.

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

  12. Select the protocol that the virtual server handles from the drop-down menu.
  13. Enter the port number that the load balancer listens on.

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

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

  14. Select the application rule.
  15. Enter the maximum concurrent connections that the virtual server can process in the Connection Limit section.
  16. Enter the maximum incoming new connection requests per second in the Connection Rate Limit section.
  17. (Optional) : Click the Advanced tab and add the application rule to associate it with the virtual server.
  18. Click OK.