[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Fail-over design questions

timfox do-not-reply at jboss.com
Thu Jan 18 13:52:00 EST 2007


"hendra_netm" wrote : Hello JBoss Messaging Developers,
  | I have a question about what will happen to the crashed server when I bring it back again? 
  | 
  | For example, I have two servers Server0 and Server1. Server0 is crash. All connections and messages in Server0 will be failed over to Server1. 
  | When I bring server0 back, I think server0 wil have no client connections, and this will lead to imbalance load between server. Is this correct?
  | 
  | I also want to ask why fail-over action is only trigerred by crashed condition? 
  | I have a case where I need to shut down JBoss Messaging Server for operational thing. I want when I shut down one server, the connection will be failed over to another node, and when I put the server back, that server will share again the load of messages delivery with other servers. Is this scenario possible?

When you failover, non persistent messages would be lost. Therefore we can't just fail over to redistribute load, since people would get upset if suddenly their non persistent messages disappeared.

There are certain situations where it is possible to redistribute a connection, like, if there are no unacked messages in the session, but this gets complex.

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

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



More information about the jboss-dev-forums mailing list