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 IndexGeneral IBM MQ Supportautomatic log clean up

Post new topicReply to topic
automatic log clean up View previous topic :: View next topic
Author Message
paustin_ours
PostPosted: Fri Sep 11, 2020 6:19 am Post subject: automatic log clean up Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 660
Location: columbus,oh

How to tell when an automatic log clean up has happened on my MQ91 qmgr

not seeing any entries in the log that states a log clean up has happened.
Back to top
View user's profile Send private message Yahoo Messenger
bruce2359
PostPosted: Fri Sep 11, 2020 6:25 am Post subject: Reply with quote

Poobah

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

What have you done?
_________________
My life flows on in endless song;
How can I keep from singing?
Back to top
View user's profile Send private message
paustin_ours
PostPosted: Fri Sep 11, 2020 6:55 am Post subject: Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 660
Location: columbus,oh

enable automatic log clean up IMGSCHED interval set to 120 but i understand that log clean up can happen at optimum time before or after that.
Back to top
View user's profile Send private message Yahoo Messenger
PeterPotkay
PostPosted: Fri Sep 11, 2020 7:23 am Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7631

bruce2359 wrote:
What have you done?


I've been asked that more than once in my life.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Sep 11, 2020 7:33 am Post subject: Reply with quote

Grand High Poobah

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

paustin_ours wrote:
enable automatic log clean up IMGSCHED interval set to 120 but i understand that log clean up can happen at optimum time before or after that.


What leads you to expect that there would be any reporting of this activity?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Sep 11, 2020 7:34 am Post subject: Reply with quote

Grand High Poobah

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

PeterPotkay wrote:
bruce2359 wrote:
What have you done?


I've been asked that more than once in my life.


It's a constant refrain, like an endless song. But I can keep from singing.

Keep calm and listen to Enya.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Sep 11, 2020 7:35 am Post subject: Reply with quote

Poobah

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

paustin_ours wrote:
enable automatic log clean up IMGSCHED interval set to 120 but i understand that log clean up can happen at optimum time before or after that.

What commands did you issue? What else did you do?
_________________
My life flows on in endless song;
How can I keep from singing?
Back to top
View user's profile Send private message
paustin_ours
PostPosted: Fri Sep 11, 2020 7:58 am Post subject: Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 660
Location: columbus,oh

alter qmgr IMGSCHED(AUTO) IMGRCOVO(NO) IMGINTVL(120)

i do see logs are getting updated to R... and S... extents but i was hoping to find some entry in the log that a record image happened at some specific time.
Back to top
View user's profile Send private message Yahoo Messenger
bruce2359
PostPosted: Fri Sep 11, 2020 8:06 am Post subject: Reply with quote

Poobah

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

I'm confused. The title of the OP is 'automatic log clean up'.

Are you attempting to automatically archive log files no longer needed for restart? Something like that?

What version/release/modification of MQ are you running? Are you using linear logs? Or circular logs?
_________________
My life flows on in endless song;
How can I keep from singing?
Back to top
View user's profile Send private message
paustin_ours
PostPosted: Fri Sep 11, 2020 8:15 am Post subject: Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 660
Location: columbus,oh

let me try explaining a bit better.

linear logging

we used to run record image via script periodically

since we migrated to MQ91, we enabled automatic record imaging.

MQ9102

i see it is working and log extents are getting marked as reusable with a R

All i am trying to find out is when qmgr does the automatic record image, it doesnt seem to write any logs stating that it ran a record image at that time.

is there a way to make it write some log or is there a way to tell when last record image was done.

when i did this manually i know when i run the record image but with this auto set up, i am not sure how to tell when it was run,
Back to top
View user's profile Send private message Yahoo Messenger
bruce2359
PostPosted: Fri Sep 11, 2020 3:26 pm Post subject: Reply with quote

Poobah

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

What are the other IMGxxxx attribute values?

IMGSCHED(AUTO)

IMGINTVL(120)

IMGLOGLN

IMGRCOVO

IMGRCOVQ

There are others, but a good ref on setting these values https://www.ibm.com/support/knowledgecenter/SSFKSJ_9.0.0/com.ibm.mq.con.doc/q018500_.htm
_________________
My life flows on in endless song;
How can I keep from singing?
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexGeneral IBM MQ Supportautomatic log clean up
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.