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 » Circular Logging

Post new topic  Reply to topic
 Circular Logging « View previous topic :: View next topic » 
Author Message
mqmike
PostPosted: Fri Aug 25, 2006 4:55 am    Post subject: Circular Logging Reply with quote

Acolyte

Joined: 09 Jul 2004
Posts: 63

I understand that circular logging is used to provide restart recovery. Are all messages still logged in circular logging though - i.e. updates are made to the logs first and then to the queues or is that just in linear?

Also if I use circular logging with 10 Primaries, will I always see 10 log files in the filesystem (assuming no secondaries have kicked in), or are they only used as needed. E.g. only three active logs are actaully needed by the queue manager so after finishing with the third, it will then go overwrite the first.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Aug 25, 2006 5:00 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Circular vs Linear logging does not affect whether messages are logged or not.

Primary log files always exist. So if you define 10 primary logs under ciruclar logging, the rollover to the first log file will happen when the 10th log file is full.

Secondary log files are created or deleted as needed.

I'm not positive, without looking it up, about whether log rollover will occur when the last primary log is full but there are available secondary logs.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mqmike
PostPosted: Fri Aug 25, 2006 5:05 am    Post subject: Reply with quote

Acolyte

Joined: 09 Jul 2004
Posts: 63

Thanks for the quick repsonse!

One of our qmgrs (circular) has 11 primaries and 1 secondary defined. Only 10 logs appear in the directory though which is odd - I would have expected 11.

Also it flies through the 10 logs in the space of about 3 mins - suggesting to me that the logs files aren't large enough - would you agree?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Aug 25, 2006 5:13 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Maybe someone changed the LogPrimary value, but didn't restart the queue manager.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
vennela
PostPosted: Sun Aug 27, 2006 8:22 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

If you have defined 20 logfiles and see only 10 then that's not uncommon. More logfiles will be created as necessary and not upfront.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Circular Logging
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.