*Hi,* Now on each realserver i have 2 Nic's. (ex: 192.168.1.58/192.168.2.58)
My directory forwards all the requests on 192.168.1.58 n/w. I need to set the routing table on realservers that to use only director as gateway if destination is 192.168.1.0 n/w. For others use 192.168.2.0 n/w. The reason is my mysql connections take double the time if i use the director as gateway. Please guide me how to go about. Thanks, Madan KN On Tue, Apr 22, 2008 at 7:20 PM, Bgs <[EMAIL PROTECTED]> wrote: > There is no howto about it afaik. It's absolutely not a standard setup. > Actually I've never seen it anywhere before, but I've been using it in > high traffic production level environment for quite some time. We can > use an arbitrary number of loadbalancers to distribute traffic on the > same frontend server park. > > Madan KN wrote: > > Hi, > > Can you please refer me to Howto documentation to acheive the following > > below. > > Since am doing this for the first time, need some heads up. > > > > > > Thanks, > > Madan KN > > > > On Mon, Apr 21, 2008 at 5:37 PM, Bgs <[EMAIL PROTECTED]> wrote: > > > >> Example (I used it a lot in production level env): connmark the traffic > >> coming from you director and mark it on output. The you can use fwmark > >> to set up a routing table for the director. This way you can keep your > >> normal default gateway on your realservers. You can also have multiple > >> directors if you want using this method. Works like a charm :) > >> > >> Regards > >> Bgs > >> > >> > >> Madan KN wrote: > >>> Hi, > >>> Thanks for reminding this, Can you please suggest me how will we > achieve > >>> this. > >>> > >>> Since all my traffic getting routed through Director. I want only LVS > >> Port > >>> 8080 being routed through > >>> Director. > >>> > >>> Others using my default router hardware. > >>> > >>> Thanks In Advance, > >>> Madan KN > >>> > >>> On Sun, Apr 20, 2008 at 4:46 AM, bgs <[EMAIL PROTECTED]> wrote: > >>> > >>>> Hi, > >>>> > >>>> If you don't want to route all non-lvs traffic through your director > >>>> (creating double traffic on you LAN and adding a spof), you can also > >> mark > >>>> the traffic and use routing rules. > >>>> > >>>> > >>>> Regards > >>>> Bgs > >>>> > >>>> > >>>> On Sat, 19 Apr 2008 23:17:23 +0530, "Madan KN" <[EMAIL PROTECTED]> > >> wrote: > >>>>> Hi Jason/Joseph, > >>>>> > >>>>> Thanks folks, It works :) > >>>>> > >>>>> Thank you again. > >>>>> > >>>>> Madan KN > >>>>> > >>>>> On Sat, Apr 19, 2008 at 5:14 PM, Joseph Mack NA3T <[EMAIL PROTECTED]> > >>>> wrote: > >>>>>> On Sat, 19 Apr 2008, Madan KN wrote: > >>>>>> > >>>>>>> IP Virtual Server version 1.2.1 (size=4096) > >>>>>>> Prot LocalAddress:Port Scheduler Flags > >>>>>>> -> RemoteAddress:Port Forward Weight ActiveConn > InActConn > >>>>>>> TCP 192.168.1.10:8080 rr > >>>>>>> -> 192.168.1.62:8080 Masq 1 0 0 > >>>>>>> -> 192.168.1.60:8080 Masq 1 0 0 > >>>>>>> -> 192.168.1.58:8080 Masq 1 0 0 > >>>>>> > >> > http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.LVS-NAT.html#one_network > >>>>>> Joe > >>>>>> > >>>>>> -- > >>>>>> Joseph Mack NA3T EME(B,D), FM05lw North Carolina > >>>>>> jmack (at) wm7d (dot) net - azimuthal equidistant map > >>>>>> generator at http://www.wm7d.net/azproj.shtml > >>>>>> Homepage http://www.austintek.com/ It's GNU/Linux! > >>>>>> > >>>>>> _______________________________________________ > >>>>>> LinuxVirtualServer.org mailing list - > >> lvs-users@LinuxVirtualServer.org > >>>>>> Send requests to [EMAIL PROTECTED] > >>>>>> or go to http://lists.graemef.net/mailman/listinfo/lvs-users > >>>>>> > >>>>> _______________________________________________ > >>>>> LinuxVirtualServer.org mailing list - > lvs-users@LinuxVirtualServer.org > >>>>> Send requests to [EMAIL PROTECTED] > >>>>> or go to http://lists.graemef.net/mailman/listinfo/lvs-users > >>>> _______________________________________________ > >>>> LinuxVirtualServer.org mailing list - > lvs-users@LinuxVirtualServer.org > >>>> Send requests to [EMAIL PROTECTED] > >>>> or go to http://lists.graemef.net/mailman/listinfo/lvs-users > >>>> > >>> _______________________________________________ > >>> LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org > >>> Send requests to [EMAIL PROTECTED] > >>> or go to http://lists.graemef.net/mailman/listinfo/lvs-users > >>> > >> _______________________________________________ > >> LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org > >> Send requests to [EMAIL PROTECTED] > >> or go to http://lists.graemef.net/mailman/listinfo/lvs-users > >> > > _______________________________________________ > > LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org > > Send requests to [EMAIL PROTECTED] > > or go to http://lists.graemef.net/mailman/listinfo/lvs-users > > > > _______________________________________________ > LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org > Send requests to [EMAIL PROTECTED] > or go to http://lists.graemef.net/mailman/listinfo/lvs-users > _______________________________________________ LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org Send requests to [EMAIL PROTECTED] or go to http://lists.graemef.net/mailman/listinfo/lvs-users