|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Help! MQ Client Question |
« View previous topic :: View next topic » |
Author |
Message
|
briastep5243 |
Posted: Tue Dec 17, 2002 12:29 pm Post subject: Help! MQ Client Question |
|
|
 Novice
Joined: 09 Dec 2002 Posts: 11
|
I have two WebLogic app servers in a WebLogic cluster.
Each is installed with MQ Client for Solaris v5.3
Two WIN2K servers are installed/config with MQ server v5.3,
setup with SVRCONN channels for the MQ client connections.
Each MQ Server has a single Qmgr.
What is the best way to allow both MQ Clients to connect to
either MQ server based on the the WIN2K server's physical
availibility?
What I mean is, How can I setup my MQ Clients to primarily
connect to Qmgr1 on WIN2K server1, and if this WIN2K server1
goes down for hardware reasons, the MQ Clients switch to
connecting to the Qmgr2 on WIN2K server2?
It is my understanding that MQCHLTAB is for connection
to only one Qmgr.
It was also my understanding that in past MQ versions you
could set a file with a list of IPs and Qmgrs that any one
MQ Client could connect to via SVRCONN channel. This
seems to no longer exist in current v5.3 documentation.
Could anyone clarify a procedure that might fit my needs
of MQ Client connection to a list of Qmgrs
using MQCHLTAB or MQSERVER variables?
Thanks,
B- |
|
Back to top |
|
 |
briastep5243 |
Posted: Tue Dec 17, 2002 1:23 pm Post subject: |
|
|
 Novice
Joined: 09 Dec 2002 Posts: 11
|
I believe I found my own answer!
(from MQ Client v5.3 manual)
Multiple queue managers
You might choose to define connections to more than one server machine because:
v You need a backup system.
v You want to be able to move your queue managers without changing any
application code.
v You need to access multiple queue managers, and this requires the least
resource.
Define your client-connection and server-connection channels on one queue manager only, including those channels that connect to a second or third queue manager. Do not define them on two queue managers and then try to merge the two client channel definition tables; this cannot be done. Only one client channel definition table can be accessed by the client.
Thanks,
B- |
|
Back to top |
|
 |
MichaelR |
Posted: Wed Dec 18, 2002 12:16 pm Post subject: MQClient channel table |
|
|
Apprentice
Joined: 20 May 2002 Posts: 37 Location: Tampa
|
Briastep5243,
In order for your client application to "dynamically" search the Channel Table and select the first available QMgr, you will need to preface your QMgr name with "*". It's important to note that the QMgr name defined IN THE CHANNEL TABLE is not validated against the host when you use the "*" prefix. This allows you to have 2 QMgr's (i.e. MIKER & MIKER2) that would be defined in your Channel Table as MIKER (note :both must have unique channel names). Your MQCONN call would use '*MIKER' as the QMgr value. If QMgr MIKER is unavailable, your channel table serach would resolve to the "MIKER" entry "pointing to MIKER2" (via CONNAME value).
Cheers,
MichaelR
 |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|