Dear Joe,
Thanks for your reply.
I have already set both machines with the same multicast address and
port (by using the property parameter by calling
GMSFactory.startGMSModule) and they are already under the same subnet.
Unfortunately, they still cannot detect each other after the network
connected. Do I miss any setting?
The following is the program fragment to join the group.
Properties props = new Properties();
props.put(ServiceProviderConfigurationKeys.LOOPBACK.toString(), "true");
props.put(ServiceProviderConfigurationKeys.FAILURE_DETECTION_TIMEOUT.toString(),
"500");
props.put(ServiceProviderConfigurationKeys.FAILURE_VERIFICATION_TIMEOUT.toString(),
"500");
props.put(ServiceProviderConfigurationKeys.FAILURE_DETECTION_RETRIES.toString(),
"2");
props.put(ServiceProviderConfigurationKeys.MULTICASTADDRESS.toString(),
"228.0.0.1");
props.put(ServiceProviderConfigurationKeys.MULTICASTPORT.toString(),
"9800");
GroupManagementService gms = (GroupManagementService)
GMSFactory.startGMSModule("MACHINEA", "TESTGROUP", MemberType.CORE,
props);
gms.join();
Thanks for your help.
Regards,
Tim.Shiu
On 18/11/2011 3:22, Joseph Fialli wrote:
> Tim,
>
> In addition to the same group name, the GMS clients would also have to
> be using the
> same multicast group address and multicast port.
> Lastly, Machine A and B would have to be on the same subnet and UDP
> multicast
> needs to be enabled for the network and possible switches/routers.
>
> They would find each other over UDP multicast and form a group when
> network connectivity returns.
>
> -Joe Fialli
>
> On 11/17/11 5:46 AM, tim.shiu_at_ssc-ltd.com wrote:
>> Dear All,
>>
>> I would like to ask if there is any mechanism in Shoal that can merge 2
>> separate groups (with same group name) into 1 after they join to the
>> same network?
>>
>> e.g.
>> Machine A and B join group separately without connect to network. After
>> they create their own group with the same name, plug the network wire
>> and connect them together. Will they merge into the same group.
>>
>> Thanks.
>>
>> Regards,
>> Tim.Shiu
>
>