[ULTRAMONKEY-USERS] ultramonkey load balancing

Abraham olivares Varela abraham_ov at yahoo.com.mx
Thu Aug 23 20:43:09 EST 2007


Thanks for yous answer

another question  i understood than heartbeat starts ldirecord but when i checked the status of heartbeat. 

# /etc/init.d/heartbeat status
heartbeat is stopped. No process

I configured heartbeat for High Availability but for load balancing i used the following link to do it and it didn't say nothing about heartbeat's conf.

http://www.ultramonkey.org/3/topologies/lb-eg.html

how can i test if my load balancind conf is working properly?

Thanks and Best Regards
 Abraham OLIVARES



diego <diego131334 at yahoo.it> escribió:  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="abraham_ov at yahoo.com.mx"
> 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
> Ultramonkey-users at vergenet.net
> http://lists.vergenet.net/listinfo/ultramonkey-users


       
---------------------------------

¡Sé un mejor ambientalista!
Encuentra consejos para cuidar el lugar donde vivimos en:
http://mx.yahoo.com/promos/mejorambientalista.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vergenet.net/pipermail/ultramonkey-users/attachments/20070823/facccefe/attachment.htm 


More information about the Ultramonkey-users mailing list