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 Discussion » Active logs and space considerations

Post new topic  Reply to topic
 Active logs and space considerations « View previous topic :: View next topic » 
Author Message
velocity
PostPosted: Thu Mar 12, 2009 5:43 am    Post subject: Active logs and space considerations Reply with quote

Centurion

Joined: 30 Nov 2007
Posts: 126

Hi Guys -

The business requirement needs for us to increase log file sizes to

logPrimaryfiles=70(i think 63 is max)
logSecondaryfiles=30

The max queue depth is increased to 150,000 to accomodate messages for 15 mins just incase the application servicing that queue goes down. Messages are persistent and we are using circular logging.

Each logfile size is 4MB. 1kb messages fill up the queue. I am wondering how can we calculate if the queue is full, the disk space in /var/mqm/log will be sufficient for the logs to support this scenerio.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Mar 12, 2009 5:49 am    Post subject: Re: Active logs and space considerations Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

velocity wrote:
logPrimaryfiles=70(i think 63 is max)


I think the max is 254, or 510 if you're using Unix.

velocity wrote:
I am wondering how can we calculate if the queue is full,


If the queue is full / out of disc (these are 2 different scenarios) the logging is irrelevant.

velocity wrote:
the disk space in /var/mqm/log will be sufficient for the logs to support this scenerio.


It's just a question of multiplying the numbers together to get total disc needed
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
velocity
PostPosted: Thu Mar 12, 2009 5:56 am    Post subject: Reply with quote

Centurion

Joined: 30 Nov 2007
Posts: 126

Thanks! Now this is right out of the manual..what does this mean?

LogPrimaryFiles=3|2-62 Primary log files are the log files allocated during creation for future use. The minimum number of primary log files you can have is 2 and the maximum is 62. The default is 3. The total number of primary and secondary log files must not exceed 63, and must not be less than 3.

I am trying to research if we have sufficient diskspace to support this kind of logging. How can I do this? I guess your 3rd point addresses it, not that i get it
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Mar 12, 2009 5:58 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

velocity wrote:
Thanks! Now this is right out of the manual..what does this mean?


What manual? Post the link. I'm betting it contains "middleware.its.state.nc.us" in the address
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
velocity
PostPosted: Thu Mar 12, 2009 6:03 am    Post subject: Reply with quote

Centurion

Joined: 30 Nov 2007
Posts: 126

Websphere MQ system admin guide v6 page 96.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Mar 12, 2009 6:04 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

velocity wrote:
I guess your 3rd point addresses it, not that i get it


Total Disc space = size of log pages * number of log pages per log * max number of primary logs * max number of secondary logs.


_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
velocity
PostPosted: Thu Mar 12, 2009 6:30 am    Post subject: Reply with quote

Centurion

Joined: 30 Nov 2007
Posts: 126

Quote:
Total Disc space = size of log pages * number of log pages per log * max number of primary logs * max number of secondary logs.


Total disk space = 4k*1k*70*30=8808 MB

where number of log pages per log=log file size/size of log page= 4MB/4KB = 1KB.

Hope I got this right..Pls correct me if I am wrong.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Mar 12, 2009 6:45 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

velocity wrote:
Websphere MQ system admin guide v6 page 96.


Interesting. My copy of the WMQv6 System Admin Guide talks about the MQ Explorer on page 96. The part you're quoting should be much further down the book.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
velocity
PostPosted: Thu Mar 12, 2009 6:51 am    Post subject: Reply with quote

Centurion

Joined: 30 Nov 2007
Posts: 126

it is given under 'log defaults for Websphere MQ,
chapter 9: configuring websphere MQ.

By the way, I looked at /var/mqm/logs and found logfiles each of around 4MB size..if there are a total of 70+30 = 100 log files(primary and secondary) I get to around 400MB size of total disc space consumed by logs..but my calculation in the previous post doesnt match up..

HELP
Back to top
View user's profile Send private message
velocity
PostPosted: Thu Mar 12, 2009 6:54 am    Post subject: Reply with quote

Centurion

Joined: 30 Nov 2007
Posts: 126

Quote:
Total Disc space = size of log pages * number of log pages per log * max number of primary logs * max number of secondary logs


should this be:

Total Disc space = size of log pages * number of log pages per log * (max number of primary logs + max number of secondary logs)..?
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Mar 12, 2009 7:01 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

velocity wrote:
it is given under 'log defaults for Websphere MQ,
chapter 9: configuring websphere MQ.


That's not on page 98 in the v6 version of the manual, nor does the v6 version of the manual give 63 as the maximum number of primary logs. I suggest you have a closer look at the front sheet of that manual.....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Mar 12, 2009 7:01 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

velocity wrote:
Quote:
Total Disc space = size of log pages * number of log pages per log * max number of primary logs * max number of secondary logs


should this be:

Total Disc space = size of log pages * number of log pages per log * (max number of primary logs + max number of secondary logs)..?


Yes, probably.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Mar 12, 2009 7:01 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9470
Location: US: west coast, almost. Otherwise, enroute.

SC34-6548-00 WMQ (v6) System Admin Guide, page 229 "Calculating the size of the log," p229, is a good read. There is a table giving sizing information, too.

Same manual, crtmqm command, p299, another good read.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
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 Discussion » Active logs and space considerations
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.