users@shoal.java.net

Shoal across subnets

From: Jerry Raj <jerryr_at_sun.com>
Date: Fri, 10 Jul 2009 15:43:24 +0530

Hi Folks,
I've been able to get shoal working across subnets as described in [1]. In that
document, it states that VIRTUAL_MULTICAST_URI_LIST should be the same across
all peers. This may not be feasible, since the lifetime of the group may be
quite long and peers may come and go across different subnets. Each time a peer
shows up in a new subnet, it may be possible to discover (out-of-band) the
existing R&R nodes, but the existing R&R nodes will not add this new peer to
their VIRTUAL_MULTICAST_URI_LISTs.
In my testing, I could actually see that the above scenario actually worked
fine, ie even when some R&R nodes do not know about all the other R&R nodes. Can
I rely on this behavior?
In a related question, I could even see group membership and messaging working
fine across subnets when VIRTUAL_MULTICAST_URI_LIST was not set for non-R&R
nodes. Is this a defined behavior?

-Jerry
[1]
http://wikis.sun.com/display/shoal/Shoal+How-To+-+Configuring+for+cross+subnet+support