Lo A DBA Lancer
Lo A DBA Lancer
1. 2. 3. 4. 5. Concept of Load Balancing Load Balancing vs High Availability Types Methodology of Load Balancing How to Configure loadbalancer(tm) Case Study
DR (Direct Routing) works by changing the destination MAC address of the incoming packet on the fly which is very fast. On average, DR mode is 8 times quicker than NAT for HTTP, 50 times quicker for terminal services and much, much faster for streaming media or FTP. Port translation is not possible in DR mode i.e. have a different RIP port than the VIP port.
Web Interface
Default address http://192.168.2.21:9080/lbadmin Default login information username: loadbalancer password: loadbalancer Using Setup wizard to simplify system-wide configuration EDIT CONFIGURATION > SETUP WIZARD
Realserver Configuration (Linux OS) If you are using a one-arm DR load balancing method each web server requires the ARP problem to be handled. Every real server must be configured to respond to the VIP address as well as the RIP address. This is because in DR mode load balanced traffic arrives on the VIP address but the load balancer health checks are on the real server's IP
with arp_ignore sysctl values Each real server needs a loopback IP address to be configured as the VIP. This address needs to be stopped from responding to ARP requests and the web server needs to be configured to respond to this IP address. Edit /etc/sysctl.conf, and run the file
net.ipv4.conf.all.arp_ignore=1 net.ipv4.conf.eth0.arp_ignore=1 net.ipv4.conf.eth1.arp_ignore=1 net.ipv4.conf.all.arp_announce=2 net.ipv4.conf.eth0.arp_announce=2 net.ipv4.conf.eth1.arp_announce=2 /sbin/sysctl.conf p
to reload