Author |
Message
|
bhoga |
Posted: Wed Jan 19, 2011 10:20 pm Post subject: MQ Remote Administration |
|
|
Newbie
Joined: 19 Jan 2011 Posts: 2
|
Hi,
I would like to remotely administer my queue manager located on some other machine(Windows). I have made the below setup, is this correct?
On machine 1
-----------------
1) Created queue manager "sourceQM"
2) Defined xmitq "targetQM"
3) Defined a listener and started it
4) Defined sender channel "SourceToTarget"
on machine 2
----------------
1) Created queue manager "targetQM"
2) Defined a listener and started it
3) Defined sender channel "SourceToTarget"
Thank you. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jan 19, 2011 10:32 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Depends ...
There are a number of ways to administer a remote qmgr...
a) with pcf messages through a svrconn channel. (Please don't use any of the system named ones) (MO71, MO72, MQ Explorer)
b) with pcf messages via another qmgr (MO71, MO72, MQ Explorer) (some restrictions like no message browsing/getting)
c) via another qmgr using runmqsc. Be aware that the qmgr you run runmqsc against needs to be the default qmgr for the box...
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
bhoga |
Posted: Wed Jan 19, 2011 10:46 pm Post subject: |
|
|
Newbie
Joined: 19 Jan 2011 Posts: 2
|
Great! I am with the last option, using the local queue manager to administer the remote queue manager.
I created a remote queue on my local queue manager that places MQSC command on SYSTEM.ADMIN.CONTROL.QUEUE on the remote queue manager.
What is happening is, the message is ending up in the DEADQ of the remote queue manager with the reason MQRC_REMOTE_Q_NAME_ERROR.
Now I am not sure whether the steps I followed are correct? |
|
Back to top |
|
 |
Vitor |
Posted: Thu Jan 20, 2011 5:00 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
bhoga wrote: |
Great! I am with the last option, using the local queue manager to administer the remote queue manager. |
- Are you sure your local queue manager is the default?
- Why have you defined a remote queue on your local machine? You shouldn't need that.
- Post an example of your runmqsc command, including any parameters you specify _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
gbaddeley |
Posted: Thu Jan 20, 2011 2:40 pm Post subject: Re: MQ Remote Administration |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
bhoga wrote: |
Hi,
I would like to remotely administer my queue manager located on some other machine(Windows). I have made the below setup, is this correct?
On machine 1
-----------------
1) Created queue manager "sourceQM"
2) Defined xmitq "targetQM"
3) Defined a listener and started it
4) Defined sender channel "SourceToTarget"
on machine 2
----------------
1) Created queue manager "targetQM"
2) Defined a listener and started it
3) Defined sender channel "SourceToTarget"
Thank you. |
Did you define receiver channels on both ends?
Were you able to manually START both of the sender channel and see that their status was RUNNING ? _________________ Glenn |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Jan 20, 2011 8:52 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Vitor wrote: |
bhoga wrote: |
Great! I am with the last option, using the local queue manager to administer the remote queue manager. |
- Are you sure your local queue manager is the default?
- Why have you defined a remote queue on your local machine? You shouldn't need that.
- Post an example of your runmqsc command, including any parameters you specify |
you should not have defined the remote queue at all.
My guess is the target qmgr tries to put the response to a queue that is local to it instead of remote, hence the error you are seeing. This would be a direct consequence of creating the remote queue. It would also be a consequence of not using the runmqsc options properly.
So again please show the runmqsc command including its parameters as you typed it.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|