Hello Ilo, the version of clusterip coming with centos5 has a bug in reference counting. You have to use a newer kernel version or you apply the patch by hand. You can reproduce the bug by adding a rule and then delete the rule - the kernel will crash. See: http://lists.opensuse.org/opensuse-bugs/2007-04/msg01420.html
This problem is known by the kernel developer and fixed with kernel 2.6.21 and later. For your problem you can use the patch and self compile this module! Martin -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Ilo Lorusso Gesendet: Donnerstag, 11. Oktober 2007 13:42 An: General Linux-HA mailing list Betreff: Re: [Linux-HA] my installation of ClusterIP Thanks for your responce if I dont put it in how do I get IPaddr2 to put it in when heartbeat initializes? as its not doing so at the moment. I see do have this script by default /ha.d/resource.d/IPaddr2 Oh and Just to let u know I have got this working on CentOS 5, I see you were asking, in the guide but I had to recomplile the iptables userland rpm and include CLUSTERIP in the extentions directory makefile On 10/11/07, Michael Schwartzkopff <[EMAIL PROTECTED]> wrote: > > Am Donnerstag, 11. Oktober 2007 12:31 schrieb Ilo Lorusso: > > Hi , > > > > > > ive been following the http://www.linux-ha.org/ClusterIP > > > > and want to install a two node cluster as shown in the guide .. > > > > ive manged to get it up and going but have a few kinks to iron out.. > > > > I ip alias both servers as directed and add the following command in on > > both servers , > > > > iptables -I INPUT -d 172.20.128.112 -i eth0 -p icmp -j CLUSTERIP \ > > --new --clustermac 01:02:03:04:05:06 --total-nodes 2 \ > > --local-node 1 --hashmode sourceip > > This is only a test if the CLUSTERIP target is compiled into your kernel. > Normally this command is executed in the IPaddr2 agent of heartbeat. No > need > to run it manually. > > > > start heartbeat configured as closey matched to the documentions.. > > I can ping my virtual and get a responce and see I > > I can see that I recieve responces from both servers so it looks like > > active/active loadsharing is working.. > > > > now, if I pull a network cable out and put it back, I notice > > > > that Heatbeat adds this iptables command to both servers > > > > iptables -A INPUT -d 172.69.128.112 -i eth0 -j CLUSTERIP --new > --hashmode > > sourceip-sourceport --clustermac b1:07:84:ab:56:34 --total-nodes 2 > > --local-node 2 --hash-init 0 > > > > and randomly either one or both nodes crash with a kernel panics.. and > > mentions ipt_CLUSTERIP > > any answers around this? on why it kernel panics? > > The CLUSTERIP target of iptables is still marked experimental. So > especially > using that command several times on one node without deleting the rule on > the > node between two commands is not very welcomed by hte kernel. Please > report > reproducable bugs of the CLUSTERIP target to the maintainers of the > according > module of iptables. As far a I know Harald Welte was responsible for it. > > But first try using only heartbeat and do NOT add the commands manually > before. Hope that help. Otherwise mail me or the list. > > -- > Dr. Michael Schwartzkopff > MultiNET Services GmbH > Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany > Tel: +49 - 89 - 45 69 11 0 > Fax: +49 - 89 - 45 69 11 21 > mob: +49 - 174 - 343 28 75 > > mail: [EMAIL PROTECTED] > web: www.multinet.de > > Sitz der Gesellschaft: 85630 Grasbrunn > Registergericht: Amtsgericht München HRB 114375 > Geschäftsführer: Günter Jurgeneit, Hubert Martens > > --- > > PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B > Skype: misch42 > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
