tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Schumacher <felix.schumac...@internetallee.de>
Subject Re: 2 separate clusters, crosstalk?
Date Wed, 11 Aug 2010 14:50:11 GMT
Hi Chris,

On Tue, 10 Aug 2010 17:05:11 -0400, Christopher Schultz
<chris@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> On 8/6/2010 12:35 PM, cnnfntop wrote:
>> Below are the configs, one from one of the prod servers, the other from
>> one of
>> the stage servers (note that the member/receiver settings are correct
>> for each
>> pair in each cluster, they reference each other correctly)
> 
>> PROD SETUP (stage below)
>> -------------------
>>
>> <Membership className="org.apache.catalina.cluster.mcast.McastService"
>>     mcastAddr="228.0.0.9"
>>     mcastPort="45564"
>>
>> ...
>>
>> <Receiver address="10.xx.xx.me"
>>
>> ...
>> <Member
>> className="org.apache.catalina.tribes.membership.StaticMember"
>> port="4000" securePort="-1"
>> host="10.xx.xx.othernode"  domain="PROD-domain"
>> uniqueId="{0,0,0,0,0,0,0,0,0,191}" />
> 
> ...
> 
>> [STAGING] SETUP
>> ------------------------
>> <Membership className="org.apache.catalina.cluster.mcast.McastService"
>>       mcastAddr="228.0.0.10"
>>       mcastPort="45564"
>>
>> ...
>>
>> <Receiver address="10.xx.xx.211"
...
>>
>> Aug 6, 2010 4:02:26 PM org.apache.catalina.ha.tcp.SimpleTcpCluster
>> memberAdded
>> INFO: Replication member 
>> added:org.apache.catalina.tribes.membership.MemberImpl[tcp://{10, 6,
>> -94,
>> -45}:4000,{10, 6, -94, -45},4000, alive=1018,id={-98 14 -16 65 -45 -70
>> 77 -112
>> -91 -67 124 -106 -44 99 -46 122 }, payload={}, command={}, domain={}, ]
> 
> I'm not sure what the above is supposed to prove... neither the IP
> addresses nor the "id" from that log message matches what you have in
> your staging configuration. How do you know there's crosstalk?
I think the ip addresses are printed as bytes and that means in java 
  (int) 211 == (byte)-45 :) 
So at least one of the members is found and the hidden parts revealed.

Bye
 Felix
> 
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAkxhvwcACgkQ9CaO5/Lv0PASvwCgpMvOWcNs8P0xskho//QJQYY/
> i8kAoJwRVq2NPAlwzjEQwB4LWYuWejyH
> =R8wq
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message