ldirectord doesn't bring up or down the interface. You will need to bring it up manually. If you use heartbeat that uses shell scripts to bring up/down the interface.
Sameer On 8/24/07, Abraham olivares Varela <[EMAIL PROTECTED]> wrote: > Hi everybody > > i try to configure 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.64: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=on > #checkport=80 > #request="index.html" > #receive="Test Page" > #virtualhost=www.x.y.z > > ldirectord is running but i don't know why it didn't create the Virtual IP > > # /sbin/ip addr sh > > 1: lo: <LOOPBACK,UP,LOWER_UP> 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: <BROADCAST,MULTICAST,UP,LOWER_UP> 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: <NOARP> mtu 1480 qdisc noop > link/sit 0.0.0.0 brd 0.0.0.0 > > Thanks and Best Regards > Abraham OLIVARES > > --------------------------------- > > ¡Sé un mejor ambientalista! > Encuentra consejos para cuidar el lugar donde vivimos en: > http://mx.yahoo.com/promos/mejorambientalista.html > _______________________________________________ > LinuxVirtualServer.org mailing list - [email protected] > Send requests to [EMAIL PROTECTED] > or go to http://lists.graemef.net/mailman/listinfo/lvs-users > _______________________________________________ LinuxVirtualServer.org mailing list - [email protected] Send requests to [EMAIL PROTECTED] or go to http://lists.graemef.net/mailman/listinfo/lvs-users
