Hello MQ community users,
I have an AIX QM (v9.1.x LTS) that was initially configured (10 years ago) to use Linear Logging without Log management (Automatic or Archive) of log extents (qm.ini -> Log stanza). Recently (less than a year) the QM was configured to use Circular logging).
The above resulted to 518 log extents (S000xxxx.LOG) under /var/mqm/log/QMGRname/active...
(oldest: S0005684.LOG...........most recent: S0006199.LOG).
AMQ8705I: Display Queue Manager Status Details.
QMNAME(xxxxxx) STATUS(RUNNING)
ARCHLOG( ) ARCHSZ(0)
CURRLOG(S0006199.LOG) LOGINUSE(8)
LOGPATH(/var/mqm/log/MQDLRP/active/) LOGUTIL(25)
MEDIALOG(S0006186.LOG) MEDIASZ(51)
RECLOG(S0006199.LOG) RECSZ(1)
REUSESZ(0)
The oldest log required for QM's recovery is S0006186.LOG (MEDIALOG VALUE), meaning that only 16 out of 518 log extents are actually need for QM's recovery.
My question is the f ollowing:
Given that currently QM is configured to use CIRCULAR LOGGING, is there a way to automatically clean/delete unused log extents, similar to the way Automatic or Archive Log Management handles not required log extents on LINEAR LOGGING?
For instance, is it recommended to use the RESET QMGR TYPE(REDUCELOG) REDUCE(MAX or AUTO) in order to reduce the max no of log extents possible, or delete the unused/not required log extents manually (obviously when QM is not running)?
Since we are dealing with a Production QM, which is the suggested way?
Any advise will be much appreciated.
Thanks in Advance,
Rgds, Nick.
------------------------------
NICK DAKORONIAS
Application Integration & Middleware Solution Certified Specialist
Kyndryl
Athens
------------------------------