• Save
Implementing Web Load Balancing On A Shoestring Budget
Upcoming SlideShare
Loading in...5
×
 

Implementing Web Load Balancing On A Shoestring Budget

on

  • 3,486 views

How off-the-shelf open source software (i.e. Vmware ESXi, CentOS, nginx, haproxy, and keepalived) was used to deploy an effective web load balancing solution to deliver redundant and available web ...

How off-the-shelf open source software (i.e. Vmware ESXi, CentOS, nginx, haproxy, and keepalived) was used to deploy an effective web load balancing solution to deliver redundant and available web services.

Statistics

Views

Total Views
3,486
Views on SlideShare
2,959
Embed Views
527

Actions

Likes
0
Downloads
0
Comments
0

7 Embeds 527

http://www.ryanfrantz.com 512
http://localhost 7
http://translate.googleusercontent.com 4
http://www.rftechconsulting.com 1
https://www.google.co.za 1
http://ryanfrantz.com 1
http://www.google.com.sa 1
More...

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Implementing Web Load Balancing On A Shoestring Budget Implementing Web Load Balancing On A Shoestring Budget Presentation Transcript

  • Implementing Web Load Balancing on a Shoestring Budget
  • Why I needed web load balancing
    Single web server
    Hosting 60+ websites
    Redundant subsystems (disk, power)
    Spare mobo, anyone?
  • Project Scope
    Website availability
    Website availability
    Websi…er…uptime!
    Redundant web servers
    Redundant load balancers
    Session state persistence for failed web backends not required (yet)
  • Budget
    Did you read the title of this deck?
  • Design
    VmwareESXi (all hosts)
    CentOS (load balancers)
    Nginx (SSL termination)
    Haproxy (web load balancing)
    Keepalived (VRRP)
    Windows Server 2008 (IIS)
  • System Layout
  • Configs
    Nginx
    Haproxy
    Keepalived
    sysctl
    iptables
  • Lessons Learned
    Whoa! TSO
    HTTP 500 errors
    Web servers “offline” for 20-30 minutes
    IIS 7 request tracing did not help
    Disable TSO
    Windows: NIC properties (on by default for Windows guest VMs)
    Linux: ethtool –k <interface>
  • Utilization/Performance Monitoring
    TCP TIME_WAIT
    TCP ESTABLISHED
    TCP LISTEN
  • Project Links
    Nginx - http://wiki.nginx.org/
    Haproxy - http://haproxy.1wt.eu/
    Keepalived - http://www.keepalived.org/