Author |
Message
|
ajith.rajan |
Posted: Tue Sep 14, 2004 2:42 am Post subject: Queue Manager objects of same name in the Network |
|
|
Apprentice
Joined: 14 Sep 2004 Posts: 30
|
Hi
Can I create an identical configuration of queue managers and channels with the same name in two different MQ Servers, both residing in the same network. Kindly let me know the implications (if any) of having the same MQ Object names.
Regards
Ajith |
|
Back to top |
|
 |
Manikandan |
Posted: Tue Sep 14, 2004 3:23 am Post subject: |
|
|
Voyager
Joined: 07 Jul 2004 Posts: 78
|
Two different MQ servers it is possible to use it!
But it is recommended so that you have your MQ objects with unique names so that the ambiguity problems do not arise in future.
Also,you might face problems when bring in those objects into a clustered setup/ |
|
Back to top |
|
 |
bower5932 |
Posted: Tue Sep 14, 2004 4:56 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
As long as you have NO intention of ever trying to communicate between the queue managers, you shouldn't have any problems. However, you'll probably find that the confusion of two separate but same queue managers is more trouble than it is worth. You might as well start with different names and avoid future problems.
Last edited by bower5932 on Tue Sep 14, 2004 4:56 am; edited 1 time in total |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Sep 14, 2004 4:56 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
It is a bad idea to have two queue managers with the same name in the same network.
It is not a bad idea to have channels or queues with the same names. In fact, for many reasons in many networks, it can be a good idea. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
csmith28 |
Posted: Tue Sep 14, 2004 4:56 pm Post subject: Re: Queue Manager objects of same name in the Network |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
ajith.rajan wrote: |
Hi
Can I create an identical configuration of queue managers and channels with the same name in two different MQ Servers, both residing in the same network. Kindly let me know the implications (if any) of having the same MQ Object names.
Regards
Ajith |
Yes you can but in most cases it is ill advised.
What would be the purpose of the second MQManager on a different server with the same name?
Would you want both to be running at the same time?
Would it serve your purpose better to create a new MQManager with different name and cluster them? _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Sep 16, 2004 9:14 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
QMs are like kids in this regard. Yeah, technically you could name all your kids George, but is it worth it?
And if you ever want to cluster your QMs, absolutly you cannot do it. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
ajith.rajan |
Posted: Tue Sep 28, 2004 7:15 am Post subject: Re: |
|
|
Apprentice
Joined: 14 Sep 2004 Posts: 30
|
Thanks a lot for all your responses.
Basically, we are trying to achieve failover in our MQ Environment.
Hence, we would like to configure the MQ objects with similar names in two different MQ servers. The Proposal is that we would have a load balancer outside our MQ Server. All the messages from the Outside MQ Server would first come to the Load balancer, then this would be forwarded to MQ Server A, where all the channels and MQ objects would be running. In case of any failure of MQ Objects in Server A, the load balancer would automatically redirect all the requests to Server B.
Here, the Load Balancer is only used as a failover object and not used for balancing any sort of loads between Server A and Server B. This is the reason why we are forced to go for similar object names. Kindly let me know your comments on our Approach.
Thanks
Ajith |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Sep 28, 2004 7:33 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
MQ Channels do not like to be load balanced by TCP/IP balancers. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
csmith28 |
Posted: Tue Sep 28, 2004 7:55 am Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
jefflowrey wrote: |
MQ Channels do not like to be load balanced by TCP/IP balancers. |
Especially if the messages are persistant. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
Anirud |
Posted: Tue Sep 28, 2004 12:04 pm Post subject: |
|
|
 Master
Joined: 12 Feb 2004 Posts: 285 Location: Vermont
|
I was looking for a solution for the same problem in one of my recent posts. I was told that the best solution would be to have hardware cluster.
Take a look at my post @ http://www.mqseries.net/phpBB2/viewtopic.php?t=17583
I didn't get a chance to work on it as it was put on hold for now. Please let me know how it goes.
Thanks. |
|
Back to top |
|
 |
|