Am Montag, 14. Juni 2010 09:05:10 schrieb Dejan Muhamedagic:
> Hi,
>
> On Sun, Jun 13, 2010 at 04:36:36PM +0200, Michael Schwartzkopff wrote:
> > Am Sonntag, 13. Juni 2010 16:28:37 schrieb Vadym Chepkov:
> > > On Jun 13, 2010, at 10:18 AM, Michael Schwartzkopff wrote:
> > > > Am Sonntag, 13. Juni 2010 15:07:36 schrieb Vadym Chepkov:
> > > > (...)
> > > >
> > > >> The whole point of my posting was: it does not get the same IP, not
> > > >> sure how you missed it. If you took a look into
> > > >> /usr/lib/ocf/resource.d/heartbeat/IPaddr2, you would see
> > > >>
> > > >> case "$OCF_RESKEY_unique_clone_address" in
> > > >>  true|TRUE|True|yes|YES|Yes|1)
> > > >>    prefix=`echo $OCF_RESKEY_ip | awk -F. '{print $1"."$2"."$3}'`
> > > >>    suffix=`echo $OCF_RESKEY_ip | awk -F. '{print $4}'`
> > > >>    suffix=`expr ${OCF_RESKEY_CRM_meta_clone:-0} + $suffix`
> > > >>    OCF_RESKEY_ip="$prefix.$suffix"
> > > >>    ;;
> > > >>  *) ;;
> > > >> esac
> > > >>
> > > >> And again, my posting clearly showed configured ip 10.10.10.22
> > > >> versus assigned - 10.10.10.23.
> > > >
> > > > I see.
> > > >
> > > > What happens if you remove the  unique_clone_address attribute or set
> > > > it to false?
> > >
> > > then, of cause,  it will be the same everywhere and iptables rules need
> > > to be applied.
> > >
> > > > Indeed it should not use the CLUSTERIP target if
> > > > unique_clone_address="true" and create instead a set of consecutive
> > > > IP addresses in the nodes. I did not know about this feature.
> > > >
> > > > If it does not work, it seems to be a bug.
> > >
> > > It doesn't
> >
> > http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
> Should be linux-ha/Resource Agents.
>
> This feature has been implemented in 2008. How did it ever work?
>
> Thanks,
>
> Dejan

Don't know. I implemented the "normal" way. I don't know who did the 
unique_clone_address attribute and if it ever was tested.

Greetings,

-- 
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