[Linux-HA] my installation of ClusterIP
sneak147 at gmail.com
Thu Oct 11 05:42:02 MDT 2007
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
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 <misch at multinet.de> 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
> 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 220.127.116.11 -i eth0 -j CLUSTERIP --new
> > 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
> using that command several times on one node without deleting the rule on
> node between two commands is not very welcomed by hte kernel. Please
> reproducable bugs of the CLUSTERIP target to the maintainers of the
> 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: misch at multinet.de
> 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
> Linux-HA at lists.linux-ha.org
> See also: http://linux-ha.org/ReportingProblems
More information about the Linux-HA