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 » MQ recycle

Post new topic  Reply to topic
 MQ recycle « View previous topic :: View next topic » 
Author Message
qmgr
PostPosted: Wed Jul 07, 2010 10:58 am    Post subject: MQ recycle Reply with quote

Novice

Joined: 24 Feb 2010
Posts: 13

Hi,

I am using MQ ver 6.0.2.7 on SunOS. i am curious to know when was last time MQ was recycled on this. I did a dis qmgr command and found some timestamp on CRDATE and CRTIME. Is this the info. for MQ recycle? if not what is this?
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Jul 07, 2010 10:59 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

CReateDATE and CReateTIME
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
qmgr
PostPosted: Wed Jul 07, 2010 11:05 am    Post subject: Reply with quote

Novice

Joined: 24 Feb 2010
Posts: 13

PeterPotkay wrote:
CReateDATE and CReateTIME


Thanks for your reply. how would i know when was the last time MQ was recycled on the box?
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jul 07, 2010 11:11 am    Post subject: Reply with quote

Grand High Poobah

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

qmgr wrote:
how would i know when was the last time MQ was recycled on the box?



Queue manager logs
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Jul 07, 2010 12:57 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9471
Location: US: west coast, almost. Otherwise, enroute.

Not the message logs, the other logs.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jul 07, 2010 1:11 pm    Post subject: Reply with quote

Grand High Poobah

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

bruce2359 wrote:
Not the message logs, the other logs.


Yes, the ones you can read.

No useful information in the ones you can't.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ramires
PostPosted: Wed Jul 07, 2010 1:12 pm    Post subject: Reply with quote

Knight

Joined: 24 Jun 2001
Posts: 523
Location: Portugal - Lisboa

one more suggestion:

When the queue manager starts, a message is written to SYSTEM.ADMIN.QMGR.EVENT queue, look to the timestamp on that message.

Regards
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Jul 07, 2010 1:35 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9471
Location: US: west coast, almost. Otherwise, enroute.

Quote:
Yes, the ones you can read.

No useful information in the ones you can't.

But how many times have we sent them to the logs, only to have them look at the ones they can't read?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Wed Jul 07, 2010 3:50 pm    Post subject: Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

Vitor wrote:
qmgr wrote:
how would i know when was the last time MQ was recycled on the box?


Queue manager logs


The qmgr error logs do not reliably contain entries that indicate when it was last recycled because the logs may have rolled over.
_________________
Glenn
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Jul 07, 2010 3:57 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9471
Location: US: west coast, almost. Otherwise, enroute.

Good point. For midrange WMQ (Windoze and UNIX), the product only allows for 3 iterations of qmgr logs. Thus, on the 4th cycle, the oldest log is overwritten.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Jul 07, 2010 4:40 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

ramires wrote:
one more suggestion:

When the queue manager starts, a message is written to SYSTEM.ADMIN.QMGR.EVENT queue, look to the timestamp on that message.

Regards

Only if Start/Stop Events are turned on for the Queue Manager, and then only if nothing else has consumed the Start Event message.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Jul 07, 2010 4:44 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9471
Location: US: west coast, almost. Otherwise, enroute.

...and those other reasons (queue full, put-inhibited, ...)
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
ramires
PostPosted: Thu Jul 08, 2010 2:05 am    Post subject: Reply with quote

Knight

Joined: 24 Jun 2001
Posts: 523
Location: Portugal - Lisboa

The qmgr clears SYSTEM.ADMIN.QMGR.EVENT when it starts. But if the queue is inibithed or being consumed, there is no msg there to check timestamp.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu Jul 08, 2010 4:51 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

ramires wrote:
The qmgr clears SYSTEM.ADMIN.QMGR.EVENT when it starts.


No, the QM doesn't clear this queue.

But if there are non persistent messages in the queue and the NP Class of the queue is set to normal, those message will go away upon a QM restart, same as any other queue.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
ramires
PostPosted: Thu Jul 08, 2010 6:19 am    Post subject: Reply with quote

Knight

Joined: 24 Jun 2001
Posts: 523
Location: Portugal - Lisboa

ahh, ok , thanks! I forgot the persistence existence
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 » MQ recycle
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.