Re: [jgroups-users] Auto Discovery Question

Questions/problems related to using JGroups <[email protected]>
Newsgroups gmane.comp.java.javagroups.general
Message-ID <CAOQmiF5Ey0ZtV7+E9t+=fAq76CqYiwrbsmKK4aJDCYeU9QHwWg@mail.gmail.com>
Yes, I have tried bind_addr, didn't help. And I think the infrastructure
supports IPv6, but I'll try your suggestion anyway.
Also, I've switched to TCP from UDP, and it works on the Data Center just
fine. I had to add the hosts into the configuration though. So, the cluster
is not totally dynamic, but as long as I have some seeds, it looks like it
sniffs out all other nodes. I think I can live with that.

But the strange thing, that locally it stopped working, when I run 2
processes on the same machine but different ports. Somehow the nodes don't
see each other. But I'll dig more, maybe there is something wrong in my set
up.

Thank you,
Eugene


On Thu, Mar 31, 2016 at 10:16 AM, Questions/problems related to using
JGroups <[email protected]> wrote:

> Hello,
>
> Have you tried *bind_addr* property ?
>
> If your infrastructure does not support IPv6, please disable it by adding
> the following property in the JVM arguments -Djava.net.preferIPv4Stack=true.
>
> 2016-03-25 22:39 GMT+01:00 Questions/problems related to using JGroups <
> [email protected]>:
>
>> Hello,
>> my cluster does a simple thing:
>> - a node is asking everybody - "do you have this thing?"
>> - if yes - "give it to me"
>> - if not - "I'll make it myself"
>>
>> It is all done via RpcDispatcher and everything works well on my local
>> machine, when I'm running all the nodes locally.
>>
>> Once I've deployed it on the Virtual Machines in Data Center (Digital
>> Ocean), my nodes stopped seeing each other.
>>
>> I've tried to troubleshoot by following the documentation, but I'm no
>> Linux/LAN expert.
>> I guess I need to set up my Linux (CentOS) to support unicast, or
>> something like this.
>> Could you point me to some direction, where I could find exactly what I
>> need? Or better if there is a step by step documentation of how to enable
>> Linux Cluster work with JGroups?
>>
>> BTW: I'm using default configuration udp.xml, maybe I could use some
>> other config file, which would make my life easier running the cluster in a
>> Data Center?
>>
>> Thanks in advance,
>> Eugene
>>
>>
>> ------------------------------------------------------------------------------
>> Transform Data into Opportunity.
>> Accelerate data analysis in your applications with
>> Intel Data Analytics Acceleration Library.
>> Click to learn more.
>> http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
>> _______________________________________________
>> javagroups-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/javagroups-users
>>
>>
>
>
> --
>
>
>
> ------------------------------
> This message, including any attachments, may contain confidential and
> privileged information for the sole use of the intended recipient(s).
> Review, use, distribution or disclosure by others is strictly prohibited.
> If you are not the intended recipient, or authorized to receive information
> for the recipient, please contact the sender by reply email, and delete all
> copies of this message. Thank you.
> Please do not print this e-mail unless you really need to.
>
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
> _______________________________________________
> javagroups-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/javagroups-users
>
>

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140

_______________________________________________
javagroups-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/javagroups-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.