tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: 2 separate clusters, crosstalk?
Date Tue, 10 Aug 2010 21:05:11 GMT
-----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"
>
> ...
>
> <Member
> className="org.apache.catalina.tribes.membership.StaticMember"
> port="4000" securePort="-1"
> host="10.xx.xx.212" domain="lfstg-domain"
> uniqueId="{0,0,0,0,0,0,0,0,0,99}" />

- From a quick glance at these settings, they all seem reasonable. I'm not
expert on Tomcat clustering, though. If you don't hear anything for a
day or two, try bumping the topic to see if someone else can comment.

You don't have any weird multicast configuration on the NIC do you? Are
you sure that all your network infrastructure is capable of doing
multicast in the way you expect? It's possible that you have a stupid
router or switch that just broadcasts multicast messages instead of
properly sending them.

> Prod/stage report this in the their logs as members come up (across both 
> prod/stage, hence evidence of crosstalk)
> 
> 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?

- -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


Mime
View raw message