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 » IBM MQ Installation/Configuration Support » Same SVRCONN name on more than one QMGR

Post new topic  Reply to topic
 Same SVRCONN name on more than one QMGR « View previous topic :: View next topic » 
Author Message
KIT_INC
PostPosted: Thu Sep 18, 2008 7:31 am    Post subject: Same SVRCONN name on more than one QMGR Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

I am using WMQ V6
I have a number of QMGRs have the same svrconn channel called QM.SVRCONN
I have a MQClients that needs to connect to these QMGRs using the SVRCONN Channel.

When the client want to connect to QM1, I use
MQSERVER=QM.SVRCONN/TCP/IP_QM1(1416)

When the client wants to connect to QM2, I change the MQSERVER to MQSERVER=QM.SVRCONN/TCP/IP_QM2(1415)

and so on for other Qmgrs.

I think a better way is to use the Channel table.
However when I tried to create the channel table by defining client connection channel using the explorer, it will not allow me to have objects with the same name.
Is this do-able? Do I need to have a different SVRCONN channel name for each QM?
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Thu Sep 18, 2008 5:21 pm    Post subject: Re: Same SVRCONN name on more than one QMGR Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

KIT_INC wrote:
I think a better way is to use the Channel table.
However when I tried to create the channel table by defining client connection channel using the explorer, it will not allow me to have objects with the same name. Is this do-able? Do I need to have a different SVRCONN channel name for each QM?


Its not possible to have duplicate channel names in a CCDT. You need to have a different channels names for each QM.

An alternative is to use MQCONNX with the MQCNO & MQCD structures. You can dynamically set the channel name, protocol, host and port in the MQCD for each connection.

The same principle exists for the Java MQ classes.
_________________
Glenn
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 » IBM MQ Installation/Configuration Support » Same SVRCONN name on more than one QMGR
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.