Jboss clustering on 4.0.4 GA

Atul Tyagi tyagi.atul at gmail.com
Wed Sep 6 21:32:22 UTC 2006


 Hi,

I am using Jboss-4.0.4-GA and AFSIK cluster-service.xml is the only file I
need to touch but it doesn't seems to be working for me. Both the instances
of Jboss when started with clustering option start properly but clustering
is not happenning. I am sure im missing
something very basic as Jboss4.0.4 comes with clustering out of the box.

following are the parameter that I have set in cluster-service.xml on both
the instances of Jboss.

bind_addr="10.100.75.20" on instance XXX
bind_addr="10.100.75.21" on instance YYY

I am starting the the server using $JBOSS_HOME/bin/run.sh -c all.

on Instance XXX

<snip>
-------------------------------------------------------
GMS: address is iadjaspwa01p:32814 (additional data: 17 bytes)
-------------------------------------------------------
17:27:42,800 INFO  [DefaultPartition] Number of cluster members: 1
17:27:42,800 INFO  [DefaultPartition] Other members: 0
17:27:42,800 INFO  [DefaultPartition] Fetching state (will wait for 30000
milliseconds):
17:27:42,801 INFO  [DefaultPartition] New cluster view for partition
DefaultPartition (id: 0, delta: 0) : [10.100.75.20:1099]
17:27:42,813 INFO  [DefaultPartition] I am (10.100.75.20:1099) received
membershipChanged event:
17:27:42,814 INFO  [DefaultPartition] Dead members: 0 ([])
17:27:42,814 INFO  [DefaultPartition] New Members : 0 ([])
17:27:42,814 INFO  [DefaultPartition] All Members : 1 ([10.100.75.20:1099])
</snip>

On Instance YYY

<Snip>
17:27:17,209 INFO  [DefaultPartition] Number of cluster members: 1
17:27:17,209 INFO  [DefaultPartition] Other members: 0
17:27:17,209 INFO  [DefaultPartition] Fetching state (will wait for 30000
milliseconds):
17:27:17,210 INFO  [DefaultPartition] New cluster view for partition
DefaultPartition (id: 0, delta: 0) : [10.100.75.21:1099]
17:27:17,213 INFO  [DefaultPartition] I am (10.100.75.21:1099) received
membershipChanged event:
17:27:17,213 INFO  [DefaultPartition] Dead members: 0 ([])
17:27:17,214 INFO  [DefaultPartition] New Members : 0 ([])
17:27:17,214 INFO  [DefaultPartition] All Members : 1 ([10.100.75.21:1099])
</Snip>

Any pointers on what I may be missing will be appriciacted.

Thanks,

Atul



More information about the redhat-list mailing list