ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » MQSC Mode

Post new topic  Reply to topic Goto page Previous  1, 2
 MQSC Mode « View previous topic :: View next topic » 
Author Message
mqjeff
PostPosted: Tue Jun 02, 2009 9:38 am    Post subject: Reply with quote

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
View user's profile Send private message
shashivarungupta
PostPosted: Tue Jun 02, 2009 11:20 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
HubertKleinmanns
PostPosted: Wed Jun 03, 2009 11:48 pm    Post subject: Re: MQSC Mode Reply with quote

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
View user's profile Send private message Visit poster's website
shashivarungupta
PostPosted: Thu Jun 04, 2009 12:27 am    Post subject: Re: MQSC Mode Reply with quote

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
View user's profile Send private message Send e-mail
HubertKleinmanns
PostPosted: Thu Jun 04, 2009 1:12 am    Post subject: Re: MQSC Mode Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General Discussion » MQSC Mode
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.