Malcolm,
If i set ldirector to check for tcp instead of udp, then udp traffic will not
be forwarded...unless I'm doing something wrong.
Is this what you meant:
virtual=10.1.201.189:5060
real=10.1.201.191:5060 gate
real=10.1.201.193:5060 gate
scheduler=wlc
protocol=tcp
checktype=connect
persistent=600
If not, please let me know. Thanks.
--- lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx wrote:
> Send lvs-users mailing list submissions to
> lvs-users@xxxxxxxxxxxxxxxxxxxxxx
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://www.in-addr.de/mailman/listinfo/lvs-users
> or, via email, send a message with subject or body 'help' to
> lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
>
> You can reach the person managing the list at
> lvs-users-owner@xxxxxxxxxxxxxxxxxxxxxx
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lvs-users digest..."
> > Today's Topics:
>
> 1. Re: ldirectord & ser (sip express router) (Malcolm Turnbull)
> 2. Re: ldirectord & ser (sip express router)
> (Graham David Purcocks M.A.(Oxon.))
> > From: Malcolm Turnbull <malcolm@xxxxxxxxxxxxxxxx>
> Subject: Re: ldirectord & ser (sip express router)
> Date: Thu, 16 Jun 2005 09:24:08 +0100
> To: "LinuxVirtualServer.org users mailing list."
> <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
>
> Jack,
>
> I came across this a while ago as well with UDP a DNS check works,
> but no other UDP connect checks seemed to (i.e. not port 53).
> I ran into this while trying to do NFS.
>
> Aa a work around you can specify a checkport and do a TCP health check
> instead,.
>
> I think its a small bug (but don't take my word for it...)
>
>
>
>
> Jack Wei wrote:
>
> >hi,
> >
> >I'm trying to set up a cluster of ser boxes using ultramonkey. i want
> >ldirectord to detect if any of the ser boxes is down, but am not able to set
> it
> >up properly.
> >
> >Here's my ldirector.cf:
> >
> >checktimeout=10
> >checkinterval=2
> >autoreload=no
> >logfile="local0"
> >quiescent=yes
> >
> >virtual=10.1.201.189:5060
> > real=10.1.201.191:5060 gate
> > real=10.1.201.193:5060 gate
> > scheduler=wlc
> > protocol=udp
> ># checktype=connect
> > persistent=600
> >
> >
> >Using the above configuration, ipvsadm reports the real servers are up even
> if
> >they aren't. If i enable "checktype=connect", ipvsadm reports the real
> servers
> >are always down.
> >
> >
> >
>
>
> --
> Regards,
>
> Malcolm Turnbull.
>
> > From: "Graham David Purcocks M.A.(Oxon.)" <grahamp@xxxxxxxxxxxxx>
> Subject: Re: ldirectord & ser (sip express router)
> Date: Thu, 16 Jun 2005 09:48:07 +0100
> To: "LinuxVirtualServer.org users mailing list."
> <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
>
> Its not a bug, per se, its just not implemented. There is no UDP connect
> code in ldirectord. I tried to add it while I was bored, but failed. I'm
> not even sure you can as there is no connection established with UDP,
> but its been a while since I did this stuff so I may be wrong.
>
> Graham
>
> On Thu, 2005-06-16 at 09:24, Malcolm Turnbull wrote:
> > Jack,
> >
> > I came across this a while ago as well with UDP a DNS check works,
> > but no other UDP connect checks seemed to (i.e. not port 53).
> > I ran into this while trying to do NFS.
> >
> > Aa a work around you can specify a checkport and do a TCP health check
> > instead,.
> >
> > I think its a small bug (but don't take my word for it...)
> >
> >
> >
> >
> > Jack Wei wrote:
> >
> > >hi,
> > >
> > >I'm trying to set up a cluster of ser boxes using ultramonkey. i want
> > >ldirectord to detect if any of the ser boxes is down, but am not able to
> set it
> > >up properly.
> > >
> > >Here's my ldirector.cf:
> > >
> > >checktimeout=10
> > >checkinterval=2
> > >autoreload=no
> > >logfile="local0"
> > >quiescent=yes
> > >
> > >virtual=10.1.201.189:5060
> > > real=10.1.201.191:5060 gate
> > > real=10.1.201.193:5060 gate
> > > scheduler=wlc
> > > protocol=udp
> > ># checktype=connect
> > > persistent=600
> > >
> > >
> > >Using the above configuration, ipvsadm reports the real servers are up
> even if
> > >they aren't. If i enable "checktype=connect", ipvsadm reports the real
> servers
> > >are always down.
> > >
> > >
> > >
> --
> > _______________________________________________
> lvs-users mailing list
> lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> http://www.in-addr.de/mailman/listinfo/lvs-users
>
Jack Wei
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|