Author |
Message
|
rickwatsonb |
Posted: Wed Dec 14, 2011 1:29 pm Post subject: MQ 7.1 LogDefaults |
|
|
 Voyager
Joined: 15 Aug 2006 Posts: 87 Location: USA: Mid-West
|
Hi
MQ 6.0.2.x had a list of LogDefaults in the mqsi.ini file as shown below. The MQ 7.1 mqsi.ini file has much fewer LogDefaults.
Do I need to add to the MQ 7.1 mqsi.ini LogDefaults so the log size will be produced as expected? I cannot find any info on this change - my logs in 7.1 are now 4 times the size they were in 6.0.2.x and TOO Big!
MQ 6.0.2.x
LogDefaults:
LogPrimaryFiles=3
LogSecondaryFiles=2
LogFilePages=1024
LogType=CIRCULAR
LogBufferPages=0
LogDefaultPath=/var/mqm/log
MQ 7.1
LogDefaults:
LogDefaultPath=/var/mqm/log
thanks |
|
Back to top |
|
 |
mvic |
Posted: Wed Dec 14, 2011 5:45 pm Post subject: Re: MQ 7.1 LogDefaults |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
rickwatsonb wrote: |
my logs in 7.1 are now 4 times the size they were in 6.0.2.x and TOO Big! |
- Are they bigger than in 7.0 ? |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Dec 14, 2011 7:19 pm Post subject: Re: MQ 7.1 LogDefaults |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9471 Location: US: west coast, almost. Otherwise, enroute.
|
rickwatsonb wrote: |
...my logs in 7.1 are now 4 times the size they were in 6.0.2.x and TOO Big! |
Please post the ini log values from a 7.1 qmgr. I don't have access to 7.1 yet. _________________ 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 |
|
 |
Michael Dag |
Posted: Thu Dec 15, 2011 1:52 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
I see the LogFilePages to be 4096 on my newly created V7.1 Qmgrs.
when you change the default in the explorer, it is added to the mqs.ini _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
rickwatsonb |
Posted: Thu Dec 15, 2011 7:19 am Post subject: |
|
|
 Voyager
Joined: 15 Aug 2006 Posts: 87 Location: USA: Mid-West
|
Hi,
Thank you all for your replies. (mqs.ini files from MQ 7.1 and 6.x are shown below.)
I do not see where the log file page size is set in MQ 7.1, or most of the other mqs.ini defaults. In MQ 6.x it was set in the mqs.ini file (default 1024), in MQ 7.1 there is no default log file page size value in the mqs.ini file. So, where is it set PRIOR to creating the queue manager?
The MQ 7.1 mqs.ini file is shown below, along with an mqs.ini file from MQ 6.x. Also, the logs created from each of the MQ versions are shown below. Again, the default for MQ 6.x is 1024 page size, and the default for MQ 7.1 is set in an unknown location and is much larger so that the logs are 4 times the size of those created in MQ 6.x.
Background: We are doing a server upgrade - going from Solaris and MQ 6.0.2.10 (live) to Linux (not currently live). We started with MQ 7.0.1 on Linux for a couple of weeks in EXP and then went to 7.1 after it came out in November. So, I do not have any 7.0.1 info to compare with MQ 7.1.
MQ 7.1 mqs.ini file (minus most commented lines)
AllQueueManagers:
#********************************************************************#
#* The path to the qmgrs directory, below which queue manager data *#
#* is stored *#
#********************************************************************#
DefaultPrefix=/var/mqm
LogDefaults:
LogDefaultPath=/var/mqm/log
QueueManager:
Name=TEST.QMGR
Prefix=/var/mqm
Directory=TEST!QMGR
InstallationName=Installation1
MQ 7.1 Logs created: (~16 MB size)
mqm@Linux_DEV_7.1:/var/mqm/log> ll TEST!QMGR/active
-rw-rw---- 1 mqm mqm 16785408 2011-12-15 08:58 S0000000.LOG
-rw-rw---- 1 mqm mqm 16785408 2011-12-14 16:05 S0000001.LOG
-rw-rw---- 1 mqm mqm 16785408 2011-12-14 16:05 S0000002.LOG
--------------------------------------------------------
MQ 6.x mqs.ini file (minus most commented lines)
AllQueueManagers:
#********************************************************************#
#* The path to the qmgrs directory, below which queue manager data *#
#* is stored *#
#********************************************************************#
DefaultPrefix=/var/mqm
ClientExitPath:
ExitsDefaultPath=/var/mqm/exits
ExitsDefaultPath64=/var/mqm/exits64
LogDefaults:
LogPrimaryFiles=3
LogSecondaryFiles=2
LogFilePages=1024
LogType=CIRCULAR
LogBufferPages=0
LogDefaultPath=/var/mqm/log
QueueManager:
Name=TEST.QMGR
Prefix=/var/mqm
Directory=TEST!QMGR
MQ 6.x Logs created: (~4 MB size)
Solaris_DEV_6.0.2.10:/var/mqm/log/TEST183QMGR>ll active
-rw-rw---- 1 mqm mqm 4202496 Dec 15 09:13 S0000000.LOG
-rw-rw---- 1 mqm mqm 4202496 Dec 15 09:13 S0000001.LOG
-rw-rw---- 1 mqm mqm 4202496 Dec 15 09:13 S0000002.LOG |
|
Back to top |
|
 |
exerk |
Posted: Thu Dec 15, 2011 7:39 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
The V6.0 Info Centre states: "...In WebSphere MQ for UNIX systems, the default number of log file pages is 1024, giving a log file size of 4 MB...".
The V7.0.1 Info Centre states: "...In WebSphere MQ for UNIX systems, the default number of log file pages is 4096, giving a log file size of 16 MB...".
The V7.1 Info Centre states: "...In WebSphere MQ for UNIX and Linux systems, the default number of log file pages is 4096, giving a log file size of 16 MB...".
So, no change between V7.x but by a factor of four between V6.0 and V7.x. I suspect that is for good reason, but would need Hursley to provide what that is. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
rickwatsonb |
Posted: Thu Dec 15, 2011 8:24 am Post subject: |
|
|
 Voyager
Joined: 15 Aug 2006 Posts: 87 Location: USA: Mid-West
|
Hi,
Thank you exerk for compiling the information.
Perhaps Hursley could have somone update the info on the "Changes from Websphere MQ version 6.0 to Websphere MQ version 7.1" in the MQ 7 InfoCenter. The change in the default log file size is not included in this listing.
Thank you all! |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Dec 15, 2011 8:33 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
rickwatsonb wrote: |
Hi,
Thank you exerk for compiling the information.
Perhaps Hursley could have somone update the info on the "Changes from Websphere MQ version 6.0 to Websphere MQ version 7.1" in the MQ 7 InfoCenter. The change in the default log file size is not included in this listing.
Thank you all! |
Fasted way to get the info center updated is to click on the little 'feedback' button.
it's interesting to note that this change is not documented in the migration section of the 7.1 info center, nor in the migration section of the 7.0 info center either.... |
|
Back to top |
|
 |
|