Author |
Message
|
klabran |
Posted: Fri Sep 23, 2005 1:47 pm Post subject: Connect to more than one Server/QM |
|
|
 Master
Joined: 19 Feb 2004 Posts: 259 Location: Flagstaff AZ
|
I just created an environment where my test server and production server QM's are on two different servers (Finally!). How do I setup my workbench to hit both?
I can hit the production server still since it was the one I had setup before the server split but I can't hit the test server?
When I try to create a new domain I get reason code 2009?
I have been using the channel table file from my production server but that won't work anymore since I need to hit a second server?
How do I do this?
Thanks,
Kevin |
|
Back to top |
|
 |
EddieA |
Posted: Fri Sep 23, 2005 2:29 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
How do I setup my workbench to hit both |
You don't. You connect both to the ConfigMgr. And your Toolkit connects to the same ConfigMgr.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
klabran |
Posted: Fri Sep 23, 2005 3:01 pm Post subject: |
|
|
 Master
Joined: 19 Feb 2004 Posts: 259 Location: Flagstaff AZ
|
oohhhh.... I have a configmgr on each server.??? |
|
Back to top |
|
 |
EddieA |
Posted: Fri Sep 23, 2005 3:26 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
oohhhh.... I have a configmgr on each server.??? |
Is that a question, or a statement.
OK. As you posted this in the WBI Forum, I assumed you were talking about hooking up the Broker from each of these QMs to your Workbench. Is that the case.
If not, then exactly what have you installed, where, and what are you trying to connect together.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
klabran |
Posted: Fri Sep 23, 2005 3:31 pm Post subject: |
|
|
 Master
Joined: 19 Feb 2004 Posts: 259 Location: Flagstaff AZ
|
I have two servers with each server having a qm and broker on them.
From my desktop I would like to connect to both of them in my workbench but I'm lost how to do this?
When I try to create a new domain in the workbench to the second server (newly created one) I get reason code 2009?
I can still hit the first server but I suspect this is because I have the channel file for that server on my desktop. I know that a channel file won't really work anymore so I am wondering how to do this?
Kevin |
|
Back to top |
|
 |
EddieA |
Posted: Fri Sep 23, 2005 6:09 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
OK, we're back to my first response. It's the ConfigMgr that connects to the Broker, not the Workbench. The workbench connects to the ConfigMgr.
How many ConfigMgrs do you have. And what version of WBI.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
klabran |
Posted: Mon Sep 26, 2005 7:41 am Post subject: |
|
|
 Master
Joined: 19 Feb 2004 Posts: 259 Location: Flagstaff AZ
|
two configmgr's. One on each server.
Both servers are:
MQ 5.3 CSD9
WBIM 5 Fix Pack 4
Thanks,
Kevin |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Sep 26, 2005 7:47 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
The workbench establishes an MQ Client connection to the QMs that the configmgrs are registered to.
If I recall correctly, this is an entirely Java API based connection, so it does not use client connection tables.
Confirm that you can use amqscnx or amqsputc/getc to talk to the QM of the second configmgr, using a regular client connection (set MQSERVER temporarily, for example). Then try some of the java sample code and see if you get the same 2009.
Then worry about the Toolkit/workbench. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
klabran |
Posted: Mon Sep 26, 2005 8:02 am Post subject: |
|
|
 Master
Joined: 19 Feb 2004 Posts: 259 Location: Flagstaff AZ
|
Well I can do my AMQSPUTC if I set my MQSERVER.
I have never used any of the java samples.... How do I use them?
Kevin |
|
Back to top |
|
 |
EddieA |
Posted: Mon Sep 26, 2005 8:33 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
If I recall correctly, this is an entirely Java API based connection, so it does not use client connection tables. |
That's my understanding as well.
Quote: |
Well I can do my AMQSPUTC if I set my MQSERVER |
Try again, but use channel SYSTEM.BKR.CONFIG. If that works, then you are probably suppling something wrong in the Connections Parameters from the Toolkit.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
klabran |
Posted: Mon Sep 26, 2005 9:36 am Post subject: |
|
|
 Master
Joined: 19 Feb 2004 Posts: 259 Location: Flagstaff AZ
|
Interesting.... my system.bkr.config doesn't exist on the server....?
It seems my config mgr has been blown away.... Rebuild time. Good thing this is my test server.
Thanks for everyone's help.
Kevin |
|
Back to top |
|
 |
klabran |
Posted: Mon Sep 26, 2005 12:13 pm Post subject: |
|
|
 Master
Joined: 19 Feb 2004 Posts: 259 Location: Flagstaff AZ
|
What a goofball! I spaced that fact that over a week ago I used the test server in a production recovery scenario and blew away my configmgr, broker, etc.... for the production one.
I just had to recreate my test's configmgr and broker....
No wonder I couldn't connect to it...
Kevin |
|
Back to top |
|
 |
|