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 » Monitoring MQ channels when in retry status

Post new topic  Reply to topic
 Monitoring MQ channels when in retry status « View previous topic :: View next topic » 
Author Message
dp111443
PostPosted: Mon May 24, 2004 1:07 am    Post subject: Monitoring MQ channels when in retry status Reply with quote

Voyager

Joined: 25 Feb 2004
Posts: 82

Hi All,

We are currently using BMC Patrol for Websphere MQ to monitor MQ on all systems. What we have done is to monitor all Queue Managers and objects centrally using Queue Manager and Node Manager concept that BMC provides.

We have also written unix scripts to take action on particular events (e.g. QMgr down, queue full, etc) to raise tickets on helpdesk system and produce web page which issues the current status of alerts using mcmmqrc (run runmqsc command remotely to all nodes that are managed) when a particular event is raised.

anyway, with Patrol for MQ we can automatically act upon events (queue full - 2053, Qmgr down - 2223, etc.) based on the corresponding MQ event number. However am struggling to do the same on channels. we get events on channel stopped, channel stopped by user, channel started, etc. however we want to pick up on channels that are in "retrying" status, but MQ events arn't raised for this. Any idea why and what I need to do to get round this problem to raise the issue of a retrying channel (on any node manager) ???

I have noticed that when a channel is in retrying status the qmgr logs are updated with this information saying the host/port are invalid. I guess you could grep for instances once in a while there. However, this monitoring has to be done locally and we could potentially have 200 of these servers with MQ on which we'd prefer to monitor centrally (ideally using BMC Patrol) like we monitor all other instances with too.

If you have any questions please ask as i understand my question might not be clear and thanks for your help in advance.
_________________
Integration Design/Developer

IBM Certified System Administrator -
WebSphere MQ V5.3
Back to top
View user's profile Send private message
JasonE
PostPosted: Mon May 24, 2004 1:53 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

Try this...

Quote:
The behaviour has changed since the introduction of IC29815 so that
"Channel Stopped" events are only generated when the channel program itself generates a stopped event. Customers will therefore find that if
a channel goes straight into a retry mode after it is started, they will
not get a MQRC_CHANNEL_STOPPED event with MQRQ_CHANNEL_STOPPED_RETRY.
.
Therefore the customer will need to add the following
to the CHANNEL stanza of the qm.ini StopEvent=ALWAYS if they want the previous behaviour
Back to top
View user's profile Send private message
dp111443
PostPosted: Mon May 24, 2004 4:22 am    Post subject: Reply with quote

Voyager

Joined: 25 Feb 2004
Posts: 82

Hi Jason,

Thanks for your reply. Unfortunately, I don't quiet understand what the entry to the qm.ini file will do as I didn't quite understand the quote previous to that.

Could you explain to me what this change will do and is this something that will have to be done to all MQ Server nodes that are installed?

is there any links that can help my lack of understanding?

Many thanks for your help.

Regards,
dp111443
_________________
Integration Design/Developer

IBM Certified System Administrator -
WebSphere MQ V5.3
Back to top
View user's profile Send private message
JasonE
PostPosted: Mon May 24, 2004 4:42 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

You used to get a stopped event when the channel pgm ran and ended, but an APAR changed it so you only got the stopped event IF (and only IF) the channel pgm ran and issued a started event first.

You need a stopped event without a started, otherwise you cannot see retry (where it never gets started). Setting this value will give you the events you said you wanted to trigger off to monitor retry events. You would need to set it on all qmgrs you wish to monitor the retry events from.

No further docs, sorry....
Back to top
View user's profile Send private message
dp111443
PostPosted: Mon May 24, 2004 6:16 am    Post subject: Reply with quote

Voyager

Joined: 25 Feb 2004
Posts: 82

Hi,

I have added the new stanza to a test queue manager. Have I done it correctly below:

Log:
LogPrimaryFiles=3
LogSecondaryFiles=2
LogFilePages=1024
LogType=CIRCULAR
LogBufferPages=0
LogPath=/var/mqm/log/TEST/
LogWriteIntegrity=TripleWrite
Service:
Name=AuthorizationService
EntryPoints=10
ServiceComponent:
Service=AuthorizationService
Name=MQSeries.UNIX.auth.service
Module=/opt/mqm/lib/amqzfu
ComponentDataSize=0
CHANNELS:
StopEvent=ALWAYS


now that I have added it, do i need to restart the qmgr to refresh the settings?

thanks,
dp111443
_________________
Integration Design/Developer

IBM Certified System Administrator -
WebSphere MQ V5.3
Back to top
View user's profile Send private message
dp111443
PostPosted: Mon May 24, 2004 6:30 am    Post subject: Reply with quote

Voyager

Joined: 25 Feb 2004
Posts: 82

Jason,

that has worked as I have tested it and am now getting RETRYING for the stopped event reason code.

many thanks,
dp111443


p.s do you see any draw back of doing this and why this was taken out of the original functionality??
_________________
Integration Design/Developer

IBM Certified System Administrator -
WebSphere MQ V5.3
Back to top
View user's profile Send private message
JasonE
PostPosted: Mon May 24, 2004 8:27 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

Quote:
p.s do you see any draw back of doing this and why this was taken out of the original functionality??

No real drawback. It was taken out to resolve another problem where starts/stops didnt match up, you got a stopped but not started event and that also caused problems. Trouble is you cant win sometimes, so we leave both available
Back to top
View user's profile Send private message
xxx
PostPosted: Mon May 24, 2004 6:33 pm    Post subject: Reply with quote

Centurion

Joined: 13 Oct 2003
Posts: 137

I guess the only problem is when the messages are not transfered ,
so if you monitor the sdr channel indirectly , i.e to monitor the xmitq depth you will have no issues ,
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 » Monitoring MQ channels when in retry status
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.