LSLB | Farms | Create Farm

Under this section you will be able to create LSLB farms, these farms can be configured in two different profiles:

  • HTTP profile: This profile works as a reverse proxy and it’s able to manage HTTP and HTTPS protocol, WebSocket is already supported from Zevenet 6. They work in SNAT mode. Additionally to the request received by the client, the X-Forwarded-for Header is added by default by this profile just before sending the request to the backend.
  • L4XNAT profile: This profile works as a router and it is able to manage any TCP, UDP, SIP, FTP, TFTP, SCTP. It works in DNAT, SNAT or DSR mode.

Create Farm LSLB

After selecting New Farm from the Actions button, a new panel to set up a new farm is shown.

Name. It’s the name of the new farm and could be used to define a description of the virtual service to be provided. It is a unique identification for the virtual service. Special characters like blank spaces, hyphens or colons are not allowed.
Profile. Define the type of farm and load balancing topology for the new farm. You could choose one of the following profiles:

  • HTTP. It’s an advanced HTTP layer 7 load balancing with proxy special properties. It’s included in this profile features like HTTPS layer 7 load balancing combined with SSL offload acceleration. This profile fits for web services (web application servers included) and all application protocols based on HTTP and HTTPS protocols like WebDAV, RDP over HTTP, ICA over HTTP, WebSocket, etc. In order to configure this farm profile, a virtual IP address and a virtual TCP port will be required.
  • L4xNAT. It’s a high-performance load balancing service at layer 4 that works in kernel side (not userspace process based) which combines multiples of load balancing methods like Source NAT, Destination NAT or Direct Server Return. This profile could handle any kind of protocols like TCP, UDP, SCTP, SIP, FTP, TFTP, ICMP, etc, and all protocols based on them. In order to configure this farm profile, a virtual IP address will be required. Later, in the main farm configuration, it’s possible to set a certain protocol to handle, a port or a port range (multiport). It can also handle several protocols at once.

Virtual IP. The list will show all the IP addresses configured in the system network configuration and available to be used for a farm virtual IP.

Virtual Port. This field has to be a port number available on the system, where the Farm Profile will be listening on. The port format is as follows:

  • Only one port available between 1 and 65535 for HTTP profiles.
  • A group of ports between 1 and 65535 for L4XNAT farms separated by a comma, for example, 25,110,143. Port ranges are defined joining the 2 limit port numbers joined by the colon character: 2000:2100, it will include all ports between the range, both numbers included. They can be used together as follows: 25,110,143,200:2100.

Next step, update an LSLB farm.

Share on:

Documentation under the terms of the GNU Free Documentation License.

Was this article helpful?

Related Articles