Author |
Message
|
paustin_ours |
Posted: Fri Sep 11, 2020 6:19 am Post subject: automatic log clean up |
|
|
Yatiri
Joined: 19 May 2004 Posts: 667 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 |
|
|
bruce2359 |
Posted: Fri Sep 11, 2020 6:25 am Post subject: |
|
|
Poobah
Joined: 05 Jan 2008 Posts: 9442 Location: US: west coast, almost. Otherwise, enroute.
|
What have you done? _________________ 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 |
|
|
paustin_ours |
Posted: Fri Sep 11, 2020 6:55 am Post subject: |
|
|
Yatiri
Joined: 19 May 2004 Posts: 667 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 |
|
|
PeterPotkay |
Posted: Fri Sep 11, 2020 7:23 am Post subject: |
|
|
Poobah
Joined: 15 May 2001 Posts: 7719
|
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 |
|
|
Vitor |
Posted: Fri Sep 11, 2020 7:33 am Post subject: |
|
|
Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 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 |
|
|
Vitor |
Posted: Fri Sep 11, 2020 7:34 am Post subject: |
|
|
Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 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 |
|
|
bruce2359 |
Posted: Fri Sep 11, 2020 7:35 am Post subject: |
|
|
Poobah
Joined: 05 Jan 2008 Posts: 9442 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? _________________ 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 |
|
|
paustin_ours |
Posted: Fri Sep 11, 2020 7:58 am Post subject: |
|
|
Yatiri
Joined: 19 May 2004 Posts: 667 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 |
|
|
bruce2359 |
Posted: Fri Sep 11, 2020 8:06 am Post subject: |
|
|
Poobah
Joined: 05 Jan 2008 Posts: 9442 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? _________________ 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 |
|
|
paustin_ours |
Posted: Fri Sep 11, 2020 8:15 am Post subject: |
|
|
Yatiri
Joined: 19 May 2004 Posts: 667 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 |
|
|
bruce2359 |
Posted: Fri Sep 11, 2020 3:26 pm Post subject: |
|
|
Poobah
Joined: 05 Jan 2008 Posts: 9442 Location: US: west coast, almost. Otherwise, enroute.
|
|
Back to top |
|
|
|