Author |
Message
|
paustin_ours |
Posted: Fri Aug 14, 2020 5:45 pm Post subject: MQ media log not advancing |
|
|
Yatiri
Joined: 19 May 2004 Posts: 667 Location: columbus,oh
|
Circular logging. Last log file needed for media recovery not advancing even though i run a rcdimg log clean up script. I see the media images are getting recorded but the qmstatus still shows a log file that is long gone. It is not even there anymore.
how do i get it to advance.
dspmqtrn doesnt show this log file that is pointing to either. |
|
Back to top |
|
 |
hughson |
Posted: Fri Aug 14, 2020 9:06 pm Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
Was it a typo when you said "Circular logging" or are you truly using circular logging? The reason I ask is because media recovery is not possible on a queue manager using a circular log. If you run the rcdmqimg command, it will tell you that.
Either way can you show us the command and the output of running the rcdmqimg command(s), and the output of MQSC command DISPLAY QMSTATUS ALL
Cheers,
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
paustin_ours |
Posted: Sat Aug 15, 2020 5:40 am Post subject: |
|
|
Yatiri
Joined: 19 May 2004 Posts: 667 Location: columbus,oh
|
oops my bad. It is Linear. No idea why i put Circular. |
|
Back to top |
|
 |
paustin_ours |
Posted: Sat Aug 15, 2020 6:00 am Post subject: |
|
|
Yatiri
Joined: 19 May 2004 Posts: 667 Location: columbus,oh
|
rcdmqimg -m $1 -l -t all '*'
QMNAME(*****) STATUS(RUNNING)
CONNS(235) CMDSERV(RUNNING)
CHINIT(RUNNING) INSTNAME(MQ80)
INSTPATH(******) INSTDESC(WMQ80013)
LDAPCONN(INACTIVE) STANDBY(NOPERMIT)
CURRLOG(S1546206.LOG) RECLOG(S1546204.LOG)
MEDIALOG(S1543204.LOG) STARTDA(2020-08-14)
STARTTI(22.52.24)
S1543204.LOG is not even there anymore. Since the FS filled up, had to manually delete and free up some space. |
|
Back to top |
|
 |
bruce2359 |
Posted: Sat Aug 15, 2020 6:11 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
paustin_ours wrote: |
S1543204.LOG is not even there anymore. Since the FS filled up, had to manually delete and free up some space. |
Are you saying that you manually deleted the now-missing log file? _________________ 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: Sat Aug 15, 2020 12:32 pm Post subject: |
|
|
Yatiri
Joined: 19 May 2004 Posts: 667 Location: columbus,oh
|
Yes. Had to FS filled up. |
|
Back to top |
|
 |
bruce2359 |
Posted: Sat Aug 15, 2020 12:45 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Ok. Your FS filled. What lead you to decide to delete a log file needed for media recovery? How big was the file?
The recommended practice is to archive (to another FS) log files you lo longer need. Otherwise, you should leave IBMs file system untouched. _________________ 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: Sat Aug 15, 2020 2:48 pm Post subject: |
|
|
Yatiri
Joined: 19 May 2004 Posts: 667 Location: columbus,oh
|
Anyway to make the qmgr recover? |
|
Back to top |
|
 |
bruce2359 |
Posted: Sat Aug 15, 2020 3:02 pm Post subject: Re: MQ media log not advancing |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
paustin_ours wrote: |
i run a rcdimg log clean up script. |
What script? What does it do exactly?
Other than reporting a non-existent log, what issue/problem are you facing? _________________ 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: Sat Aug 15, 2020 3:18 pm Post subject: |
|
|
Yatiri
Joined: 19 May 2004 Posts: 667 Location: columbus,oh
|
qmgr is running fine. The script runs
rcdmqimgand then IBM cleanlogs
since the media log is pointing to a non existent log file, subsequent log clean up script runs is not cleaning up logs. The FS keeps growing. |
|
Back to top |
|
 |
bruce2359 |
Posted: Sat Aug 15, 2020 7:19 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Aug 15, 2020 8:09 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Never liked this one any much. Requires Perl...
Whereas there used to be the MS0L support pack Java archiving of linear logs... Alas it has been retired and doesn't even show up in the retired fix packs any more. I guess they really want to push you towards using the qmgr to archive its own logs...
See TRobs blog on the matter https://t-rob.net/2015/02/22/windows-mq-log-maintenance-that-really-works/  _________________ MQ & Broker admin |
|
Back to top |
|
 |
hughson |
Posted: Sun Aug 16, 2020 12:26 am Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
Can you show us your rcdmqimg script? Assume you have not recorded media images for all objects, and thus there is something that still requires the old log file. If you show us the command we might be able to tell you what is missing.
EDIT: Oops, I must have missed it before, I see that you did tell us the command:-
paustin_ours wrote: |
rcdmqimg -m $1 -l -t all '*' |
I see that you are using the -l flag which should tell you the log files now required, as part of the output of the command.
Can you show us the output when you run this command? Perhaps that will shed some light.
Cheers,
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
paustin_ours |
Posted: Sun Aug 16, 2020 3:12 am Post subject: |
|
|
Yatiri
Joined: 19 May 2004 Posts: 667 Location: columbus,oh
|
we have over 50k queues and the output is an image recorded entry for each of them
at the end it has the below
Media image for object SYSTEM.SELECTION.EVALUATION.QUEUE, type queue recorded.
Media image for object SYSTEM.SELECTION.VALIDATION.QUEUE, type queue recorded.
AMQ7467: The oldest log file required to start queue manager ***** is S1546383.LOG.
AMQ7468: The oldest log file required to perform media recovery of queue manager ***** is S1543204.LOG.
cleanmqlogs: ****: Needed for Media Recovery: S1543204.LOG
cleanmqlogs: ****: Needed for Qmgr Restart: S1546385.LOG
as you can see it is still pointing to the S1543204.LOG |
|
Back to top |
|
 |
hughson |
Posted: Sun Aug 16, 2020 3:16 am Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
Are there any of the objects that note an error to record their media image?
Does this command show up anything?
DISPLAY QS(*) WHERE(MEDIALOG EQ S1543204.LOG)
Cheers,
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
|