Re: unable to access the application from LVS server from LAN
Horms <[email protected]>
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Sep 21, 2005 at 10:05:31AM +0530, ankush grover wrote: > 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. This is described in some detail at http://www.ultramonkey.org/3/topologies/hc-ha-lb-overview.html Note, that you don't have to use heartbeat, and if you don't want to, just leave out its configuration and run ldirectord as a stand-alone daemon. -- Horms -- Ultra Monkey - http://www.ultramonkey.org/ To UNSUBSCRIBE, email to [email protected], with a body: unsubscribe ultramonkey-users [email protected] where "[email protected]" is YOUR email address.