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 Index » IBM MQ Installation/Configuration Support » SupportPac MS62 cleanmqlog is not removing archive logs

Post new topic  Reply to topic
 SupportPac MS62 cleanmqlog is not removing archive logs « View previous topic :: View next topic » 
Author Message
harimhkr
PostPosted: Sat Jun 05, 2021 12:59 pm    Post subject: SupportPac MS62 cleanmqlog is not removing archive logs Reply with quote

Novice

Joined: 08 Jan 2013
Posts: 22

We are using linear logging and have recently upgraded MQ from v7.5 to v9.1.0.7

After the upgrade the active log cleanup is not happening, and on browsing found out that the MS62 is not supported by IBM and it stopped clearing logs from v9.0 onwards.

in MQ v7.5 we used to run the MQMAINT job daily and it used to take a backup of the QMGR artifacts and clean up up the active log files. Now since the Cleanup is not working its filling up the File system.

Can someone please help or guide if there is an alternative support pack we can use to remove the active log files. As per the IBM manual, it points us to the rcdmqimg and dmpmqlog. any examples on how it can be done will be helpfull
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Jun 06, 2021 12:11 am    Post subject: Reply with quote

Grand High Poobah

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

You need to look at qm.ini and set logs to automatic. In the log stanza set the log management to automatic (output or amqmdain: LogManagement, Value = Automatic) Then go to the qmgr and fill in the relevant fields and let the queue manager take care of cleaning up the logs. You can force the first cleanup to reclaim space with the reset qmgr command:
Code:
reset qmgr type(reducelog) reduce(max)

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
harimhkr
PostPosted: Sun Jun 06, 2021 5:29 am    Post subject: Reply with quote

Novice

Joined: 08 Jan 2013
Posts: 22

thanks for the reply ---

Added extra storage and Cleaned up the active logs manually for now and restarted the QM, which resolved the filesystem issues.

But to test the Auto cleaning option on a test QM i have edited the QM.ini stanza and included the 'LogManagement=Automatic' and restarted the QM.

Now when ever we run the mqmaint job its clearing out some of the active logs.and this with this we are acheiving what was like before but,

Just wanted to check what are the relevant that you were referring to --- 'Then go to the qmgr and fill in the relevant fields and let the queue manager take care of cleaning up the logs'

NOTE: the QM is in linear logging mode.

Please advice. And thank you very much for the reply
Back to top
View user's profile Send private message
exerk
PostPosted: Mon Jun 07, 2021 12:26 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

harimhkr wrote:
...Just wanted to check what are the relevant that you were referring to --- 'Then go to the qmgr and fill in the relevant fields and let the queue manager take care of cleaning up the logs'...

I believe that what fjb_saper was referring to is automatic media imaging: Taking media images automatically - linear logging only.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » SupportPac MS62 cleanmqlog is not removing archive logs
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.