A load balancer allows you to determine how network traffic is distributed between a group of servers (pool members) and how to re-route traffic if one of the servers in the pool fails.
Navigate to Products/Services → Virtual DC → Routers → LB pools → Add.
Services
Enter the following parameters:
- Service — select the check boxes to activate the required protocols;
- Method — select a load balancing method for each enabled service:
- IP Hash — a server based on a hash of the source IP address of each packet;
- Round Robin — each server is used in turn according to the weight assigned to it.;
- URI — all requests to a certain IP address will be sent to the single virtual machine;
- Least Connected — the new connection is sent to the server with the fewest connections.
- Port;
- Accessibility check URI — address to check the server status. The HTTP protocol is used.
Monitoring
Enter the following parameters:
- Monitoring port;
- Mode — monitoring protocol;
- Interval — the interval between calls;
- Timeout — time within which a response from the server must be received;
- Health thresholds — a number of consecutive successful health checks before a server is declared operational;
- Unhealth threshold — a number of consecutive unsuccessful health checks before a server is declared dead.
Pool members
Enter the following parameters:
- IP address — the IP address of the LB pool member;
- Weight — server weight in the load balancing. 0 — the server is not used for load balancing, 1 — standard weight, 2 — the server receives double requests, etc.;
- Port;
- Monitoring port.
Configuration rules
- for the load balancing pool you cannot disable the protocol (service) which uses the load balancing server;
- you cannot delete the load balancing pool which is used by the load balancing server.