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 IBM MQ Support » Logging of RESET commands

Post new topic  Reply to topic
 Logging of RESET commands « View previous topic :: View next topic » 
Author Message
pkel83
PostPosted: Fri Jan 09, 2009 3:51 am    Post subject: Logging of RESET commands Reply with quote

Newbie

Joined: 09 Jan 2009
Posts: 3

Hi,

Many apologies if this is a stupid question (MQ's not my field at all).

We're using MQ 6.0.0.0 at my office and I'm trying to find where it logs channel reset commands. There doesn't seem to be any mention of them in any of the \var\mqm\qmgrs\XXXX\errors\AMQERR0x.LOG files, should I be looking somewhere else?

Thanks in advance
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jan 09, 2009 3:56 am    Post subject: Re: Logging of RESET commands Reply with quote

Grand High Poobah

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

pkel83 wrote:
We're using MQ 6.0.0.0 at my office and I'm trying to find where it logs channel reset commands. There doesn't seem to be any mention of them in any of the \var\mqm\qmgrs\XXXX\errors\AMQERR0x.LOG files, should I be looking somewhere else?


It doesn't log the issuing of commands as an audit. Channel reset commands should only be issued by an administrator, and only in fairly exceptional problem resolving scenarios. Typically you'd identify who issued such commands by taking the small, tightly controlled group authorised to issue them into a small room and beating them until one confesses.

Ok, not typically but that's how I do it.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
pkel83
PostPosted: Fri Jan 09, 2009 3:59 am    Post subject: Reply with quote

Newbie

Joined: 09 Jan 2009
Posts: 3

wow, thanks for the quick reply!

yes, we restrict the issuing of channel reset commands to a handful of people, but unfortunately it appears someone's overstepped their remit somewhat!
they've reset the receiver erroneously, which caused it to become out of sync with the remote sender.

is there nowhere that MQ logs the times that RESET commands were made? i know for a fact that they were issued, but i'd quite like to get the exact times for a report on the incident

thanks again
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Jan 09, 2009 4:01 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

It can't have been significantly different in time from the time when the channel throws it's first sequence number error.

As a reminder, it's always better to reset on the sender side, as that will cause the receiver to reset as well. It's only in resetting a receiver that you can get sender and receiver sides out of sync.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jan 09, 2009 4:03 am    Post subject: Reply with quote

Grand High Poobah

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

pkel83 wrote:
is there nowhere that MQ logs the times that RESET commands were made? i know for a fact that they were issued, but i'd quite like to get the exact times for a report on the incident


You might find that the changing of the sequence number counts as an alteration to the channel def, and hence the alt date/time has changed. Personally I'm a bit dubious but have a look.

You can get an approximate time for a moderately busy channel by looking for the first sequence number error in the log.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
pkel83
PostPosted: Fri Jan 09, 2009 4:45 am    Post subject: Reply with quote

Newbie

Joined: 09 Jan 2009
Posts: 3

thanks very much for your help; i've used the first instance of a sequence number mismatch error as the rough time.

for future reference, will resetting a Sender channel always reset the remote receiver channel?
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jan 09, 2009 4:54 am    Post subject: Reply with quote

Grand High Poobah

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

pkel83 wrote:
for future reference, will resetting a Sender channel always reset the remote receiver channel?


It will always require the resetting of the remote receiver channel; it won't affect the remote object.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Jan 09, 2009 10:58 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Resetting the SNDR automagically resets the RCVR as well. No further action required on the RCVR side for the sequence #.

If the RCVR is reset, nothing happens automatically on the SNDR side. Well, nothing good anyway! But if you are on the receiving side and have sequence # issues, the logs will tell you what the expected sequence # is, so you can fix it on your own on the receiving side if so inclined.
_________________
Peter Potkay
Keep Calm and MQ On
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 IBM MQ Support » Logging of RESET commands
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.