Hi everybody,
I'm running a Debian Etch two node ha cluster with the topology of streamline high availability and load balancing with ldirectord. I followed the ultramonkey suggested configuration as explained here : http://www.ultramonkey.org/3/topologies/sl-ha-lb-eg.html. For each cluster node there is a loopback interface named lo:0 with the same address of the virtual balanced service (but with 32bit netmask). This interface is configured with a pre-up script that sets the ARP advertisements restrictions with sysctl.
This is the my haresources :

node-1 LVSSyncDaemonSwap::master ldirectord::/etc/ha.d/ldirectord.cf IPaddr2::<VIRTUALIP>/27/eth0

When i start up the heartbeat service everything works, and services are correctly balanced on the two nodes. The strange thing is that i can't see the virtual IP associated with the eth0 device with the "ip addr show" command, i see only the lo:0 address. And in fact the problem is that when i try to relocate the service from one node to another these are the logs :

ResourceManager[26641]: 2008/10/15_10:50:30 info: Retrying failed stop operation [IPaddr2::<VIRTUALIP>/27/eth0] ResourceManager[26641]: 2008/10/15_10:50:30 info: Running /etc/ha.d/resource.d/IPaddr2 <VIRTUALIP>/27/eth0 stop IPaddr2[28237]: 2008/10/15_10:50:30 INFO: /sbin/ip -f inet addr delete <VIRTUALIP> dev eth0
IPaddr2[28155]: 2008/10/15_10:50:30 ERROR: IPaddr2 Generic error
ResourceManager[26641]: 2008/10/15_10:50:30 ERROR: Return code 1 from /etc/ha.d/resource.d/IPaddr2
IPaddr2[28289]: 2008/10/15_10:50:30 INFO: IPaddr2 Resource is stopped
ResourceManager[26641]: 2008/10/15_10:50:30 ERROR: Resource script for IPaddr2::<VIRTUALIP>/27/eth0 probably not LSB-compliant. ResourceManager[26641]: 2008/10/15_10:50:31 WARN: it (IPaddr2::<VIRTUALIP>/27/eth0) MUST succeed on a stop when already stopped ResourceManager[26641]: 2008/10/15_10:50:31 WARN: Machine reboot narrowly avoided!

So what the problem may be ? Note that even if the errors are logged, the service still works and balance on the two cluster node.

Thanks for your help,

--
RaSca
"Il regno dei cieli e' simile ad un mercante che va in cerca di
perle preziose. Trovatane una di grande valore va, vende tutti
i suoi averi e la compra" - Gesu' Cristo
http://web.tiscali.it/rascasoft

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to