Posts

Showing posts from July, 2014

Linux LVS Load balance on Fedora 5: My experience

Reference: http://www.austintek.com/LVS/LVS-HOWTO/ Before doing LVS, readers are required to read the HowTo and MiniHowTo of this site. This site explains the basic and the way load balance work. My architecture is as follow: Router(192.168.1.1) |---------------------|----------------------------| | | | Client Load balancer (LB) Real Server (RS) 192.168.1.5 eth0/DIP:192.168.1.2 192.168.1.4 VIP:192.168.1.3 Client - Windows machine Load balancer/Real Server - Fedora 5 - Kernel 2.6.18 Points to note: LB - I use 1 network card only, i.e. I hosted 2 IPs on 1 network card. I used the basic configuration script created by LVS site: http://www.linuxvirtualserver.org/software/index.html For those who don't know: DIP = Director IP: Director can be seen as load balancer, this is the IP of this load balancer. VIP = Virtual IP: This is the IP which can be seen as an "access point&