Re: lvs configuration problem...
Jiang <[email protected]>
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <[email protected]> |
Thanks for ur reply! Here is the configuration of ldirectord.conf:
****************************************************
checktimeout=3
checkinterval=1
autoreload=yes
logfile="/var/log/ldirectord.log"
quiescent=yes
virtual=10.226.193.191:80
real=10.226.193.189:80 gate
real=10.226.193.190:80 gate
service=http
request="ldirector.html"
receive="ctestsrv1111111111111111"
scheduler=rr
protocol=tcp
virtual=10.226.193.191:22
real=10.226.193.189:22 gate
real=10.226.193.190:22 gate
#fallback=127.0.0.1 gate
checktype=negotiate
scheduler=rr
#persistent=600
#netmask=255.255.255.255
checkcount=3
protocol=tcp
****************************************************
And I just found another problem... when I restart one server's
network, I got complain of ip conflict... and I seems the ip has been
take over by the LD/Real server...
And my virtual ip also looks a bit strange... you may notice that
eth0:0 has no RX... TX...
eth0 Link encap:Ethernet HWaddr 00:E0:18:06:95:DD
inet addr:10.226.193.189 Bcast:10.226.193.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1290115 errors:0 dropped:0 overruns:0 frame:0
TX packets:1235869 errors:8 dropped:0 overruns:0 carrier:8
collisions:0 txqueuelen:1000
RX bytes:115018166 (109.6 Mb) TX bytes:148713079 (141.8 Mb)
eth0:0 Link encap:Ethernet HWaddr 00:E0:18:06:95:DD
inet addr:10.226.193.254 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth1 Link encap:Ethernet HWaddr 00:02:B3:46:2F:9F
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
I feel totally lost with ultramonkey... hope you could help me out...
- Jiang -
On 6/4/06, Mustafa A. Hashmi <[email protected]> wrote:
> On 6/2/06, Jiang <[email protected]> wrote:
> > Hi,
> >
> > I am trying to set up a LVS system through ultramonkey recently, I am
> > following "Streamline High Availability and Load Balancing"
> > [url=http://www.ultramonkey.org/3/topologies/sl-ha-lb-eg.html] step by
> > step, and the service I am testing on is HTTP, but eventually I still
> > can't get it work. The system i am working on is Linux EL AS3 with
> > information show by "uname -a": Linux ctestsrv1 2.4.21-40.ELsmp #1 SMP
> > Thu Feb 2 22:22:39 EST 2006 i686 i686 i386 GNU/Linux
>
> Please also have a look at:
> http://www.debianhelp.co.uk/ultramonkey.htm. It may shed some more
> light on your issue.
>
> > ipvsadm -L -n shows:
> > IP Virtual Server version 1.0.8 (size=65536)
> > Prot LocalAddress:Port Scheduler Flags
> > -> RemoteAddress:Port Forward Weight ActiveConn InActConn
> > TCP 10.226.193.191:22 rr
> > -> 10.226.193.190:22 Route 1 0 0
> > -> 10.226.193.189:22 Local 1 0 0
> > TCP 10.226.193.191:80 rr
> > -> 10.226.193.190:80 Route 0 0 0
> > -> 10.226.193.189:80 Local 1 0 0
> >
> > the other LD/real server also shows the similar things...
> >
>
> Can you post your ldirector.cf file? With route set to 0 for the
> target server, the HB service is not receiving the desired result for
> it's request. Are you sure the receive= line from ldirector is getting
> what it's requesting? See the web server logs if a request comes in
> from the HA service.
>
> Regards,
> --
> Mustafa A. Hashmi
> [email protected]
> [email protected]
>
>
> --
> 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.
>
>
--
Regards,
Jiang Lei
--
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.