Discussion:
AIX logs required for Media Recovery
Ward Able, Grant
2014-01-23 14:42:04 UTC
Permalink
Hi MQ-Listers,
We had a situation where our log filesystem filled up and we needed to get rid of some files in order to make some space. A debate has raged since then that revolves around which log files are safe to be deleted.

One camp says we need ONLY the file mentioned on AMQ7468 and AMQ7467 in order to achieve media recovery and be able to restart the qmgr.
The other camp says we need all files from the older mentioned in AMQ7468 and AMQ7467 up to the latest.

Which camp is correct? Does anyone know definitively? IBM - please feel free to lay this debate to rest.

AMQ7468
The oldest log file required to perform media recovery of queue manager <insert_3> is <insert_4>.
Severity
0 : Information
Explanation
The log file <insert_4> contains the oldest log record required to re-create any of the objects from their media images. Any log files prior to this will not be accessed by media recovery operations.
Response
Use this information together with the information in the most recent AMQ7467 message. Archivable log files are all those older than BOTH <insert_4> and the log file mentioned in the AMQ7467 message.



Regards - Grant


Grant Ward Able
Senior Systems Architect
Transaction and Messaging Technologies
DTCC London
Phone 0207 650 1496



<BR>_____________________________________________________________
<FONT size=2><BR>
DTCC DISCLAIMER: This email and any files transmitted with it are
confidential and intended solely for the use of the individual or
entity to whom they are addressed. If you have received this email
in error, please notify us immediately and delete the email and any
attachments from your system. The recipient should check this email
and any attachments for the presence of viruses. The company
accepts no liability for any damage caused by any virus transmitted
by this email.</FONT>

To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
T.Rob
2014-01-23 15:14:32 UTC
Permalink
Depends on what you want to do. The tail pointer for restart contains all
the active transactions that must be reconciled as the QMgr boots. The tail
pointer for media recovery contains all the messages currently on queues.
If you have no damaged objects all you need are the restart logs. But then
you don't know whether you have damaged objects if the QMgr is down and
objects might be damaged *after* you delete the logs that contain them. If
you are doing linear logging, the assumption is that you need media
recovery. (Because you get transaction recover with circular logs, so why
take the performance hit of linear if that's all you need.) Retain all the
logs contained by both pointers.



Kind regards,

-- T.Rob



T.Robert Wyatt, Managing partner

IoPT Consulting, LLC

+1 704-443-TROB

https://ioptconsulting.com

https://twitter.com/tdotrob



From: MQSeries List [mailto:MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org] On Behalf Of
Ward Able, Grant
Sent: Thursday, January 23, 2014 9:42 AM
To: MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
Subject: AIX logs required for Media Recovery



Hi MQ-Listers,

We had a situation where our log filesystem filled up and we needed to get
rid of some files in order to make some space. A debate has raged since then
that revolves around which log files are safe to be deleted.



One camp says we need ONLY the file mentioned on AMQ7468 and AMQ7467 in
order to achieve media recovery and be able to restart the qmgr.

The other camp says we need all files from the older mentioned in AMQ7468
and AMQ7467 up to the latest.



Which camp is correct? Does anyone know definitively? IBM - please feel free
to lay this debate to rest.



AMQ7468

The oldest log file required to perform media recovery of queue manager
<insert_3> is <insert_4>.

Severity

0 : Information

Explanation

The log file <insert_4> contains the oldest log record required to re-create
any of the objects from their media images. Any log files prior to this will
not be accessed by media recovery operations.

Response

Use this information together with the information in the most recent
AMQ7467 message. Archivable log files are all those older than BOTH
<insert_4> and the log file mentioned in the AMQ7467 message.






Regards - Grant


Grant Ward Able

Senior Systems Architect

Transaction and Messaging Technologies

DTCC London

Phone 0207 650 1496




_____________________________________________________________
DTCC DISCLAIMER: This email and any files transmitted with it are
confidential and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error, please
notify us immediately and delete the email and any attachments from your
system. The recipient should check this email and any attachments for the
presence of viruses. The company accepts no liability for any damage caused
by any virus transmitted by this email.

_____

List Archive <http://listserv.meduniwien.ac.at/archives/mqser-l.html> -
Manage Your List Settings
<http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1> -
Unsubscribe
<mailto:LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org?subject=Unsubscribe&BODY=signoff%
20mqseries>

Instructions for managing your mailing list subscription are provided in the
Listserv General Users Guide available at http://www.lsoft.com
<http://www.lsoft.com/resources/manuals.asp>


To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
David Awerbuch (BLOOMBERG/ 120 PARK)
2014-01-23 15:16:24 UTC
Permalink
Hi Grant,

The 'other camp' is correct.

There are a number of utilities available on the SupportPac website
http://www-01.ibm.com/support/docview.wss?uid=swg27007197
that you can implement to maintain the aged log files, to minimize disk usage by these archival files.

Look at

MO73 WebSphere MQ Linear Log Clean-up Utility

MS0L WebSphere MQ - Linear Logfile maintenance in Java
MS62 MQSeries - Linear log clean-up script

I hope this helps.

Dave

----- Original Message -----
From: ***@LISTSERV.MEDUNIWIEN.AC.AT
To: ***@LISTSERV.MEDUNIWIEN.AC.AT
At: Jan 23 2014 09:57:23



Hi MQ-Listers,
We had a situation where our log filesystem filled up and we needed to get rid of some files in order to make some space. A debate has raged since then that revolves around which log files are safe to be deleted.

One camp says we need ONLY the file mentioned on AMQ7468 and AMQ7467 in order to achieve media recovery and be able to restart the qmgr.
The other camp says we need all files from the older mentioned in AMQ7468 and AMQ7467 up to the latest.

Which camp is correct? Does anyone know definitively? IBM – please feel free to lay this debate to rest.

AMQ7468
The oldest log file required to perform media recovery of queue manager <insert_3> is <insert_4>.
Severity
0 : Information
Explanation
The log file <insert_4> contains the oldest log record required to re-create any of the objects from their media images. Any log files prior to this will not be accessed by media recovery operations.
Response
Use this information together with the information in the most recent AMQ7467 message. Archivable log files are all those older than BOTH <insert_4> and the log file mentioned in the AMQ7467 message.



Regards - Grant


Grant Ward Able
Senior Systems Architect
Transaction and Messaging Technologies
DTCC London
Phone 0207 650 1496

_____________________________________________________________
DTCC DISCLAIMER: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify us immediately and delete the email and any attachments from your system. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
List Archive - Manage Your List Settings - Unsubscribe
Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com


<< "Once the game is over, the king and the pawn go back into the same box." - Anon >>
Loading...