Re: ultramonkey load balancing
diego <[email protected]> Thu, 23 Aug 2007 12:30:04 +0200
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <[email protected]> |
From your config file it seem you don't want to check the status of the real node. So the correct parameters are: > # Sample for an http virtual service > virtual=192.168.1.68:80 > fallback=127.0.0.1:80 > real=192.168.1.65:80 masq > real=192.168.1.66:80 masq > service=http > scheduler=rr > protocol=tcp > checktype=on <------------------------- on instead of negotiate. Diego Abraham olivares Varela ha scritto: > Hi everybody > > i try to configure ultramonkey and ldirectord in order to build a load > balancing cluster. > > i used the following link to do it: > http://www.ultramonkey.org/3/topologies/lb-eg.html > > my ldirectord.conf > > # Global Directives > checktimeout=10 > checkinterval=2 > #fallback=127.0.0.1:80 > autoreload=no > logfile="/var/log/ldirectord.log" > logfile="local0" > emailalert="[email protected]" > emailalertfreq=5 > emailalertstatus=all > quiescent=yes > > # Sample for an http virtual service > virtual=192.168.1.68:80 > fallback=127.0.0.1:80 > real=192.168.1.65:80 masq > real=192.168.1.66:80 masq > service=http > request="index.html" > #receive="Test Page" > #virtualhost=some.domain.com.au > scheduler=rr > #persistent=600 > #netmask=255.255.255.255 > protocol=tcp > checktype=negotiate > #checkport=80 > #request="index.html" > #receive="Test Page" > #virtualhost=www.x.y.z > > then > > # /sbin/pvsadm -L -n > > Prot LocalAddress:Port Scheduler Flags > -> RemoteAddress:Port Forward Weight ActiveConn InActConn > TCP 192.168.1.68:80 rr > -> 192.168.1.65:80 Masq 0 0 0 > -> 192.168.1.66:80 Local 0 0 0 > -> 127.0.0.1:80 Local 1 0 0 > > > Is that normal? i don't understad why "weight" is Zero "0" instead of > being "1". > > > maybe i did something wrong > > Please help me > > Thanks and Best Regards > > Abraham OLIVARES > > ------------------------------------------------------------------------ > > ¡Sé un mejor besador! > Comparte todo lo que sabes sobre besos en: > http://mx.yahoo.com/promos/mejorbesador.html > > > ------------------------------------------------------------------------ > > _______________________________________________ > Ultramonkey-users mailing list > [email protected] > http://lists.vergenet.net/listinfo/ultramonkey-users _______________________________________________ Ultramonkey-users mailing list [email protected] http://lists.vergenet.net/listinfo/ultramonkey-users