Hi all,

I'm trying to setup MMbase to run in a cluster environment. So far I failed 
however and I'm running out of options to try. Maybe someone reading this 
will be able to point me in the right direction.

The relevant part of my MMbase configuration:

node 1:
<property name="machinename">ou.work2</property>
<property name="multicasthost">226.0.0.2</property>
<property name="multicastport">9119</property>
<property name="host">work2.esp</property>

node 2:
<property name="machinename">ou.work3</property>
<property name="multicasthost">226.0.0.2</property>
<property name="multicastport">9119</property>
<property name="host">work3.esp</property>

To avoid confusion, work2.esp and work3.esp do resolve to a valid IP address 
(we're using a private tld's inside our cluster)

The weird thing is that I don't see any MMbase multicast traffic going over 
the wire when sniffing, using "tcpdump ip multicast. I do see muticast 
traffic coming from both Tomcat processes, but it's addressed to port 8012 
which seem to be some default value.
Multicast is active on the OS layer as ifconfig is telling me my NIC is 
running in multicast mode and I'm able to ping 224.0.0.1 and receive a 
response from all machines. 
I've a feeling I'm missing some sort of master switch, which I need to turn 
from false to true to enable MMbase clustering.

Something I noticed in the log when editing nodes (which should trigger 
multicast traffic):

2006-03-23 11:34:14,382 WARN  mmbase.module.core.ClusterBuilder 
addRelationDirections.1656  - No relation defined between educations and 
images using RelationStep(tablename:pos2rel, alias:pos2rel, nodes:[], 
dir:destination, role:498) with direction(s) BOTH. Searching in 'destination' 
direction now, but perhaps the query should be fixed, because this should 
always result nothing.2006-03-23 11:20:04,826 FATAL STDERR println.258  - 
java.lang.NullPointerException
2006-03-23 11:20:04,827 WARN  STDERR println.250  -     at 
org.mmbase.module.builders.MMEvents.probeCall(MMEvents.java:119)
2006-03-23 11:20:04,827 WARN  STDERR println.250  -     at 
org.mmbase.module.builders.MMEventsProbe.run(MMEventsProbe.java:56)
2006-03-23 11:20:04,828 WARN  STDERR println.250  -     at 
java.lang.Thread.run(Thread.java:534)

I'm told however this is should not be directly related to my multicast 
problem.

Somebody who has an idea of what I'm missing?
Thanks in advance for any input!

Arjen Roodselaar

Attachment: pgpHO8yRHXgbd.pgp
Description: PGP signature

_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to