Author |
Message
|
anan |
Posted: Tue Sep 24, 2013 7:53 am Post subject: Cluster |
|
|
Novice
Joined: 24 Sep 2013 Posts: 11
|
can we have 2 queue managers with the same name in cluster ? not as a full repository though , they can be partial repositories as well.
If yes, can we make sure that messages coming in from source are routed to only one of these all the time ?
unless the first QMGR is not running, it should not go to second..
any thoughts to achive this.. please.. |
|
Back to top |
|
 |
exerk |
Posted: Tue Sep 24, 2013 8:01 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
You do not, ever, have two queue managers of the same name anywhere within your enterprise - and Multi-Instance or hardware-clustered queue managers are not two separate but same-named queue managers (just to obviate that question). You most certainly do not have two queue managers of the same name within a queue manager cluster. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
rcp_mq |
Posted: Tue Sep 24, 2013 8:04 am Post subject: |
|
|
 Centurion
Joined: 13 Dec 2011 Posts: 133
|
1) The two queue managers need to be at different locations.
2) You have to use a workload algorithm to load balance your messages.
Look for "Advanced clustering" in the infocenter. |
|
Back to top |
|
 |
anan |
Posted: Tue Sep 24, 2013 8:10 am Post subject: |
|
|
Novice
Joined: 24 Sep 2013 Posts: 11
|
could not see a topic named 'Advanced clustering/cluster'
Please reply with the exact keyword |
|
Back to top |
|
 |
rcp_mq |
Posted: Tue Sep 24, 2013 9:03 am Post subject: |
|
|
 Centurion
Joined: 13 Dec 2011 Posts: 133
|
|
Back to top |
|
 |
mqjeff |
Posted: Tue Sep 24, 2013 9:07 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You can absolutely put two queue managers with the same name into the same cluster.
You can also load a shotgun with two bullets, point it at your head, and pull the trigger.
I express no opinion on the value gained from doing either. |
|
Back to top |
|
 |
anan |
Posted: Tue Sep 24, 2013 9:15 am Post subject: |
|
|
Novice
Joined: 24 Sep 2013 Posts: 11
|
Just checking for high availability of Queuemanager by keeping 2 with the same name.
If one QM is down, other should be running as backup .. like active/active mode..
can we use any channel or queue attributes to achieve this.. ie 100% of messages should go only to one QM and the 2nd one should be used only when the first one is down. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Sep 24, 2013 9:20 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
anan wrote: |
Just checking for high availability of Queuemanager by keeping 2 with the same name.
If one QM is down, other should be running as backup .. like active/active mode..
can we use any channel or queue attributes to achieve this.. ie 100% of messages should go only to one QM and the 2nd one should be used only when the first one is down. |
Yes, you can indeed jump out of an airplane flying at 10,000 feet altitude without a parachute. |
|
Back to top |
|
 |
rcp_mq |
Posted: Tue Sep 24, 2013 9:21 am Post subject: |
|
|
 Centurion
Joined: 13 Dec 2011 Posts: 133
|
Did you even click the link I gave you. No hard work. No learn. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Sep 24, 2013 9:44 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
anan wrote: |
Just checking for high availability of Queuemanager by keeping 2 with the same name.
If one QM is down, other should be running as backup .. like active/active mode..
can we use any channel or queue attributes to achieve this.. ie 100% of messages should go only to one QM and the 2nd one should be used only when the first one is down. |
Yes you can do that and checking the link will indicate how, and the weakness of this method
The queue managers nust not have the same name if they're in the same cluster. It will break. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
anan |
Posted: Tue Sep 24, 2013 8:51 pm Post subject: |
|
|
Novice
Joined: 24 Sep 2013 Posts: 11
|
I have gone through the link and the 10 tasks listed there. But neither of them have same queue manager names.
Would like to know what issues we might get if we keep 2 QM's in the same cluster.. if anyone tried this.. pls share.. |
|
Back to top |
|
 |
exerk |
Posted: Tue Sep 24, 2013 10:51 pm Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
anan wrote: |
I have gone through the link and the 10 tasks listed there. But neither of them have same queue manager names.
Would like to know what issues we might get if we keep 2 QM's in the same cluster.. if anyone tried this.. pls share.. |
They don't have the same names because it is a very bad, nay, suicidal, idea. What I suggest is, build a small cluster of 6 queue managers and send messages around the cluster to make sure they're all interconnected; then add another queue manager of the same name as one of the original 6, and watch your cluster explode or slowly twist itself into a Gordian knot. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
queuemanager |
Posted: Wed Sep 25, 2013 5:08 am Post subject: |
|
|
Apprentice
Joined: 28 Nov 2006 Posts: 43 Location: Bangalore
|
The question is what is you requirement to have QMGRs with the same name in the cluster, obviously as pointed out by experts, it is possible as all information is stored based on QMID but it is sucidal and enough for making your whole team of MQ admins in your enterprise go bald in no time. But, if your requirement revolves around the DR, then you will be having both QMGR on different servers and there QMID should match for them to work perfectly in a DR situation. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Sep 25, 2013 5:33 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Which, for the record, is not queue managers with the same name in a single cluster but a DR. copy of the cluster _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
JosephGramig |
Posted: Wed Sep 25, 2013 10:23 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
Almost sounds like you are talking about a backup Qmgr.
Read carefully and see it that applies to you. |
|
Back to top |
|
 |
|