problem when deploying CounterServiceDemo in a cluster

37 views
Skip to first unread message

Cheng Li

unread,
Jun 5, 2015, 9:45:53 AM6/5/15
to jgroup...@googlegroups.com
Hi all,

I am able to run the CounterServiceDemo in a single machine with three instances, namely A, B, and C. However, when I deployed the same experiment in my local cluster within three distinct machines, each machine cannot join the multicast group. Have you guys tested this feature before with jgroups-raft? I am able to test the multicast with the jgroups jar.

Thanks,
   Cheng

Cheng Li

unread,
Jun 5, 2015, 12:47:47 PM6/5/15
to jgroup...@googlegroups.com
Hi all,

I solved the problem by setting ip_ttl to a positive number. The following sentence is from the jgroups-raft site to describe the meaning of ip_ttl.

The time-to-live (TTL) for multicast datagram packets. Default is 8

When downloading the source code from the github site, the value of ip_ttl is set to 0.

Thanks,
   Cheng

Bela Ban

unread,
Jun 7, 2015, 12:55:01 PM6/7/15
to Cheng Li, jgroup...@googlegroups.com
Sorry for the late reply (was out of office last week) and this.
I'll change the ip_ttl when I get back home.
Thanks,

--
You received this message because you are subscribed to the Google Groups "jgroups-raft" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jgroups-raft...@googlegroups.com.
To post to this group, send email to jgroup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jgroups-raft/78ec765b-5b0d-4dae-9109-48d0008c16c8%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Bela Ban

unread,
Jun 15, 2015, 3:10:08 AM6/15/15
to jgroup...@googlegroups.com
Hi Cheng,

sorry for the delay, I was out of town for the last 2 weeks. I changed
this in jgroups-raft by setting UDP.ip_ttl to 8 by default.

On 05/06/15 18:47, Cheng Li wrote:
> Hi all,
>
> I solved the problem by setting ip_ttl to a positive number. The
> following sentence is from the jgroups-raft site to describe the meaning
> of ip_ttl.
>
> The time-to-live (TTL) for multicast datagram packets. Default is 8
>
>
> When downloading the source code from the github site, the value of
> ip_ttl is set to 0.
>
> Thanks,
> Cheng
>
> On Friday, June 5, 2015 at 2:45:53 PM UTC+1, Cheng Li wrote:
>
> Hi all,
>
> I am able to run the CounterServiceDemo in a single machine with
> three instances, namely A, B, and C. However, when I deployed the
> same experiment in my local cluster within three distinct machines,
> each machine cannot join the multicast group. Have you guys tested
> this feature before with jgroups-raft? I am able to test the
> multicast with the jgroups jar.
>
> Thanks,
> Cheng
>
> --
> You received this message because you are subscribed to the Google
> Groups "jgroups-raft" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to jgroups-raft...@googlegroups.com
> <mailto:jgroups-raft...@googlegroups.com>.
> To post to this group, send email to jgroup...@googlegroups.com
> <mailto:jgroup...@googlegroups.com>.
> <https://groups.google.com/d/msgid/jgroups-raft/78ec765b-5b0d-4dae-9109-48d0008c16c8%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

--
Bela Ban, JGroups lead (http://www.jgroups.org)

Reply all
Reply to author
Forward
0 new messages