[jboss-user] [Clustering/JBoss] - Re: Network Loss in a 1 to n Node Cluster

jbirkenmaier do-not-reply at jboss.com
Thu Aug 31 15:17:03 EDT 2006


Thanks for the quick reply. Regarding the first problem. I see the view change on node 1 when I Ctrl-C JBoss on node 2. However, I don't see the view change when I unplug the network cable. 

Here is what's logged when I unplug the cable:

10:41:27,090 INFO  [dragoneyes] (UpHandler (STATE_TRANSFER)) Suspected member: 192.168.69.253:33013
10:41:27,092 INFO  [dragoneyes] (UpHandler (STATE_TRANSFER)) New cluster view for partition dragoneyes (id: 2, delta: -1) : [192.168.69.122:1099]
10:41:27,092 INFO  [dragoneyes] (AsynchViewChangeHandler Thread) I am (192.168.69.122:1099) received membershipChanged event:
10:41:27,092 INFO  [dragoneyes] (AsynchViewChangeHandler Thread) Dead members: 1 ([192.168.69.253:1099])
10:41:27,092 INFO  [dragoneyes] (AsynchViewChangeHandler Thread) New Members : 0 ([])
10:41:27,093 INFO  [dragoneyes] (AsynchViewChangeHandler Thread) All Members : 1 ([192.168.69.122:1099])


Here is what's logged when the cable is plugged back in:

10:42:12,912 INFO  [dragoneyes] (UpHandler (STATE_TRANSFER)) New cluster view for partition dragoneyes (id: 3, delta: 1) : [192.168.69.122:1099, 192.168.69.253:1099]
10:42:12,914 INFO  [dragoneyes] (AsynchViewChangeHandler Thread) Merging partitions...
10:42:12,914 INFO  [dragoneyes] (AsynchViewChangeHandler Thread) Dead members: 0
10:42:12,914 INFO  [dragoneyes] (AsynchViewChangeHandler Thread) Originating groups: [[192.168.69.122:32809|2] [192.168.69.122:32809], [192.168.69.253:33013|2] [192.168.69.253:33013]]

JBoss/JGroups sees the loss and restoration of the network. Is there no way to hook into  UpHandler or AsynchViewChangeHandler to catch the notification? The viewChange method just isn't doing it.

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

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



More information about the jboss-user mailing list