[ULTRAMONKEY-USERS] load balancing virtual ip
Abraham olivares Varela
abraham_ov at yahoo.com.mx
Fri Aug 24 20:22:47 EST 2007
Hi
please take a look
# tail /var/log/ldirectord.log
[Fri Aug 24 11:56:50 2007|ldirectord|5414] Quiescent real server: 192.168.1.66:80 (192.168.1.64:80) (Weight set to 0)
[Fri Aug 24 11:56:50 2007|ldirectord|5414] Quiescent real server: 192.168.1.65:80 (192.168.1.64:80) (Weight set to 0)
[Fri Aug 24 11:56:50 2007|ldirectord|5414] Restored real server: 192.168.1.66:80 (192.168.1.64:80) (Weight set to 1)
[Fri Aug 24 11:56:50 2007|ldirectord|5414] Deleted fallback server: 127.0.0.1:80 (192.168.1.64:80)
[Fri Aug 24 11:56:50 2007|ldirectord|5414] Restored real server: 192.168.1.65:80 (192.168.1.64:80) (Weight set to 1)
[Fri Aug 24 12:02:08 2007|ldirectord|5484] Invoking ldirectord invoked as: /usr/sbin/ldirectord status
[Fri Aug 24 12:02:08 2007|ldirectord|5484] ldirectord for /etc/ha.d/ldirectord.cf is running with pid: 5414
[Fri Aug 24 12:02:08 2007|ldirectord|5484] Exiting from ldirectord status
[Fri Aug 24 12:04:38 2007|ldirectord|5500] Invoking ldirectord invoked as: /usr/sbin/ldirectord reload
[Fri Aug 24 12:04:38 2007|ldirectord|5414] Reloading Linux Director Daemon config on signal
ldirectord is started and heartbeat is stopped wich is normal.
but i don't know why the virtual IP in not there;
Thanks
Abraham OLIVARES
diego <diego131334 at yahoo.it> escribió: mmmh... what logfile="/var/log/ldirectord.log"says?
or ha.log...
I'm not sure... but look this sequence of commands for Debian:
usr/sbin/update-rc.d heartbeat start 75 2 3 4 5 . stop 05 0 1 6 .
/usr/sbin/update-rc.d -f heartbeat remove
/etc/init.d/heartbeat stop
/etc/init.d/ldirectord start
In this case (http://www.ultramonkey.org/3/topologies/lb-eg.html), may be the opposite of
what I told you before: I was referring to my config, where heartbeat start ldirector, but
here ldirector starts and then heartbeat come started...
Are you using CentOS ?
Diego
Abraham olivares Varela ha scritto:
> Hi Diego,
>
> As i told you i used the configration, ldirectord is running but i don't
> know why it didn't create the Virtual IP.
>
> Please take a look
>
> # /sbin/ip addr sh
>
> 1: lo: mtu 16436 qdisc noqueue
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
> inet6 ::1/128 scope host
> valid_lft forever preferred_lft forever
>
> 2: eth0:
mtu 1500 qdisc pfifo_fast
> qlen 1000
> link/ether 00:19:db:75:d2:27 brd ff:ff:ff:ff:ff:ff
> inet 192.168.1.66/24 brd 192.168.1.255 scope global eth0
> *****normally here there will be the virtaul IP************
> inet6 fe80::219:dbff:fe75:d227/64 scope link
> valid_lft forever preferred_lft forever
>
> 3: sit0: mtu 1480 qdisc noop
> link/sit 0.0.0.0 brd 0.0.0.0
>
> Thanks and Best Regards
> Abraham OLIVARES
>
> */diego /* escribió:
>
> as you wrote, the procedure at the link below explicitly stop
> Heartbeat and start
> ldirector, so it is normal to have ha stopped!
>
> for load balancing alone, heartbeat is stopped, of course.
>
> In your case Ldirector starts at the boot (/etc/init.d/ldirector
> start) is not started by
> heartbeat.
>
> To test: the call to the virtual node, must work :)
>
> If you meant to test HOW the algorithm work , i don't know...
>
> Diego
>
> Abraham olivares Varela ha scritto:
> >
> > 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
> >
> >
> >
>
>
> ------------------------------------------------------------------------
>
> ¡Sé un mejor fotógrafo!
> Perfecciona tu técnica y encuentra las mejores fotos en:
> http://mx.yahoo.com/promos/mejorambientalista.html
---------------------------------
¡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/20070824/7fbac0b4/attachment.htm
More information about the Ultramonkey-users
mailing list