On Fri, Feb 12, 2010 at 10:57 PM, Steven Dake <sd...@redhat.com> wrote:

> On Fri, 2010-02-12 at 15:25 -0700, hj lee wrote:
> > Hi,
> >
> > I set the nodeid in corosync.conf. But this nodeid is ignored when the
> > interface is bound to 127.0.0.1, and nodeid becomes 16777343. This new
> > nodeid confuses the pacemaker. The pacemaker thinks this is new node.
> > So the corosync is connected, but the pacemaker thinks the peer is
> > offline. To fix this issue, the localhost.nodeid should be initialized
> > to the configured nodeid in totemudp_initialize().
> >
> > Patch:
> > +localhost.nodeid = instance->totem_config->node_id;
> >
>
> Ya that is a good suggestion if node_id is defined in the configuration
> file.  Could you work up a patch?
>
> regards
> -steve
>

I attached the patch against flatiron. It's just one line addition.

Thanks
hj



-- 
Peakpoint Service

Cluster Setup, Troubleshooting & Development
kerd...@gmail.com
(303) 997-2823
Index: exec/totemudp.c
===================================================================
--- exec/totemudp.c	(revision 2651)
+++ exec/totemudp.c	(working copy)
@@ -1777,6 +1777,7 @@
 	instance->totemudp_target_set_completed = target_set_completed;
 
 	totemip_localhost (instance->mcast_address.family, &localhost);
+        localhost.nodeid = instance->totem_config->node_id;
 
 	/*
 	 * RRP layer isn't ready to receive message because it hasn't
_______________________________________________
Openais mailing list
Openais@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to