Author |
Message
|
rcp_mq |
Posted: Wed Jun 27, 2012 3:59 pm Post subject: Can't access Queue manager from Broker |
|
|
 Centurion
Joined: 13 Dec 2011 Posts: 133
|
We have a server with a virtual and a physical IP.
There are 2 queue managers running on each IP domain with one listener for each IP domain each on their ports 1414.
I have 2 brokers on a remote server with a single IP, I want to connect one to each of the Queue managers. Broker A to QMGR A, Broker B to QMGR B.
My Unix admin says this is a perfectly fine setup.
Now i can connect one broker to one of the queue managers but when i try to connect to the other queue manager i get an error that the connecting user is not authorized.
I'm aware I should set MCA to mqm (this is a test setup) for the connecting channel and grant connect access to SYSTEM.BKR.CONFIG. channel. This does not work and (also I did not have to do this with the earlier broker A connection to broker B).
Please advise, and if possible brief how to would be great.
Thanks |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Jun 27, 2012 4:44 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
What do you mean "connect"?
With what?
Each broker needs a local queue manager to act as it's own queue manager. You can't use a remote queue manager as the main queue manager for a broker.
Broker always uses a bindings connection, not a client connection. SYSTEM.BKR.CONFIG is for *Toolkit*, not *Runtime*.
You can configure JMS nodes to make client connections - is that what you meant? |
|
Back to top |
|
 |
rcp_mq |
Posted: Wed Jun 27, 2012 5:15 pm Post subject: |
|
|
 Centurion
Joined: 13 Dec 2011 Posts: 133
|
I think i put it all wrong (haven't slept in 2 days)...
Well, I'm trying to connect to a remote broker from toolkit.
There 2 brokers and 2 qmgrs.
One of the queue managers uses VIP and has a virtual listener with the same port as the physical listener. (1414)
I can connect to one of the remote broker A using Qmgr A on VIP (I) and port 1414 from a local server.
I'm not able to connect to the other Broker B from within toolkit using Qmgr B with VIP (II) and virtual port 1414 of the Qmgr B on VIP (II).
Every time I try to connect I get a message that the local user from which i'm trying to connect is not authorized. I went into the queue manager qmgr B and set on the remote system and set SYSTEM.BKR.CONFIG MCAUSER(mqm).
But it still does not connect. |
|
Back to top |
|
 |
rcp_mq |
Posted: Wed Jun 27, 2012 5:17 pm Post subject: |
|
|
 Centurion
Joined: 13 Dec 2011 Posts: 133
|
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jun 27, 2012 7:52 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
From the PC you are running the toolkit on, what is the response to following command
Code: |
prompt> telnet VIPII 1414 |
_________________ MQ & Broker admin |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Jun 28, 2012 1:21 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
mcauser only changes what user is authenticated against MQ. It doesn't change the user that is authenticated against Broker. |
|
Back to top |
|
 |
|