Am Dienstag, 9. Dezember 2008 16:54 schrieb Tim Verhoeven:
> Hi,
>
> I'm using the IPaddr2 script in clone mode to manage a 2 node cluster
> that uses CLUSTERIP. But I think in this mode that the IPaddr2 script
> has a small bug, namely this :
>
> # diff -u IPaddr2.orig IPaddr2
> --- IPaddr2.orig        2008-12-09 16:15:36.000000000 +0100
> +++ IPaddr2     2008-12-09 16:45:06.000000000 +0100
> @@ -596,6 +596,8 @@
>  }
>
>  ip_start() {
> +       ip_init
> +
>         if [ -n "$IP_CIP" ]; then
>             # Cluster IPs need special processing when the first bucket
>             #  is added to the node... take a lock to make sure only one
> @@ -604,8 +606,6 @@
>             ocf_release_lock_on_exit $CIP_lockfile
>         fi
>
> -       ip_init
> -
>         #
>         #       Do we already service this IP address?
>         #
>
> I presume the ip_init needs to be called before the check if CLUSTERIP
> is being used and the locking is called. As it is in the ip_stop
> function.
>
> I'm using version heartbeat-resources-2.99.2-6.1.
>
> Regards,
> Tim

Hi,

Sorry for my post yesterday. I did not have access to a cluster.

Now I read the script again and fully agree with you.

@Andrew: Please patch the script.

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