OnApp load balancers are based on Layer 4 load balancing which means that requests are distributed at the transport layer, such as TCP or UDP transport protocols. To add an LB cluster:
- Go to your Control Panel's Load Balancers menu.
- Click the Add New Balancer button.
- On the page that follows, fill in the form that appears:
On this page:
- Port - specify the port for this load balancer to run on (e.g. 9090, 8080, 9008 etc.)
To add multiple load balancer ports, click the "+" button next to the first port.
Load Balancer Instance
- Label – give a name to your load balancer instance.
- Hostname – specify a host name that will identify your load balancer.
- Compute zone – choose a Compute zone.
- Compute resource – select a Compute resource that will be enabled for the cluster.
- Network zone – choose a network zone for this load balancer.
- Port Speed – use the slider to set a port speed or tick the Unlimited box if required.
Load Balancer Type
- Load Balancer Type - choose the Cluster option and click Next.
This is where you add and configure the nodes in this load balancing cluster. A node is a combination of a VS and an IP address.
- Virtual Server - select a virtual server from the drop-down box and click the Add Node button.
Click Save to create the load balancer cluster.
The only VSs you can add to a cluster are those which are based on the selected Compute resource/Compute zone, have an IP in the defined network zone and are located in the same IP range.
Enabled anti-spoofing would prevent adding Windows-based virtual servers as nodes to the load balancer cluster. To disable anti-spoofing reboot windows-based nodes from Control Panel after they are added to the cluster.