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 SupportMQ media log not advancing

Post new topicReply to topic Goto page Previous  1, 2
MQ media log not advancing View previous topic :: View next topic
Author Message
paustin_ours
PostPosted: Sun Aug 16, 2020 3:50 am Post subject: Reply with quote

Yatiri

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

DISPLAY QS(*) WHERE(MEDIALOG EQ S1543204.LOG)
1 : DISPLAY QS(*) WHERE(MEDIALOG EQ S1543204.LOG)
AMQ8565: Queue status not found.
Back to top
View user's profile Send private message Yahoo Messenger
bruce2359
PostPosted: Sun Aug 16, 2020 5:11 am Post subject: Reply with quote

Poobah

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

Media recovery with rcdmqimg/rcrmqobj seemed a cool solution initially, but now seems to me to make sense for qmgrs with few queues containing few and small messages.

Recording already logged messages and queue defs to the same log seems to me to violate the "don't (MQ)put all eggs in one basket" practice. With thousands of queues and large messages, fill up a file system. Lose a needed log file, lose the ability to rcrmqobj.
_________________
My life flows on in endless song;
How can I keep from singing?
Back to top
View user's profile Send private message
hughson
PostPosted: Sun Aug 16, 2020 12:32 pm Post subject: Reply with quote

Grand Master

Joined: 09 May 2013
Posts: 1486
Location: Bay of Plenty, New Zealand

And are there any errors in the output of your rcdmqobj command that might indicate which object has not had its image recorded?
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
hughson
PostPosted: Sun Aug 16, 2020 7:55 pm Post subject: Reply with quote

Grand Master

Joined: 09 May 2013
Posts: 1486
Location: Bay of Plenty, New Zealand

bruce2359 wrote:
Media recovery with rcdmqimg/rcrmqobj seemed a cool solution initially, but now seems to me to make sense for qmgrs with few queues containing few and small messages.

Recording already logged messages and queue defs to the same log seems to me to violate the "don't (MQ)put all eggs in one basket" practice. With thousands of queues and large messages, fill up a file system. Lose a needed log file, lose the ability to rcrmqobj.

The idea of a recorded media image is that you DON'T have to go back through ALL the old log files, you only have to replay those AFTER the point where you recorded the media image. If you don't record media images, then without all the old log files you wouldn't be able to recover an object. If you do record media images, then you can housekeep your log files that you no longer need and still be able to recover an object.

wrt queues with few or no messages, clearly this is a very good time to take a media image of a queue, and that is exactly what the queue manager does if you use the recently added feature that tells it to take the media images for you.

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
paustin_ours
PostPosted: Mon Aug 17, 2020 3:46 am Post subject: Reply with quote

Yatiri

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

Quote:

And are there any errors in the output of your rcdmqobj command that might indicate which object has not had its image recorded?


checked and no, there are no errors. All are successful media image recorded messages.
Back to top
View user's profile Send private message Yahoo Messenger
paustin_ours
PostPosted: Thu Aug 20, 2020 9:12 am Post subject: Reply with quote

Yatiri

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

anyway to recover from this?
Back to top
View user's profile Send private message Yahoo Messenger
bruce2359
PostPosted: Thu Aug 20, 2020 10:11 am Post subject: Reply with quote

Poobah

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

Open an incident with IBM.
_________________
My life flows on in endless song;
How can I keep from singing?
Back to top
View user's profile Send private message
hughson
PostPosted: Thu Aug 20, 2020 6:48 pm Post subject: Reply with quote

Grand Master

Joined: 09 May 2013
Posts: 1486
Location: Bay of Plenty, New Zealand

I agree with @bruce2359 - I suspect we have exhausted the possibilities of "fixing" this with normal MQ operations. It would seem that your rcdmqimg command successfully recorded a media image for all objects, and yet the queue manager still believes that there is something that requires that old log file for media recovery.

This would appear from the outside to be defective behaviour and therefore you need help from IBM to discover what is going on. They may be able to tell you why the queue manager believes it still needs that log file, or they may be able to discover some other problem that is impacting the situation.

Do come back here and tell us what resolution you got though - am v. curious.

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
paustin_ours
PostPosted: Sun Aug 23, 2020 5:06 am Post subject: Reply with quote

Yatiri

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

Resolution was to cold start. Create a dummy qmgr with same number of logs. Copy that to problem qmgr and start it. This worked.
Back to top
View user's profile Send private message Yahoo Messenger
bruce2359
PostPosted: Sun Aug 23, 2020 6:51 am Post subject: Reply with quote

Poobah

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

paustin_ours wrote:
Resolution was to cold start. Create a dummy qmgr with same number of logs. Copy that to problem qmgr and start it. This worked.

Circumvented, not resolved.
_________________
My life flows on in endless song;
How can I keep from singing?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Aug 23, 2020 10:28 am Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20382
Location: LI,NY

usually what I would do in this case is a reset qmgr type(advancelog)
then run rcdmqimg then you can do a reset qmgr type(reducelog) reduce(max)...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
hughson
PostPosted: Mon Aug 24, 2020 12:57 am Post subject: Reply with quote

Grand Master

Joined: 09 May 2013
Posts: 1486
Location: Bay of Plenty, New Zealand

paustin_ours wrote:
Resolution was to cold start. Create a dummy qmgr with same number of logs. Copy that to problem qmgr and start it. This worked.

Was this the resolution IBM gave you? Did they say what the problem was that required this resolution?

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:
Post new topicReply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum IndexGeneral IBM MQ SupportMQ media log not advancing
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.