• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Cluster setup - not working

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,
I've 2 instances of jboss 5.0.0 GA running in 2 different machines.

But the nodes are not recognizing each other. From the logs I see

07:21:15,536 INFO [DEPartition] Number of cluster members: 1
07:21:15,536 INFO [DEPartition] Other members: 0

Why aren't the nodes recognising each other? I just have the default set up running and have not changed any of the files. WIth the default files I understnad that multicast IP , port must be the name .

I've just changed the partition name during startup using -g option .

I am not looking for clustering a web application. I have jboss cache deployed in both the instances and want them to run in clustered mode.

From the current view in jmx-console ,mbean jboss:partitionName=DEPartition,service=HAPartition I just see one IP address listed. I've used the -b option while starting the server and the server is running in "all" mode.

Is there something else that I am missing? Any help on this is appreciated. Thanks.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
the "default" server does not have clustering in it. the "all" server has all the cluster capabilities.

Mark
 
Author
Posts: 198
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are the machines on the same subnet? Show us the commands you used to start each instance.
 
Mohan Rama
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am using the "all" server for the cluster set up.

I've made two copies of the "all" folder as "node1" and "node2".

This is how I start my server

run -c "node1" -b <IP Add 1> -Djboss.messaging.ServerPeerID=1 -g DEPartition
run -c "node2" -b <IP Add 2> -Djboss.messaging.ServerPeerID=2 -g DEPartition

I tried the above in my local machine ..Even from the same machine, 2 instances are not working..


 
rubbery bacon. rubbery tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic