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