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 » Upgrade logs on AIX Queue Manager

Post new topic  Reply to topic Goto page Previous  1, 2
 Upgrade logs on AIX Queue Manager « View previous topic :: View next topic » 
Author Message
bbburson
PostPosted: Wed Jan 05, 2005 2:34 pm    Post subject: Re: Increase primary and Secondary Files to increase the num Reply with quote

Partisan

Joined: 06 Jan 2004
Posts: 378
Location: Nowhere near a queue manager

kingsley wrote:
Look one line below in the same post

Increase primary and Secondary Files to increase the number of Logs.


You can't increase the log file already existed. New logfiles which are being created will use the new value and will increase in size.


No they are not created with larger size. Here's what I just did (MQ v5.3 CSD08, Solaris 9):

Created new queue manager with linear logs, LogFilePages=64 (the minimum allowed), primary logs=2 (the minimum allowed), secondary logs=1 (the minimum allowed).

MQ created 3 log files, each with size 270336.

Created a queue with DEFPSIST(YES) and put a bunch of messages until a new log file got created. It was also size 270336.

Stopped queue manager with endmqm. Edited qm.ini and increased LogFilePages=4096.

Restarted queue manager and put more messages on queue until additional log files were created. THEY ARE ALL SIZE 270336.
Back to top
View user's profile Send private message
vennela
PostPosted: Wed Jan 05, 2005 2:53 pm    Post subject: Reply with quote

Jedi Knight

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

That is not the real test.
You should also change the number of log files. Change the number of log files to 5 and secondary to 2 and put msgs so that you will get the 5th log file and see the size of it.

I don't know the result but I am curious to know and since you already have the env setup you might test it.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
PeterPotkay
PostPosted: Wed Jan 05, 2005 2:57 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

This content is extracted from the System Administration Guide in Page 102 (124 of 560) in the Pdf file for MQ V5.3


Quote:

LogFilePages=number
The log data is held in a series of files called log files. The log file size is specified in units of 4 KB pages. In WebSphere MQ for UNIX systems, the default number of log file pages is 1024, giving a log file size of 4 MB. The minimum number of log file pages is 64 and the maximum is 16 384. In WebSphere MQ for Windows NT and Windows 2000, the default number of log file pages is 256, giving a log file size of 1 MB. The minimum number of log file pages is 32 and the maximum is 16 384.

Note: The size of the log files specified during queue manager creation cannot be changed for a queue manager.



And on Page 200
Quote:

Notes:
1. You can change the number of primary and secondary log files each time the queue manager starts.
2. You cannot change the log file size; you must determine it before creating the queue manager.


Seems pretty clear to me.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
bbburson
PostPosted: Thu Jan 06, 2005 6:44 am    Post subject: Reply with quote

Partisan

Joined: 06 Jan 2004
Posts: 378
Location: Nowhere near a queue manager

vennela wrote:
That is not the real test.
You should also change the number of log files. Change the number of log files to 5 and secondary to 2 and put msgs so that you will get the 5th log file and see the size of it.

I don't know the result but I am curious to know and since you already have the env setup you might test it.


OK, I did that and reran all my tests with CIRCULAR logging as well. Results remain the same: all the log files have the size specified when the queue manager is first created.

'Nuff said on this, I think.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Upgrade logs on AIX Queue Manager
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.