-
1. Re: Two clusters on same network
ataylor Jun 21, 2012 4:32 AM (in response to ejb3workshop)1 of 1 people found this helpfulNo, the name is just used for other services to look up the discovery group. You will need to change either the address or port for both the broadcast and the discovery groups
-
2. Re: Two clusters on same network
ejb3workshop Jun 21, 2012 6:19 AM (in response to ataylor)That is what I was affraid of. However it seems to be working at the moment with only a different name, which is rather strange. Is there an explanation for this ?
-
3. Re: Two clusters on same network
ataylor Jun 21, 2012 9:02 AM (in response to ejb3workshop)That is what I was affraid of. However it seems to be working at the moment with only a different name, which is rather strange. Is there an explanation for this ?
Nope, apart from coincedence. Just change the address and port like i suggested to gain the desired effects you want
-
4. Re: Two clusters on same network
ejb3workshop Jun 26, 2012 3:48 AM (in response to ejb3workshop)And I only have to change this on the discovery group ?
-
5. Re: Two clusters on same network
ataylor Jun 26, 2012 8:12 AM (in response to ejb3workshop)yes, just use a unique address for each cluster
-
6. Re: Two clusters on same network
zivley Dec 30, 2012 5:19 AM (in response to ataylor)Hi there,
My need is exactly what Alexander didn't want, I want to have two clusters where messages are actually distributing across both of them, and I wanted to make sure if the solution is so simple as just setting the same IP or port on both discovery groups and that's it? Is that a correct way to do it or there is a better way?
I wouldn't want to base my solution on something that works "by mistake"
Thanks in advance
-
7. Re: Two clusters on same network
jbertram Jan 2, 2013 10:59 AM (in response to zivley)Nodes which use discovery groups find each other based on the use of a shared group address and port. Therefore, if two nodes share the same discovery address and port then they should find each other granted the network allows UDP multi-cast traffic between them.