advertisement

Web Server Clustering - OSSCAMP

100 %
0 %
advertisement
Information about Web Server Clustering - OSSCAMP

Published on September 10, 2007

Author: abhishek_singh

Source: slideshare.net

advertisement

What is Cluster ? Abhishek Kumar Singh Uzanto Consulting India Pvt. Ltd. Web 2.O Company [email_address]

Types Of cluster Loadbalancing HighAvailability HPC GridComputing

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

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

OpenSource Loadbalancing Packages pen pound haproxy Ultramonkey LVS OpenSSI(Single System Image)‏

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>

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; }

server { .................. .................. .................. if (!-f $request_filename) { proxy_pass http://mongrel; break; } .................. .................. }

LVS(Linux Virtual Server)‏ OpenSource Project TCP/IP level loadbalancing Sheduling Algorithms:- 1) Static i- RR ii- WRR

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 .

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)‏

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 )‏

Storage Cluster 1) DRBD 2) Heartbeat 3) NFS Distributed Replicaton Of Block Device Network File System

www.linuxvirtualserver.org www.linux-ha.org www.highscalability.com Resources www.slideshare.net/abhishek_singh

Questions ? I Love Questions .

Add a comment

Related pages

Server Clustering | LinkedIn

View 4280 Server Clustering posts, presentations, experts, and more. Get the professional knowledge you need on LinkedIn.
Read more

Hemant Kohli | LinkedIn

... log handling, Zimbra , Qmail, Postfix , webserver handling, Linux Troubleshooting. Certifications. ... OSScamp; View Hemant’s full ... Cluster ...
Read more

Linux ForYou - Nov 2008 - Scribd - Read Unlimited Books

and a Web server, Network Services has ... common, a cluster using task-bs-cluster-main, ... The OSScamp community wants to thank the sponsors
Read more

Full text of "Linux For You Magazine Issue 69"

Full text of "Linux For You Magazine Issue 69" See other formats ...
Read more

[Jmeter-User] Hi can anyone tell me which profiling tools ...

(2 replies) - Asked: Oct 3 2006 at 17:28 - ([Jmeter-User] Hi can anyone tell me which profiling tools is the best tool(open source). ) hi guys, can anyone ...
Read more