Author |
Message
|
pkel83 |
Posted: Fri Jan 09, 2009 3:51 am Post subject: Logging of RESET commands |
|
|
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 |
|
 |
Vitor |
Posted: Fri Jan 09, 2009 3:56 am Post subject: Re: Logging of RESET commands |
|
|
 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 |
|
 |
pkel83 |
Posted: Fri Jan 09, 2009 3:59 am Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Fri Jan 09, 2009 4:01 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Fri Jan 09, 2009 4:03 am Post subject: |
|
|
 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 |
|
 |
pkel83 |
Posted: Fri Jan 09, 2009 4:45 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Fri Jan 09, 2009 4:54 am Post subject: |
|
|
 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 |
|
 |
PeterPotkay |
Posted: Fri Jan 09, 2009 10:58 am Post subject: |
|
|
 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 |
|
 |
|