[Linux-HA] my installation of ClusterIP

Ilo Lorusso sneak147 at gmail.com
Thu Oct 11 06:04:26 MDT 2007


oh and am I ment to initialse my cluster address
ifconfig eth0:0 172.20.128.112 , because when I removed my iptables
statement and restarted heartbeat, I did not get any iptable command from
heartbeat and i seam to have lost the

aliases address I have put in on both nodes?




On 10/11/07, Ilo Lorusso <sneak147 at gmail.com> wrote:
>
> 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 <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
> > 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: 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
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
> >
>
>



More information about the Linux-HA mailing list