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

Reply via email to