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 » Why is Command Server required

Post new topic  Reply to topic
 Why is Command Server required « View previous topic :: View next topic » 
Author Message
mquser01
PostPosted: Wed Apr 16, 2008 8:29 pm    Post subject: Why is Command Server required Reply with quote

Acolyte

Joined: 06 Mar 2008
Posts: 52

can anyone please let me know why is the command server required??
I read some pdfs but still not clear why is Command Server required??

when does AMQ4032 occurs?? documentation says its just a warning does it mean if this warning occurs it will not disrupt the MQ functioning?
Back to top
View user's profile Send private message
AkankshA
PostPosted: Wed Apr 16, 2008 8:39 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

some snippets from google ..


of system admin guide..
Quote:
The command server is an MQSeries component that works with the command processor component. The command server reads request messages from the system-command input queue, verifies them, and passes the valid ones as commands to the command processor. The command processor processes the commands and puts any replies as reply messages on to the reply-to queue that you specify. The first reply message contains the user message CSQN205I.

_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
mquser01
PostPosted: Wed Apr 16, 2008 8:46 pm    Post subject: Reply with quote

Acolyte

Joined: 06 Mar 2008
Posts: 52

Yup i have already gone through this but my confusion is -
Is it the MQSC commands that we execute from command line are being referred as request messages here??
As i said earlier i read some docs on this but am still not very clear with the concept of Command Server, its requirement and significance of AMQ4032 warning...
Back to top
View user's profile Send private message
AkankshA
PostPosted: Wed Apr 16, 2008 9:48 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

Each queue manager can have a command server associated with it.

Command server takes the mressage from SYSTEM.ADMIN.COMMAND.QUEUE. It acesses MQSC commands of queue manager and PCF commands from applications.

as i said earlier it presents the commands to the queue manager for processing and returns a completion code or operator message depending on the origin of the command.


AMQ4032 occurs when your Command server id not available(running) or not responding within the timeout period.

If the command server is not running, start the command server and retry. Ensure that the queue called SYSTEM.ADMIN.COMMAND.QUEUE is configured to enable programs to get messages off it.
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Thu Apr 17, 2008 1:13 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

The absense of a running command server will not affect the opperation of a queue manager, hence the message is a warning.

It will prevent you running any commands at all against the queue manager, which is usually an issue quite quickly.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jsware
PostPosted: Thu Apr 17, 2008 4:30 am    Post subject: Reply with quote

Chevalier

Joined: 17 May 2001
Posts: 455

Vitor wrote:
It will prevent you running any commands at all against the queue manager, which is usually an issue quite quickly.
You can runmqsc against a local qmgr without the command server running. Applications won't be able to issue PCF messages to do the same, MQExplorer does not work and possibly more.

You can however "runmqsc MYQM" and then issue commands to it. Thus runmqsc does not appear dependent on the command server for local qmgrs. It does however require command server on a remote qmgr when you start using the "runmqsc -w" option.
_________________
Regards
John
The pain of low quaility far outlasts the joy of low price.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Apr 17, 2008 4:38 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Yes, runmqsc is bound against the same internal interfaces as the command server... one parses MQSC and the other parses PCF but they both call the same internal APIs.

This is why there's a very strong correlation between MQSC and PCF. Well, one of the reasons...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Apr 17, 2008 4:41 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Vitor wrote:
It will prevent you running any commands at all against the queue manager, which is usually an issue quite quickly.




Projecting local site experience there, where the queue managers are administered from a central location but command servers are sometime shut down for security reasons "to prevent unauthorised remote access".

Shame it prevents the authorised remote access as well, but hey
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Why is Command Server required
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.