Author |
Message
|
NewMB |
Posted: Wed May 25, 2005 8:10 am Post subject: MQClient to multiple Remote Q Managers |
|
|
Apprentice
Joined: 05 Jan 2005 Posts: 42
|
I am using WBIMB V.5 on Windows. I created two queue managers on the server and I am trying to connect to both queue managers using my toolkit (MQ Client). What would be the possible way to connection to both queue managers without modifing (MQSERVER or Channel Tab file) everytime when establishing connection?
Thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed May 25, 2005 8:14 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
This question doesn't make any sense.
Connect what to the queue managers? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
NewMB |
Posted: Wed May 25, 2005 8:20 am Post subject: |
|
|
Apprentice
Joined: 05 Jan 2005 Posts: 42
|
I am trying to using WBIMB V.5 toolkit to connect to different queue managers on the same server. In order to create "Domain Connection" in my toolkit, I need to specify queue manager and host name and port. I successfully connected to my queue manager no.1. But, I can't connect to queue manager no.2 because of the MQSERVER variable setting (it is now for queue manager no.1 with the port number). |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed May 25, 2005 8:22 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
The "Domain Connection" is not a connection to a queue manager.
It is a connection to a Configuration Manager, by way of the qm that the ConfigMgr is bound to.
You can only have one CM on a box, so you can only establish a Domain Connection to one queue manager on a box, and only the one that the CM is bound to.
MQSERVER doesn't apply.
EDIT:
You can create more than one Domain Connection in the same Tooling, and connect each to different ConfigMgrs. I think it prevents you from making more than one Domain Connection to the same configmgr. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
NewMB |
Posted: Wed May 25, 2005 8:28 am Post subject: |
|
|
Apprentice
Joined: 05 Jan 2005 Posts: 42
|
I see. So is it possible to have two brokers on the same machine? We are trying to separate development and test environment using the same machine. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed May 25, 2005 8:33 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Have you read the documentation?
Yes, it's possible to have more than one broker on one machine. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
NewMB |
Posted: Wed May 25, 2005 8:33 am Post subject: |
|
|
Apprentice
Joined: 05 Jan 2005 Posts: 42
|
Also, how can the toolkit communicate with both brokers? They are using two separate queue managers.
Thanks |
|
Back to top |
|
 |
NewMB |
Posted: Wed May 25, 2005 8:43 am Post subject: |
|
|
Apprentice
Joined: 05 Jan 2005 Posts: 42
|
I think I figure out what was the problem. I had been thinking to create a new configuration file because of the name "queuemgr1@myWBIserver:port"). I should use the same configuration file on my toolkit and specify a new broker using the file.
Thanks for your help. |
|
Back to top |
|
 |
JT |
Posted: Wed May 25, 2005 8:43 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Each broker is managed by a configuration manager. That communication is handled via queue managers, one for the configmgr and one for the broker. In your toolkit, you establish a broker domain by connecting to a configmgr's queue manager. When the domain is defined to your toolkit, you then have access to those brokers administered by that configmgr.
As Jeff stated, you really ought to read the manuals for a clearer understanding. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed May 25, 2005 8:47 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
NewMB wrote: |
I think I figure out what was the problem. I had been thinking to create a new configuration file because of the name "queuemgr1@myWBIserver:port"). I should use the same configuration file on my toolkit and specify a new broker using the file.
Thanks for your help. |
No.
As JT said, the Toolkit does not connect to the broker. It connects to the ConfigMgr. The ConfigMgr does the rest. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
sradiraju |
Posted: Wed May 25, 2005 8:47 am Post subject: |
|
|
 Apprentice
Joined: 08 Sep 2002 Posts: 34 Location: Chicago,IL
|
Hi NewMB,
Firstly you need to decide the architecture you want to use. From your posts I could understand you want to use the same machine for Dev & Testing and one queue manager each. So, you have some decisions to make here, whether you want to use the same config manager or you want to use different configuration queue mangers, depending on the above decision you will need to create your broker domains and there by creating new domain connections.
So, I would suggest you read the PDF http://www.redbooks.ibm.com/redbooks/pdfs/sg247090.pdf and you will answer all the basic questions yourself.
Still need help, post again.
Cheers,
Somesh |
|
Back to top |
|
 |
|