Avatar billede fredand Forsker
10. marts 2017 - 08:06 Der er 7 kommentarer

How to get clustered JMS?

Hello Guys!

We are migrating from a JBoss 5 to JBoss 6. Unfortunately it seems like Jboss 6 does not support clustered JMS.

We need this support since we constantly got traffic and we need to take down one of our servers for maintenance work like an upgrade and so on, then our unconsumed JMS messages appears on the other server without any problems.  Also when we have got a server crash the JMS messages has been taken care of from our other server.

Do you guys got any idea have to solve this? Is there any reliable opensource or third party software that we can use to get this support?

One idea from our guys is to use a dedicated Webshere MQ to handle all JMS queues. That would not give us a clustered JMS solution but since MQ got the reputation of reliability it might be a good solution.

How would you solve this?

Best regards
Fredrik
10. marts 2017 - 08:20 #1
Hmm.... interesting! Let me think about that a while, and then I will get back to you !
Avatar billede CRKrogh Ekspert
10. marts 2017 - 10:08 #2
Hi.

  I have to go by memory, but didn't JBoss MQ messaging change the architecture from HA-JMS to JBoss Messaging clustering to get away from the singleton service?

Best regards
Avatar billede arne_v Ekspert
10. marts 2017 - 13:12 #3
JBoss EAP 6 and its embedded HornetQ do support HA.

But you need to have the data on a shared file system (like Redhat GFS).

https://docs.jboss.org/hornetq/2.4.0.Final/docs/user-manual/html/ha.html

It does work, but it is not that easy to setup.
Avatar billede fredand Forsker
15. marts 2017 - 20:32 #4
Hello guys!
Mange tack for all your effort to help me.
It looks like the HA support in JBoss 6 with live backup, miss one nice think; the feature of be able to distribute the JMS-work among the servers in the cluster.
Correct me If I am wrong.

How ever our platform team and integration team rather solve this with a JBoss 6 without any JMS queues at all. All JMS queues will instead be located at a remote dedicated Websphere MQ-server. The reason for this was that it would be less administration for these teams.

To me it sounds like a pretty expensive solution.I guess that we need to pay for MQ-licenses for every environment we have, perhaps all test-environments. (I'm just guessing since I do not know anything about the licences-model )

All comments are most welcome.

Best regards
Fredrik
Avatar billede CRKrogh Ekspert
16. marts 2017 - 17:58 #5
Well, regardless how you cut it, JBoss IS a rediculously expensive platform to license!
Avatar billede arne_v Ekspert
17. marts 2017 - 14:06 #6
Avatar billede arne_v Ekspert
17. marts 2017 - 14:17 #7
Regarding price it depends on what you compare with.

WebLogic  Suite with Service Bus option is 68 K$ per "processor" (with Oracle's definition and current PCF for x86-64 that means per 2 cores).
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Kurser inden for grundlæggende programmering

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester