[jboss-user] [Clustering/JBoss] - Forcing Topology change

kpandey do-not-reply at jboss.com
Tue Aug 29 16:56:49 EDT 2006


I have a requirement that between the two nodes a and b in a cluster node a should always run in the Master mode when available.

Normal cluster functions between the two nodes are working fine. I'm using tcp as oppose to udp protocol.

It seems the first name in the current view returned from the channel is used to determine if the HASingletonDeployer should be in master mode.

JGroup/JChannel doesn't seem to provide a way to manipulate the arrangement of items in the view.

I tried to see if starting and stopping the ClusterPartition would do the trick. So when node a is the first item in the CurrentView from jmx-console(ie master node) I invoked stop. This closed the DefaultPartition and node b then assumed the master role.  On starting the ClusterPartition on node a again didn't see node b ? Is this a bug or am I missing some subtleties? 

Is there a better way to leave and join the cluster programatically?

Thanks
Kumar


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968218#3968218

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968218



More information about the jboss-user mailing list