In this scheme, load balancers manage incoming requests one by one, rotating them between the servers added to a cluster (a round-robin method).
OnApp load balancers are based on Layer 4 load balancing which means that requests are distributed at the transport layer, such as TCP/UDP transport protocols. To add an LB cluster:
Go to your Control Panel's Load Balancers menu.
Click the Add a New Balancer button.
On the page that follows, fill in the form that appears:
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.
Hypervisor zone – choose a hypervisor zone.
Hypervisor – select a hypervisor 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
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.
Select a virtual server from the drop-down box and click the Add Node button.
PLEASE NOTE that the only VSs you can add to a cluster are those which are based on the selected hypervisor/hypervisor zone, have an IP in the defined network zone and are located in the same IP range.