Re: unable to access the application from LVS server from LAN
ankush grover <[email protected]>
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <[email protected]> |
On 9/21/05, Horms <[email protected]> wrote: > > On Tue, Sep 20, 2005 at 07:22:32PM +0530, ankush grover wrote: > > hey friends, > > > > > > I have configured Load Balancing with Apache.I have 3 machines on one > > machine LVS server is running and the other machines r the real servers. > > > > The LVS server ipaddress is 192.168.1.42 <http://192.168.1.42> < > http://192.168.1.42> and the real > > server ip addresses r 10.0.0.1 <http://10.0.0.1> <http://10.0.0.1> and > > 10.0.0.2 <http://10.0.0.2><http://10.0.0.2>.The apache is configured on > both the real > > servers and on both the servers I > > can access the application.But when I try to access the application > through > > Lan by giving this url > > > > http://192.168.1.42/his it does not works. > > > > Whereas If I give the url on real server http://localhost/his or > > http://10.0.0.1/his or http://10.0.0.2/his I am able to access the > > application.But I am not able to access the application from the Lan. > > If you are using LVS-NAT (masq), which you are, then hosts that > access the cluster can't be on the same subnet as the real-servers. > If you need this kind of behaviour, then consider LVS-DR (gate). > > -- hey, Thanks for your reply,how do I configure LVS-DR(gate).Any example of it will be very useful. Thanks & Regards Ankush Grover