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 » IBM MQ Installation/Configuration Support » Configuring MQ v6 to start trigmon/listener/cmd as svcs

Post new topic  Reply to topic
 Configuring MQ v6 to start trigmon/listener/cmd as svcs « View previous topic :: View next topic » 
Author Message
mfsmqtech
PostPosted: Wed May 07, 2008 5:35 pm    Post subject: Configuring MQ v6 to start trigmon/listener/cmd as svcs Reply with quote

Novice

Joined: 07 May 2008
Posts: 10
Location: Boston, MA

Hi Everyone,

I am trying to configure an MQSeries v6.0.2.2 queue manager running on Suse 9 SP3 linux to autmatically start required services on queue manager start.

The MQC script for the queue manager has the following definitions.


DEFINE SERVICE(TRIGMON) +
CONTROL(QMGR) +
SERVTYPE(SERVER) +
STARTCMD('+MQ_INSTALL_PATH+bin/runmqtrm') +
STARTARG('-m +QMNAME+ -q SYSTEM.DEFAULT.INITIATION.QUEUE') +
STOPCMD('+MQ_INSTALL_PATH+bin/amqsstop') +
STOPARG('-m +QMNAME+ -p +MQ_SERVER_PID+') +
REPLACE

DEFINE SERVICE(LISTENER) +
CONTROL(QMGR) +
SERVTYPE(SERVER) +
STARTCMD('+MQ_INSTALL_PATH+bin/runmqlsr') +
STARTARG('-m +QMNAME+ -t tcp -p 1415') +
STOPCMD('+MQ_INSTALL_PATH+bin/endmqlsr ') +
STOPARG('-w -m +QMNAME') +
REPLACE

DEFINE SERVICE(CMDSRV) +
CONTROL(QMGR) +
SERVTYPE(SERVER) +
STARTCMD('+MQ_INSTALL_PATH+bin/strnmqcsv') +
STARTARG('+QMNAME+') +
STOPCMD('+MQ_INSTALL_PATH+bin/endmqcsv') +
STOPARG('+QMNAME+') +
REPLACE

The services start correctly but the queue manager log reports the command server starts and then stops.

05/07/2008 12:12:14 PM - Process(32640.1) User(mqm) Program(amqzmgr0)
AMQ5024: The Command Server has started. ProcessId(32674).
EXPLANATION:
The Command Server process has started.
ACTION:
None.
------------------------------------------------------------------------
-------
05/07/2008 12:12:14 PM - Process(32640.1) User(mqm) Program(amqzmgr0)
AMQ5029: The Server 'CMDSRV' has ended. ProcessId(32654).
EXPLANATION:
The Server process has ended.
ACTION:
None.

This is kind of wierd because a ps -ef of running processes show it is active but viewing the queue manager via MQ Explorer reports it is not.

The second issue is on queue manager shut down.

The queue manager goes down cleanly but it leaves a few orphaned listener process around. Note that the listener service arguments passes the -w flag so it should be waiting for a successful termination.

Has anyone run into this problem?

Any assistance you can provide would be greatly appreciated.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
fjb_saper
PostPosted: Wed May 07, 2008 9:34 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

This may be because you did not check to see what is being brought up on it's own...

MQV6 -- define listener(xxxx) control(qmgr) should take care of the listener

-- the command server starts with the qmgr no need for a service there unless you want to explicitly start or stop it...? I'd do it at OS level as admin...

-- As for the trigger monitor... I'd set it up as start only... You can stop it by just get inhibiting the initq...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Configuring MQ v6 to start trigmon/listener/cmd as svcs
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.