Re: [jgroups-users] Auto Discovery Question

Questions/problems related to using JGroups <[email protected]>
Newsgroups gmane.comp.java.javagroups.general
Message-ID <[email protected]>
http://www.jgroups.org/manual/index.html#DiscoveryProtocols

On 26/03/16 12:15, Questions/problems related to using JGroups wrote:
> I have more development of the story on my side.
> I was running the tests on my nodes, and the only way I managed them to
> work was this:
>
> Receiver:
> java -cp jgroups-all.jar org.jgroups.tests.McastReceiverTest -mcast_addr
> 224.0.0.0 -port 45588
>
> Sender:
> java -cp ../ccio-image.jar org.jgroups.tests.McastSenderTest -mcast_addr
> [IP_OF_RECEIVER] -port 45588
>
> Well, it doesn't look right, so I've contacted the customer support, and
> got the response:
> ````
> There has been a response to your ticket:
>
> Hello,
>
> Thank you for getting in contact with us via this ticket!
>
> I apologize for any inconveniences this may cause you however our
> droplets do not support Multicast IPs. It would be dropped at the
> hypervisor level, and woulld not be able to be utilized.
> ````
>
> Looks like I cannot use multicast at all. But I still need autodiscovery
> in some way. The crucial part of the cluster idea is the ability
> for nodes to find each other with minimum configuration. So I thought,
> maybe there is a way to provide some seed hosts, which would provide the
> information about all nodes to the joined node? Or maybe there is better
> way to do this?
> Ideally, I'd like the nodes just to start up and find
> the cluster members automatically.
>
> Thanks,
> Eugene
>
>
> On Fri, Mar 25, 2016 at 5:39 PM, Eugene Strokin <[email protected]
> <mailto:[email protected]>> wrote:
>
>     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
>

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


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