-
15. Re: Nodes Failover in HornetQ
vineetbadoni Aug 23, 2011 6:43 AM (in response to gaohoward)Hi Yong,
I really appreciate the attitude towards the forums you have. Thanks.
We cannot afford extra pair of nodes for failover. We dont want to put extra burden on the users we have. Well I understood your explanation too. Can we do the following ?
We will create two nodes as live servers as well as backup servers for each other.
I have actually tried this but failed to set it up. If I am not wrong the backup server must be lauched before the live server.
(1) If that is the case we cannot achieve the above requirement. right?
If the answer is "yes" for the above question (1) we cannot use HornetQ.
Now Is there anyway we can use Jboss messaging with Jboss 6.0.0. final?
I again appreciate your help.
Thanks alot,
Vineet
-
16. Re: Nodes Failover in HornetQ
ataylor Aug 23, 2011 9:15 AM (in response to vineetbadoni)We will create two nodes as live servers as well as backup servers for each other.
A live server cannot also be a backup server, however in the future we may change this
-
17. Re: Nodes Failover in HornetQ
vineetbadoni Aug 23, 2011 9:22 AM (in response to ataylor)Thanks andy for the reply.
Do you have any information on using jboss messaging with Jboss 6?
Thanks,
Vineet
-
18. Re: Nodes Failover in HornetQ
ataylor Aug 23, 2011 9:29 AM (in response to vineetbadoni)JBoss messaging isnt supported with AS6, HornetQ is the default JMS provider
-
19. Re: Nodes Failover in HornetQ
vineetbadoni Aug 23, 2011 9:34 AM (in response to ataylor)As much I know Jboss is famous for its modularity so that you can change JMS provider, Web container etc..whenever you want...
What do you suggest to me in this case where HornetQ is not sovling my purpose and I cannot use Jboss messaging??
Thanks,
Vineet
-
20. Re: Nodes Failover in HornetQ
ataylor Aug 23, 2011 9:34 AM (in response to vineetbadoni)you can either configure backup nodes or deploy with out failover (you may be able to colocate the backups in the same server as the live but you may need to upgrade the HQ version)
-
21. Re: Nodes Failover in HornetQ
gaohoward Aug 23, 2011 10:13 AM (in response to vineetbadoni)Hi Vineet,
I think you can raise a feature request on the HornetQ Jira. As Andy said JBoss Messaging is no longer supported within the community. Since AS 6.0, the default JMS provider is HornetQ. JBoss Messaging is not part of AS6 (and later) release bundle.
Howard
-
22. Re: Nodes Failover in HornetQ
vineetbadoni Aug 24, 2011 9:36 AM (in response to gaohoward)Thanks for your guidance Yong. I have raised improvement in HorneQ jira. https://issues.jboss.org/browse/HORNETQ-759
Thanks alot again,
Vineet
-
23. Re: Nodes Failover in HornetQ
bbansal Aug 26, 2011 6:04 PM (in response to ataylor)Hey Andy,
I was wondering if you can elaborate on the fail-over load balancing strategy a little bit more here. I am not clear what is the expected process. If we put into simple words here this is what I understand so far, I configure a two node cluster in round-robin mode, each will get 50% of messages in general.
1) If one goes down does the other get 100% : No, according to this post and rest of the manual
2) To avoid loosing 50% of *New* messages we must configure a backup node for each server.
3) What about the messages which are on the failed node and were not delivered yet ?? They are lost unless the failed node comes back or the backup is configured on shared storage (SAN) ? Is there a way to get active backups without SAN (double writing) etc.
4) How does the consumer get impacted by the node failure here ? Are they automatically redirected to the backups ? What about the core-bridges etc are all automatically re-assigned etc
Best
Bhupesh
-
24. Re: Nodes Failover in HornetQ
ataylor Aug 27, 2011 6:51 AM (in response to bbansal)1) If one goes down does the other get 100% : No, according to this post and rest of the manual
correct, you need backup servers
2) To avoid loosing 50% of *New* messages we must configure a backup node for each server.
yes, as above
3) What about the messages which are on the failed node and were not delivered yet ?? They are lost unless the failed node comes back or the backup is configured on shared storage (SAN) ? Is there a way to get active backups without SAN (double writing) etc.
yes, once the live node recovers or backup node becomes available messgaes are recovered
4) How does the consumer get impacted by the node failure here ? Are they automatically redirected to the backups ? What about the core-bridges etc are all automatically re-assigned etc
consumers (including bridges etc) will reconnect automatically if configured to do so, i.e. reconnect-attempts etc
-
25. Re: Nodes Failover in HornetQ
qtm May 29, 2012 2:01 AM (in response to ataylor)Hello,
Sorry for bumping this thread, but I'd like to know if there are any plans to support live to live failover. Failover using back-ups is ok, but I'd like to have this option too.
Thank you
-
26. Re: Nodes Failover in HornetQ
ataylor May 29, 2012 2:03 AM (in response to qtm)not at the moment, but we may consider it in the future