|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
Upgrade logs on AIX Queue Manager |
« View previous topic :: View next topic » |
Author |
Message
|
bbburson |
Posted: Wed Jan 05, 2005 2:34 pm Post subject: Re: Increase primary and Secondary Files to increase the num |
|
|
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 |
|
 |
vennela |
Posted: Wed Jan 05, 2005 2:53 pm Post subject: |
|
|
 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 |
|
 |
PeterPotkay |
Posted: Wed Jan 05, 2005 2:57 pm Post subject: |
|
|
 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 |
|
 |
bbburson |
Posted: Thu Jan 06, 2005 6:44 am Post subject: |
|
|
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 |
|
 |
|
|
|
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
|
|
|
|