|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
MQSC Mode |
« View previous topic :: View next topic » |
Author |
Message
|
mqjeff |
Posted: Tue Jun 02, 2009 9:38 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Vitor wrote: |
susanspy wrote: |
i wnat to knwo if mqsc commands against a remote qmgr without having MQServer installed on your machine will work
? |
 |
MQExplorer plus SupportPac MS0S.
 |
|
Back to top |
|
 |
shashivarungupta |
Posted: Tue Jun 02, 2009 11:20 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
mqjeff wrote: |
Vitor wrote: |
susanspy wrote: |
i wnat to knwo if mqsc commands against a remote qmgr without having MQServer installed on your machine will work
? |
 |
MQExplorer plus SupportPac MS0S.
 |
Note : The Command server has to be in running state of that remote queue manager. (when you add that remote queue manager in to your MQ Explorer) _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
HubertKleinmanns |
Posted: Wed Jun 03, 2009 11:48 pm Post subject: Re: MQSC Mode |
|
|
 Shaman
Joined: 24 Feb 2004 Posts: 732 Location: Germany
|
shashivarungupta,
shashivarungupta wrote: |
...
Reports from the commands are returned to the local queue manager. Indirect mode operation is performed through the default queue manager.
... |
You must have a local default QMgr which has message channel definitions (e. g. sender/receiver pairs) to your remote QMgr (and back). The runmqsc -w command then connects to your local default QMgr and sends the MQ commands via the message channels to the remote QMgr (SampleQM) and puts it into the command queue. The remote QMgr must know your local default QMgr - e. g. by having a XmitQ named like your local QMgr or with a QMgr alias - and appropriate channel definitions.
Additionally on the remote QMgr the command server must be running.
shashivarungupta wrote: |
...
C:\>runmqsc -w 100 SampleQM
5724-H72 (C) Copyright IBM Corp. 1994, 2004. ALL RIGHTS RESERVED.
Starting MQSC for queue manager SampleQM.
AMQ8146: WebSphere MQ queue manager not available.
No MQSC commands read.
0 command responses received.
... |
This means you have
- no local default QMgr
- the local default QMgr has no sender channel definition to the remote QMgr
- the remote QMgr has no receiver channel definition from your local default QMgr
- the command server is not running on the remote QMgr
- the remote QMgr does not know about your local default QMgr
- the remote QMgr has no sender channel definition to your local default QMgr
- the local default QMgr has no receiver channel definition from the remote QMgr
Hint: The wait interval -w 30 defines a timeout, how long runmqsc waits for answer messages. Normally an interval of 5 (seconds) would be enough. _________________ Regards
Hubert |
|
Back to top |
|
 |
shashivarungupta |
Posted: Thu Jun 04, 2009 12:27 am Post subject: Re: MQSC Mode |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
HubertKleinmanns wrote: |
shashivarungupta,
shashivarungupta wrote: |
...
Reports from the commands are returned to the local queue manager. Indirect mode operation is performed through the default queue manager.
... |
You must have a local default QMgr which has message channel definitions (e. g. sender/receiver pairs) to your remote QMgr (and back). The runmqsc -w command then connects to your local default QMgr and sends the MQ commands via the message channels to the remote QMgr (SampleQM) and puts it into the command queue. The remote QMgr must know your local default QMgr - e. g. by having a XmitQ named like your local QMgr or with a QMgr alias - and appropriate channel definitions.
Additionally on the remote QMgr the command server must be running.
shashivarungupta wrote: |
...
C:\>runmqsc -w 100 SampleQM
5724-H72 (C) Copyright IBM Corp. 1994, 2004. ALL RIGHTS RESERVED.
Starting MQSC for queue manager SampleQM.
AMQ8146: WebSphere MQ queue manager not available.
No MQSC commands read.
0 command responses received.
... |
This means you have
- no local default QMgr
- the local default QMgr has no sender channel definition to the remote QMgr
- the remote QMgr has no receiver channel definition from your local default QMgr
- the command server is not running on the remote QMgr
- the remote QMgr does not know about your local default QMgr
- the remote QMgr has no sender channel definition to your local default QMgr
- the local default QMgr has no receiver channel definition from the remote QMgr
Hint: The wait interval -w 30 defines a timeout, how long runmqsc waits for answer messages. Normally an interval of 5 (seconds) would be enough. |
Quote: |
...the command server is not running on the remote QMgr |
If the command server wouldn't have been in running state then I would have got error while connecting it from MQ Explorer (later on when I connected it.)
C:\>runmqsc -w 100 SampleQM
5724-H72 (C) Copyright IBM Corp. 1994, 2004. ALL RIGHTS RESERVED.
Starting MQSC for queue manager SampleQM.
AMQ8146: WebSphere MQ queue manager not available.
No MQSC commands read.
0 command responses received.
Means, the channels, xmitq between the queue managers are not present and remote queue manager cant be located.
I agree on that.
And I can make you sure that the command server is/was in running state of that remote queue manager. _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
HubertKleinmanns |
Posted: Thu Jun 04, 2009 1:12 am Post subject: Re: MQSC Mode |
|
|
 Shaman
Joined: 24 Feb 2004 Posts: 732 Location: Germany
|
shashivarungupta wrote: |
Quote: |
...the command server is not running on the remote QMgr |
If the command server wouldn't have been in running state then I would have got error while connecting it from MQ Explorer (later on when I connected it.)
... |
Of course, but this should be only a (hopefully) complete list of requirements, to enable remote administration via runmqsc. _________________ Regards
Hubert |
|
Back to top |
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|