users@shoal.java.net

Re: [Shoal-Users] Cross-Subnet-Support

From: Shreedhar Ganapathy <Shreedhar.Ganapathy_at_Sun.COM>
Date: Mon, 07 Jul 2008 08:56:53 -0700

Hi Mike

Mike Wannamaker wrote:
>
> Hi Shreedhar
>
>
>
> I'm trying to test the cross-subnet support.
>
> It seems really easy when reading the document below.
>
> Two properties set and away you go.
>
> However I have done this and trying to get two machines clustered from
> different subnets it don't seem to work?
>
>
>
> Basically I just added this to my test application?
>
>
>
>
> _properties.put(ServiceProviderConfigurationKeys.IS_BOOTSTRAPPING_NODE,
> "true");
>
> _properties.put(
> ServiceProviderConfigurationKeys.VIRTUAL_MULTICAST_URI_LIST,
> "tcp://10.6.2.89:5200");
>
> //initialize Group Management Service
>
> m_GMS = initializeGMS(_properties);
>
>
>
> 10.6.2.89 is my local machine here. Does it matter if bootstrapping
> is true on the other machine but its IP is not in the list?
>
The bootstrapping needs to be set to false on the other machine if its
address is not on the list. Could you try that ? The cross subnet
support work is yet to thoroughly tested. Its not battle tested yet.

> Doesn't matter commented that line out and ran that code on the other
> machine which is on another domain within our company and it doesn't
> seem to work. The machine can ping my machine so it can see it.
>
>
>
> What do I do now? How do I debug this or how do I tell if it is being
> setup correctly for cross-subnet?
>
You could take a tcp dump and load the file in Ethereal/wireshark to see
if communications are happening between the two machines on port 5200.
>
> Or am I doing something wrong?
>
The bootstrap node value should be either true or false. Could you try
that and let me know?
>
>
>
> TIA
>
> --ekiM
>
>
>
> ------------------------------------------------------------------------
>
> *From:* Shreedhar.Ganapathy_at_Sun.COM [mailto:Shreedhar.Ganapathy_at_Sun.COM]
> *Sent:* June 28, 2008 12:44 PM
> *To:* users_at_shoal.dev.java.net
> *Subject:* Re: [Shoal-Users] Questions and Documentation?
>
>
>
> Hi Mike
> Wrt your recent question below:
>
> Mike Wannamaker wrote:
>
> Hi I have a few questions
>
>
>
> Was wondering if there is any documentation on bootstrapping the JXTA
> in order to facilitate cross sub-net/firewall communications?
>
> Here's a document I wrote up. Please let me know if this is helpful
> and works as described.
>
> http://wikis.sun.com/display/shoal/Shoal+How-To+-+Configuring+for+cross+subnet+support
>
> Thanks
> Shreedhar
>
>
>