ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » MQ client connectivity to Multiple QMs

Post new topic  Reply to topic
 MQ client connectivity to Multiple QMs « View previous topic :: View next topic » 
Author Message
SANTY_P
PostPosted: Tue Apr 24, 2012 11:17 pm    Post subject: MQ client connectivity to Multiple QMs Reply with quote

Newbie

Joined: 24 Apr 2012
Posts: 3

Hi All,

I had MQ client installed in Windows machine and 2 MQ servers installed in different Aix server. ( say QM1 and QM2 )

I want to make connectivity to those queue managers from my windows using client.

Following way I tried .. but able to connect to only one queue manager, not able to connect to other queue manager..

created client connection channels in QM1 for both QM1 and QM2..
copied the amqclchl.tab file into client machine and setup the environment variables MQCHLTAB and MQCHLLIB..

now I tried to connect from the client.. but one either one queue manger only I can connect..
can any one tell me what could be the reason here...??
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Apr 24, 2012 11:44 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

A single MQCONN MQI call will only connect to one queue manager (at a time).

You can connect to as many as you want, using different MQCONN handles.

However the normal client design is to connect to one QM, and have your messages routed to that QM, using the standard remote queue feature.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Apr 25, 2012 4:54 am    Post subject: Re: MQ client connectivity to Multiple QMs Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

SANTY_P wrote:
I want to make connectivity to those queue managers from my windows using client.


Why? What's the requirement? As my most worthy associate points out it's not a typical thing to do.

It's more common to have an application connect to one of a list of queue manager depending on availability, and for that you'd use the CCDT as you describe.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Apr 25, 2012 6:10 am    Post subject: Re: MQ client connectivity to Multiple QMs Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

SANTY_P wrote:

now I tried to connect from the client.. but one either one queue manger only I can connect..
can any one tell me what could be the reason here...??

How exactly did you try to connect?

Did you write an application? Did you use one of the supplied sample apps?

How did you code the MQCONN call?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQ client connectivity to Multiple QMs
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.