Author |
Message
|
paustin_ours |
Posted: Sun Aug 16, 2020 3:50 am Post subject: |
|
|
Yatiri
Joined: 19 May 2004 Posts: 667 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 |
|
 |
bruce2359 |
Posted: Sun Aug 16, 2020 5:11 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 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. _________________ 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 |
|
 |
hughson |
Posted: Sun Aug 16, 2020 12:32 pm Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 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 |
|
 |
hughson |
Posted: Sun Aug 16, 2020 7:55 pm Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 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 |
|
 |
paustin_ours |
Posted: Mon Aug 17, 2020 3:46 am Post subject: |
|
|
Yatiri
Joined: 19 May 2004 Posts: 667 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 |
|
 |
paustin_ours |
Posted: Thu Aug 20, 2020 9:12 am Post subject: |
|
|
Yatiri
Joined: 19 May 2004 Posts: 667 Location: columbus,oh
|
anyway to recover from this? |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Aug 20, 2020 10:11 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Open an incident with IBM. _________________ 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 |
|
 |
hughson |
Posted: Thu Aug 20, 2020 6:48 pm Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 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 |
|
 |
paustin_ours |
Posted: Sun Aug 23, 2020 5:06 am Post subject: |
|
|
Yatiri
Joined: 19 May 2004 Posts: 667 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 |
|
 |
bruce2359 |
Posted: Sun Aug 23, 2020 6:51 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 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. _________________ 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 |
|
 |
fjb_saper |
Posted: Sun Aug 23, 2020 10:28 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
hughson |
Posted: Mon Aug 24, 2020 12:57 am Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 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 |
|
 |
|