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 » General IBM MQ Support » Adding MQ logs on AIX

Post new topic  Reply to topic
 Adding MQ logs on AIX « View previous topic :: View next topic » 
Author Message
pfarrel
PostPosted: Fri Jul 29, 2005 5:16 am    Post subject: Adding MQ logs on AIX Reply with quote

Centurion

Joined: 16 Mar 2004
Posts: 120
Location: Kansas City

I have 3 queue managers on one AIX lpar. I tried to add log datasets to one of them, but it didn't seem to work.
I updated the file /var/mqm/qmgrs/<QMNAME>/qm.ini, and change the values:
LogPrimaryFiles=3 LogSecondaryFiles=2
To
LogPrimaryFiles=6 LogSecondaryFiles=6
I noted that there were 5 datasets in /var/mqm/log/<QMNAME>/active.
( with names S000000x.log, s = 0,1,2,3,4 ).
I restarted the qmgr, and ran for several days. There are now only 4 log datasets in var/mqm/log/<QMNAME>/active. I was expecting there to be 6. All 4 have been reused several times. I have circular logging.
What did I do wrong ?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Jul 29, 2005 5:20 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Is it possible you simply didn't need 6 logs worth of space?

Did you receive any errors that indicated you ran out of space?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
pfarrel
PostPosted: Fri Jul 29, 2005 6:00 am    Post subject: Reply with quote

Centurion

Joined: 16 Mar 2004
Posts: 120
Location: Kansas City

It is certainly possible that I didn't need 6 logs. That is to say, my units of work are probably small enough that they don't span multiple logs.
My thinking was that since I already had 5 ( presumably 3 primary, and 2 secondary ), that I needed more primary, and that MQ would allocate more logs as it went along. I was not expecting MQ to delete a log ( bringing the number down from 5 to 4 ).
Doesn't this procedure that I used cause the queue manager to create additional logs, until the value of LogPrimaryFiles in qm.ini is reached ?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Jul 29, 2005 6:04 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It's entirely possible that at peak usage, you only used a little bit of the fifth log.

Secondary log files are deleted when they are not needed. So, likely, you went from using 3 primary and 1 secondary most of the time - with the second secondary used part of the time - to using only 4 primary most of the time.

Try putting a single, large, persistant message to a queue, and see what happens.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Jul 29, 2005 4:41 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

jefflowrey wrote:
Try putting a single, large, persistant message to a queue, and see what happens.

Under syncpoint. Otherwise, for circular logs, the persistent message never hits the log. And even with syncpoint, the persistent message will be removed from the circular log as soon as the UOW is commited.
_________________
Peter Potkay
Keep Calm and MQ On
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 » General IBM MQ Support » Adding MQ logs on AIX
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.