hey,<br>

<br>
I am trying to configure Load Balancing for Apache.I am using
ultramonkey redhat enterprise example for configuring Load Balancing
for apache.<br>
<br>
<span>
My Scenario is such<br>
<br>
LVS <a href="http://192.168.1.42/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.42</a><br>
Real Server 1 <a href="http://192.168.1.67/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.67</a><br>
Real Server 2   <a href="http://192.168.1.68/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.68</a><br>
<br>
Any Client within the Lan should be able to access the Apache application running on real servers.</span><span>
Apache application is running on both the real servers and can be accessed by giving the <a href="http://ipaddress/his" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://ipaddress/his</a>.</span>
<br>
<span><br>the /etc/ha.d/ldirectord.cf file is as such<br>
<br>
 Global Directives<br>
checktimeout=10<br>
checkinterval=2<br>
#fallback=<a href="http://127.0.0.1/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">127.0.0.1:80</a><br>
autoreload=no<br>
#logfile="/var/log/ldirectord.log"<br>
logfile="local0"<br>
quiescent=yes<br>
<br>
# Virtual Server for HTTP<br>
virtual=<a href="http://192.168.1.42/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.42:80</a><br>
        fallback=<a href="http://127.0.0.1/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">127.0.0.1:80</a><br>
        real=<a href="http://192.168.1.67/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.67:80</a> gate (it should be gate or something else)<br>
        real=<a href="http://192.168.1.68/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.68:80</a> gate<br>
        service=http<br>
        request="index.html"<br>
        receive="Test Page"<br>
        scheduler=rr<br>
        #persistent=600<br>
        protocol=tcp<br>
    checktype=negotiate<br></span><br>


<br>


What I have to do so that I should be able to access the application
running on Real Servers from any machine within Lan by giving the
ipaddress of LVS servers    
<a href="http://192.168.1.42/his" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://192.168.1.42/his</a>.<br>


<br>


I have used ultramonkey Load Balancing example<br>


<br>


<a href="http://www.ultramonkey.org/3/topologies/lb-eg.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.ultramonkey.org/3/topologies/lb-eg.html</a><br>


<br>


but this example contains LVS-NAT example whereas I need LVS-DR example.<br>


<br>


The real servers are not getting added to the LVS.<br>


<br>


The output of ipvadm -L -n<br>


<br>


IP Virtual Server version 1.2.1 (size=4096)<br>


Prot LocalAddress:Port Scheduler Flags<br>


  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn<br>


<br>
<br>
Somebody pointed me to add these entries in Real Servers /etc/sysctl.conf <br>
<br>
Entries in /etc/sysctl.conf<br>


<span><span class="q">net.ipv4.conf.eth0.arp_ignore = 1<br>net.ipv4.conf.eth0.arp_announce = 2<br>net.ipv4.conf.all.arp_ignore = 1<br>net.ipv4.conf.all.arp_announce = 2<br>
<br>
</span></span>But still I am not able to access the application.Even real servers r not getting added.<br>
<br>


Please guide me how to make LVS-DR works on FC3 for Apache Load Balancing.<br>
<br>
<span><span class="q"></span></span><span class="sg">Thanks & Regards<br>
<br>
Ankush Grover<br>
</span>