-
1. Re: HA-Singleton using HornetQ 2.0
timfox Jul 5, 2010 7:25 AM (in response to joydeep.sarkar)Why do you want to HASingleton?
-
2. Re: HA-Singleton using HornetQ 2.0
joydeep.sarkar Jul 5, 2010 7:44 AM (in response to timfox)The goal of using HA-Singleton is to achieve master/slave topology.
-
3. Re: HA-Singleton using HornetQ 2.0
timfox Jul 5, 2010 8:38 AM (in response to joydeep.sarkar)Thanks, I know what HASingleton is.
I was asking why you wanted to use it with HornetQ. HornetQ provides live/backup HA functionality without requiring HASingleton. You should read the user manual.
-
4. Re: HA-Singleton using HornetQ 2.0
joydeep.sarkar Jul 5, 2010 9:32 AM (in response to timfox)
Sorry about the confusion Tim. That's not what I intended to mean.I have gone through the user manual. The live-backup pair suits the requirement most, but it is the problem with the synchronization.
As the manual says,
"The next release of HornetQ will provide functionality for automatically synchronizing a new backup node to a live node without having to temporarily bring down the live node."
That's where my concern is. That means it requires manual intervention to keep it in sync. And if I go for shared journal, where would it be kept? live or backup? And in shared mode the back up server needs to get restarted as well.
Considering these points, I was thinking to use mixed flavor.Just a thought on the same note, if I do not use HornetQ topology, I can simply leave the connector and acceptor configuration out, so that the network
is not being looked up for discovery of servers. On the other hand, I can use the HASingletonDeployer service of JBoss. As such, I can achieve the master-slave topology.
Please suggest which option would be the best.
Regards,
Joydeep -
5. Re: HA-Singleton using HornetQ 2.0
timfox Jul 6, 2010 5:17 AM (in response to joydeep.sarkar)I'd suggest waiting for 2.2. There are a bunch of HA improvements currently being worked on, as discussed on the dev forum.
-
6. Re: HA-Singleton using HornetQ 2.0
joydeep.sarkar Jul 6, 2010 6:58 AM (in response to timfox)Thanks a ton for your input Tim.
Regards,
Joydeep