Add an NSX Edge internal or uplink interface as a virtual server.
Verify that an application profile is available. See Create an Application Profile.
If you are associating an application rule with the virtual server, see Create an Application Profile.
If you are enabling acceleration to use the faster load balancer, the acceleration should be enabled when configuring the load balancer. See Configure Load Balancer Service.
- Log in to the vSphere Web Client.
- Click Networking & Security and then click NSX Edges.
- Double-click an NSX Edge.
- Click Manage and then click the Load Balancer tab.
- In the left navigation panel, click Virtual Servers.
- Click the Add () icon.
- Check Enable Virtual Server to make this virtual server available for use.
- (Optional) Check Enable Acceleration for the NSX Edge load balancer to use the faster L4 load balancer engine rather than L7 load balancer engine.
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.
You can use the show service load balancer virt CLI command to confirm the load balancer engine in use.
- 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.
- Enter a name and description for the virtual server.
- 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.
- Select the protocol that the virtual server handles from the drop-down menu.
- 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.
- Select the application rule.
- Enter the maximum concurrent connections that the virtual server can process in the Connection Limit section.
- Enter the maximum incoming new connection requests per second in the Connection Rate Limit section.
- (Optional) Click the Advanced tab and add the application rule to associate it with the virtual server.
- Click OK.