String initialHostList = ClusterHelper.getClusterPropertyValue(cluster, INITIAL_HOST_LIST);
if (initialHostList != null)
props.put(ServiceProviderConfigurationKeys.VIRTUAL_MULTICAST_URI_LIST.toString(), initialHostList);
GMSFactory.setGMSEnabledState(clusterName, Boolean.TRUE);
GroupManagementService gms = (GroupManagementService) GMSFactory.startGMSModule(NODE_AGENT, clusterName, MemberType.WATCHDOG, props);
gms.join();
gmsMap.put(clusterName, gms);
}
} catch (Exception e) {
getLogger().log(Level.INFO, "Exception while joining ", e);