load balancer with direct routing (LVS-DIR)

view full story

http://www.linuxquestions.org – Hello Forum: I am working on a load balancing project. The type of routing I am implementing is direct routing (LVS-DIR). The following is a script that sets up the Linux Virtual Server (LVS) or the load balancer: #!/bin/bash #description: manages load balancer #chkconfig: 35 20 80 #processname: lvsdr . /etc/rc.d/init.d/functions VIPeth00= #virtual ip on eth0:0 DIPeth0= #public (I know it is not public, just to get this running) real ip for lvs or load balancer on eth0 DIPeth1= #private (HowTos)