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
- Log in to the vSphere Web Client.
- Click .
- Double-click an NSX Edge.
- Click .
- Click Add.
The
New Virtual Server window opens.
- Specify the virtual server details.
- Enable the virtual server to make this virtual server available for use.
- (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.
- 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.
- 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.
- Select the protocol that the virtual server handles.
- 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.
- Select the application rule.
- In the Connection Limit text box, enter the maximum concurrent connections that the virtual server can process.
- In the Connection Rate Limit text box, enter the maximum incoming new connection requests per second section.
- (Optional) Click the Advanced tab and add the application rule to associate it with the virtual server.
- Click Add or OK.