|
Re: One group across LAN's: msg#00064java.javagroups.general
Hi Bela, I do have another question related to the topic now that I am trying to implement it. How do I best set up the TCP group between the two separate locations? I mean, with the TCP protocol layers, you have to have well know hosts on either side so that they can connect to each other. I have two locations, each has for example 10 servers using a internal LAN address. The firewalls do the NAT so that each location has only one external "official" IP address. How would I have to set it up so that the two coordinators as discussed of the local LAN UDP multicast groups (using view[0] as you explained below) can join a TCP group across the internet without them knowing each other really? I assume, a gossip server outside the firewall may help, but then we are back to the single point of failure scenario. I am confused as how to achieve this? I assume this is along the G2G project question you have been asked just recently. Thanks and best regards, Lars Lars George wrote: > Thanks Bela, that is what I need to get me started. > > Bela Ban wrote: >> >> Lars George wrote: >>> Hi Bela, >>> >>> Thank you for the explanation. One question I have though, I do >>> understand it that way that I have to configure a server in each >>> location to relay the messages, ie. when it receives a multicast message >>> the listener replicates the message and sends it out through the TCP >>> channel so that the other location gets the message. >>> >>> So when you say "doing it manually" that is what you refer to? >> yes >> >>> And how >>> could I avoid having a single point of failure in this case? Since one >>> server is handling the TCP group in either location, what does that mean >>> if one of them fails? Is there a way to dynamically negotiate in each >>> location which server is doing the relaying? >> Simply handle the viewChange(): if local_addr equals view[0], then do >> the relaying, otherwise not. So this means only the coordinator does the >> relaying. >> > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > javagroups-users mailing list > javagroups-users@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/javagroups-users > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [ERROR] NAKACK.handleXmitReq(), Gianluca Puggelli |
|---|---|
| Next by Date: | Re: One group across LAN's, Bela Ban |
| Previous by Thread: | JGroups 2.2.9 SP4, Bela Ban |
| Next by Thread: | Re: One group across LAN's, Bela Ban |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |