Web Server Clustering - OSSCAMP

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite & 1 Group

    Web Server Clustering - OSSCAMP - Presentation Transcript

    1. What is Cluster ? Abhishek Kumar Singh Uzanto Consulting India Pvt. Ltd. Web 2.O Company [email_address]
    2. Types Of cluster Loadbalancing HighAvailability HPC GridComputing
    3. DNS RR Loadbalancing www.example.com . IN A 192.168.1.1 www.example.com . IN A 192.168.1.1 www.example.com . IN A 192.168.1.1 Disadvantages Caching Issues Downed Web Server
    4. DNS RR Loadbalancing www.example.com . IN A 192.168.1.1 www.example.com . IN A 192.168.1.1 www.example.com . IN A 192.168.1.1
    5. OpenSource Loadbalancing Packages pen pound haproxy Ultramonkey LVS OpenSSI(Single System Image)‏
    6. Proxy & Web Server's Loadbalncing Apache- mod_proxy, mod_proxy_balancer RewriteEngine On RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ balancer://mongrel_cluster%{REQUEST_URI} [P,QSA,L] <Proxy balancer://mongrel_cluster> BalancerMember http://127.0.0.1:8000 BalancerMember http://127.0.0.1:8001 BalancerMember http://127.0.0.1:8002 </Proxy>
    7. Nginx------- http { .................. .................. upstream mongrel { server 127.0.0.1:6001 max_fails=1 fail_timeout=60s; server 127.0.0.1:6002 max_fails=1 fail_timeout=60s; server 127.0.0.1:6003 max_fails=1 fail_timeout=60s; } proxy_next_upstream error timeout http_500 http_503; }
    8. server { .................. .................. .................. if (!-f $request_filename) { proxy_pass http://mongrel; break; } .................. .................. }
    9. LVS(Linux Virtual Server)‏ OpenSource Project TCP/IP level loadbalancing Sheduling Algorithms:- 1) Static i- RR ii- WRR
    10. 2) Dynamic i- LC overload=(AC*256+IC)‏ ii- WLC priority= overload/weight LVS Types LVS NAT performance issue for high volume traffic LVS DR ARP issue but performance is good LVS TUN Note: LVS Routers Uses GARP to update real servers ARP table .
    11. HighAvailability:- Hearbeat Hearbeat Config 1) Heartbeat Configuration /etc/ha.d/ha.cf 2) Resource Configuration /etc/ha.d/haresources 3) Authentication Configuration /etc/ha.d/authkeys (sha1,md5)‏
    12. Heartbeat Communication Messages:- 1) Heartbeats (statuc messages) 150 bytes long. 2) Cluster Transition Messages i- ip-request ii- ip-request-resp Note: When Primary Server comes online . 3) Retransmission request ( sequence mismatch )‏
    13. Storage Cluster 1) DRBD 2) Heartbeat 3) NFS Distributed Replicaton Of Block Device Network File System
    14. www.linuxvirtualserver.org www.linux-ha.org www.highscalability.com Resources www.slideshare.net/abhishek_singh
    15. Questions ? I Love Questions .

    + Abhishek SinghAbhishek Singh, 3 years ago

    custom

    1917 views, 1 favs, 0 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1917
      • 1917 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 64
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories

    Groups / Events