Author |
Message
|
rimple |
Posted: Fri Jul 01, 2005 3:26 am Post subject: Multiple Brokers |
|
|
Newbie
Joined: 01 Jul 2005 Posts: 8
|
I've a queue manager MBQM and a broker BK. I can deploy bar file sucessfully to this broker and execute the flows. Now I have created another broker : BAHBRK1 and queue namager : BAHBRKP1.
I’ve defined a pair of sender and receiver channels between these queue managers :
sender channel on MBQM which is config mgr QM:
transmission queue : BAHBRKP1
Name Of Channel: TO. BAHBRKP1
Connection Name: Broker machine ip address and port no.
Transmission Q: BAHBRKP1
Receiver on Broker's QM : BAHBRKP1:
transmission queue : MBQM.
Name Of Channel: TO. BAHBRKP1
The channels are up and running. I have added broker in the toolkit. I could also add executiong group to it. But I’m not able deploy bar file to this broker. It shows in the alert table as BAHBRKP1 is not running. And in event Viewer of the machine I can see some errors like :
( BAHBRK1.$SYS_mqsi ) Failed to send initial registration to the User Name Server.
The Broker communicates with the User Name Server in order to procure user and group information for configuring topic ACLs. This broker has never established communication with the User Name Server and has no cached user and group information. The process will be terminated.
Check that the User Name Server is running. Check preceding system log entries for related errors.
User name server is running. I tried restating services many times but I’m still not able to make it work. I don’t get any errors in Event log. Can somebody tell me How to resolve this problem ?  |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jul 01, 2005 3:32 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Well, first, you should post this question in the right place - the WMQI forum, not here.
But don't repost. Someone else will move it.
Secondly, have you consulted the documentation?
You need to connect each broker qm to the ConfigMgr qm, and the UNS qm to the ConfigMgr qm. You do not need, but may choose, to connect each broker qm to each other. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
rimple |
Posted: Fri Jul 01, 2005 4:28 am Post subject: |
|
|
Newbie
Joined: 01 Jul 2005 Posts: 8
|
I've used following commands :
mqsicreatebroker BK -i db2admin -a Password1 -q MBQM -n CMDB -u db2admin -p Password1 -s MBQM
mqsicreateusernameserver -i db2admin -a Password1 -q MBQM
mqsicreateconfigmgr -i db2admin -a Password1 -q MBQM -n BKDB -u db2admin -p Password1 -m MRMDB -e db2admin -r Password1 -s MBQM
mqsicreatebroker BAHBRK1 -i db2admin -a Password1 -q BAHBRKP1 -n CMDB -u db2admin -p Password1 -s BAHBRKP1
So my config manager QM, User name server QM and broker BK QM are all the same QM : MBQM. Do I still need to do something extra to connect User name server QM and Broker QM BAHBRK1. |
|
Back to top |
|
 |
JT |
Posted: Fri Jul 01, 2005 8:17 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Quote: |
mqsicreateusernameserver -i db2admin -a Password1 -q MBQM
mqsicreatebroker BAHBRK1 -i db2admin -a Password1 -q BAHBRKP1 -n CMDB -u db2admin -p Password1 -s BAHBRKP1 |
You specified a queue manager that doesn't support the UserNameServer you created. You should have specified:
Quote: |
mqsicreatebroker BAHBRK1 -i db2admin -a Password1 -q BAHBRKP1 -n CMDB -u db2admin -p Password1 -s MBQM |
|
|
Back to top |
|
 |
rimple |
Posted: Sun Jul 03, 2005 9:24 pm Post subject: |
|
|
Newbie
Joined: 01 Jul 2005 Posts: 8
|
I've deleted and recreated broker : BAHBRK1 using command you have specified. Then restarted all services and deleted and added broker again to Toolkit. Now I don't get any errors in Even Viewer while deployment but I'm still not able to deploy bar flie.  |
|
Back to top |
|
 |
rimple |
Posted: Mon Jul 04, 2005 3:33 am Post subject: |
|
|
Newbie
Joined: 01 Jul 2005 Posts: 8
|
I just checked the broker Bk. Now I'm not able to deploy on that Broker also. I'm struck here since morning. Also I deleted broker BK. And when I tried to recreate, it's giving errors as broker BK already exists!!. Please help fast!! |
|
Back to top |
|
 |
rkford11 |
Posted: Tue Jul 05, 2005 6:24 am Post subject: |
|
|
Partisan
Joined: 06 Jun 2004 Posts: 316
|
rimple wrote: |
I just checked the broker Bk. Now I'm not able to deploy on that Broker also. I'm struck here since morning. Also I deleted broker BK. And when I tried to recreate, it's giving errors as broker BK already exists!!. Please help fast!! |
Check whether broker has been deleted from configuration manager database. If not delete it.
Delete from CBROKER where CNAME='BK'
Then recreate your broker. |
|
Back to top |
|
 |
mqmatt |
Posted: Tue Jul 05, 2005 9:28 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
Alternatively, if you temporarily make the broker's SYSTEM.BROKER.ADMIN.QUEUE inaccessible to the Config Manager (such that a 2085 MQRC_UNKNOWN_OBJECT_NAME would be reported when the Config Manager tries to open it), and then kick off a deploy to that broker, then the Config Manager will assume that that the broker has been permanently deleted and tidy up all references to it in the database.
HTH
-Matt |
|
Back to top |
|
 |
rimple |
Posted: Tue Jul 05, 2005 7:41 pm Post subject: |
|
|
Newbie
Joined: 01 Jul 2005 Posts: 8
|
Thanx a lot for all the replies. I don't know what was wrong yet. But i deleted and recreated brokers without -s parameter. Then created pair of channels between them as specified above and now everything is working fine.  |
|
Back to top |
|
 |
|