Author |
Message
|
jnoubi |
Posted: Mon Jun 02, 2008 3:05 am Post subject: Define broker in config manager using command line? |
|
|
Novice
Joined: 26 Sep 2006 Posts: 24
|
Initially I was trying to create an execution group but I got the following error:
"$ mqsicreateexecutiongroup -i HOSTNAME -p 1414 -q QMNAME -b BROKERNAME -e EG64
BIP1044I: Connecting to the Configuration Manager's queue manager...
BIP1046E: Unable to connect with the Configuration Manager (Could not connect to queue manager 'QMNAME' (MQ reason code 2195)).
The utility encountered a problem while attempting to connect to the Configuration Manager's queue manager to put a message to its request queue."
After researching I noticed that I didnt configure the broker in the config manager, so I run the command: So I ran the deploy command and got the following:
BIP1044I: Connecting to the Configuration Manager's queue manager...
BIP1046E: Unable to connect with the Configuration Manager (Could not connect to queue manager 'QMNAME' (MQ reason code 2195)).
I guess somehow I need to make my config manager recognize my broker. I am doing all of this using AIX without toolkit. Any suggestions? good links that could help? |
|
Back to top |
|
 |
Gaya3 |
Posted: Mon Jun 02, 2008 3:28 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
i dont think so you can create domain connections through command line prompt.
use your toolkit to create domain and connect to the broker.
regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
AkankshA |
Posted: Mon Jun 02, 2008 3:39 am Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
which version of MB are u on ??
U can connect broker with configMgr thru Command line only in 6.1 _________________ Cheers |
|
Back to top |
|
 |
broker_new |
Posted: Mon Jun 02, 2008 3:51 am Post subject: |
|
|
 Yatiri
Joined: 30 Nov 2006 Posts: 614 Location: Washington DC
|
Using the setmqaut give the permisssions(+Connect)(For the user from which you are trying to connect Broker) on the Broker Queue manager.
setmqaut -m BrokerQM -t qmgr -userid +connect.
Then try to create execution group. _________________ IBM ->Let's build a smarter planet |
|
Back to top |
|
 |
jnoubi |
Posted: Mon Jun 02, 2008 5:59 am Post subject: Re: |
|
|
Novice
Joined: 26 Sep 2006 Posts: 24
|
Thanks for the replies.
I am on 6.1, and I have created only one queue manager, on top of which I have built the broker and the config manager.
I tried the setmqaut but I am still getting the same error.
I think this is the source of the problem/solution but I may have to do some more tweaking.
Any other suggestions? is using 2 queue managers one for broker and another for Config Mgr is the better practice? |
|
Back to top |
|
 |
ADV |
Posted: Mon Jun 02, 2008 6:02 am Post subject: |
|
|
Apprentice
Joined: 24 Apr 2007 Posts: 44 Location: Boston, MA
|
BIP1046E: Unable to connect with the Configuration Manager
Check that the Configuration Manager's QM and listener are running, with correct port is specified for the QM.
If QM looks good, then it could be a authority issue. Do dspmqsut to see what authority user has? Can try adding Message Broker Toolkit local user ID to the mqm group on the Configuration Manager? |
|
Back to top |
|
 |
mqmatt |
Posted: Mon Jun 02, 2008 8:37 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
To add a broker to a Configuration Manager domain in v6.1, use mqsicreateexecutiongroup -f. |
|
Back to top |
|
 |
broker_new |
Posted: Mon Jun 02, 2008 9:35 am Post subject: |
|
|
 Yatiri
Joined: 30 Nov 2006 Posts: 614 Location: Washington DC
|
Hey,
your userid is added into cfgmgr using mqsiaclentry _________________ IBM ->Let's build a smarter planet |
|
Back to top |
|
 |
DIPU@2007 |
Posted: Mon Jun 02, 2008 8:57 pm Post subject: Is ur problem resolved..?? if not jus try this...:) |
|
|
Novice
Joined: 13 Dec 2007 Posts: 18
|
Just try with -n CfgParameterFileName which specifies the name of .configmgr file that describes the connection parameters to the configuration manager.
for example :
mqsicreateexecutiongroup –n domain2.configmgr –b FRED –e EG3 –w 300 –v trace.txt  |
|
Back to top |
|
 |
|