Mettle Knowledge
Search:     Advanced search
Browse by category:
Contact Us

Server Load Balancing

Add comment
Views: 528
Votes: 0
Comments: 0
Posted: 23 Apr, 2010
by: Knowledge M.
Updated: 31 May, 2010
by: Knowledge M.
Server load balancing allows you to distribute traffic between multiple internal servers. It is commonly used with web servers and SMTP servers though it can be used for any service that uses TCP.

There are two portions of configuration for the server load balancer. Virtual server pools define the list of servers to be used, which port they listen on, and monitoring method to be used. Virtual servers define the IP address and port to listen on, and the appropriate pool to direct the incoming traffic to that IP address and port.

After the configuring Server Pools and Servers, you will need to create firewall rules to allow access to the servers in the pool. Firewall configuration is explained below.

To configure Virtual server pools:

  1. Go to: Services --> Load Balancer --> Click + button to add a new pool.
  2. Name --> Enter a name for the pool here. The name is referenced later when configuring virtual server.
  3. Description --> You may enter an optional description here/
  4. Type --> Select 'Server'
  5. Behaviour --> Select 'Load Balancing'
  6. Port --> This is the port your servers are listening on internally. This can be different from the external port.
  7. Monitor --> Defines the type of monitoring to use. Selecting 'TCP' will make the balancer connect to the port defined above, if it cannot connect, server is considered down. Choosing 'ICMP' will monitor the defined servers by pinging them, and will be marked down if there is no ping response.
  8. Monitor IP --> Not applicable with server load balancing
  9. Server IP Address --> Fill in the IP address of the servers in the pool.
  10. List --> Shows the list of servers you have added to this pool. You can remove a server from the pool by clicking on its IP address and clicking remove from pool.
  11. Click on 'Save' and proceed to configure virtual servers.

To Configure virtual servers:

  1. Name --> Enter a name for the virtual server here, this is not parsed.
  2. Description --> You may enter a long description here, its not parsed.
  3. IP Address --> Enter the IP address that the virtual server will listen on. This is usually your WAN IP or a Virtual IP on WAN interface.
  4. Port --> This is the port the virtual server will listen on. It can be different from the port on your servers are listening internally.
  5. Virtual Server Pool --> Select the previously configured pool from the list.

Firewall Rules:

Configure firewall rules to allow traffic to the server pool. Firewall rules must permit traffic to the internal private IP addresses of the servers and to the port they are listening on internally. Create an Alias for the servers in the pool, and using the Alias create a single firewall rule on the WAN (usually) interface where the traffic destined to the pool will be initiated allowing the appropriate source (usually Any) to destination of the Alias created for the pool.

Now that you have configured servers, pool and the firewall rule, the server load balancing setup should be up and running.
Also read
document Adding Firewall Rules
document Firewall: Alias
document Inbound Loadbalancing

Others in this Category
document Initial Configuration: Setting up Mettle SE in a Local Area Network with Internet Connection.
document Default IP Address & Admin Password (And How To Change It?)
document Configuring DHCP Server
document Enabling The LAN Hosts To Use The Internet Connection (NATing)
document Adding A Second (Or More) Internet Connection To Mettle SE & Setting Up Failover/Load Balancing
document Monitoring The Internet Usage
document How To Turn On/Off The Content Filter & Gateway Antivirus Service
document Fine Tuning The Content Scanner
document Setting Up PPTP VPN accounts
document OpenVPN: Setting Up SSL-VPN accounts
document Setting Up IPsec VPN Accounts
document Deploying A Second LAN With Mettle SE.
document Choosing a VPN Technology
document Adding Firewall Rules
document Setting Up Mettle SE Stack for Active/Passive Fail-Over (CARP)
document Connecting & Securing a Leased Line Connection to Mettle SE
document Port Forwarding (PAT)
document Creating a DNS Entry/Record for the LAN
document Blocking GTalk in the LAN
document Blocking Yahoo! IM from the LAN
document OpenVPN: If VPN Clients Want to Access a Subnet other than "Local network"
document Setting up IPSec Tunnel
document Open VPN Troubleshooting
document PPTP VPN Troubleshooting
document NTP Client/Server
document Setting Up an IPSec VPN Client: Example Given Using Shrewsoft VPN Client
document Firewall: Alias
document Captive Portal
document Virtual IP Address
document OpenVPN: Setting Up a SSL-VPN Client in Windows
document Creating Tagged VLANs
document Cloning Firewall Rules
document IPsec VPN Troubleshooting
document Wake On LAN
document Inbound Loadbalancing
document OpenVPN: Setting up Certification Authority & Generating Certificates
document Changing default webGUI Port and Protocol
document Using Packet Capture
document Using Traceroute
document Package Updates
document OpenVPN: To make OpenVPN client use VPN as the Default Gateway
document OpenVPN: To exclude some Network from using VPN gateway when VPN is set as default gateway for VPN client
document Adding a Static DHCP Lease
document Schedule Based Firewall Rules
document RRD Graphs
document Firewall Logs
document Backup and Restore Mettle SE Running Configuration
document Event Logging To Remote Syslog Server
document Split DNS
document NAT Reflection/NAT Loopback
document Dynamic DNS



RSS