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 » increasing primary/ secondary logs on Solaris 10 x86

Post new topic  Reply to topic
 increasing primary/ secondary logs on Solaris 10 x86 « View previous topic :: View next topic » 
Author Message
Sam Uppu
PostPosted: Thu Apr 22, 2010 7:21 am    Post subject: increasing primary/ secondary logs on Solaris 10 x86 Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

Hi,
We are on MQ version 7.0.1 and OS: solaris 10 x86.

We tried to increase the primary and secondary logs under "/var/mqm/qmgrs/<qmgrname>" in qm.ini file,

ExitPath:
ExitsDefaultPath=/var/mqm/exits/
ExitsDefaultPath64=/var/mqm/exits64/
#* *#
#* *#
Log:
LogPrimaryFiles=15
LogSecondaryFiles=10
LogFilePages=1024
LogType=CIRCULAR
LogBufferPages=0
LogPath=/var/mqm/log/<QMgrName/
LogWriteIntegrity=TripleWrite
Service:
Name=AuthorizationService
EntryPoints=13
ServiceComponent:
Service=AuthorizationService
Name=MQSeries.UNIX.auth.service
Module=/opt/mqm/lib64/amqzfu
ComponentDataSize=0
Channels:
MaxChannels=200
MQIBindType=FASTPATH



But I still see the primary logs as only 3 under /var/mqm/log/<qmgrname>/active.

When I tried to create a new qmgr called TESTQMGR, it is creating with the logfile size of 4MB each. In version 7.0.1, it should be 16MB.

Is anything different on Solaris 10 x86?.

Thanks
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu Apr 22, 2010 7:13 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.amqzag.doc/fa12640_.htm

Quote:

LogPrimaryFiles
The value is examined when the queue manager is created or started. You can change it after the queue manager has been created. However, a change in the value is not effective until the queue manager is restarted, and the effect might not be immediate.


Regarding the Log File size, what does your mqs.ini file say?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Sam Uppu
PostPosted: Fri Apr 23, 2010 9:07 am    Post subject: Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

PeterPotkay wrote:
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.amqzag.doc/fa12640_.htm

Quote:

LogPrimaryFiles
The value is examined when the queue manager is created or started. You can change it after the queue manager has been created. However, a change in the value is not effective until the queue manager is restarted, and the effect might not be immediate.


Regarding the Log File size, what does your mqs.ini file say?


You are right Peter. When we change the # of logs in qm.ini file and restart the qmgr, the effect is not immediate and the extra (increased logs) are created as needed basis. It is not similar to crtmqm -lp 10 -ls 5 QM1. I was expecting this behavior when I bumped up the # of logs in qm.ini file.

Regarding the log file size:
This queue manager was created when we were at version 6 and later migrated/ upgraded to version 7.0.1.

In this case the mqs.ini file shows:

Quote:
LogDefaults:
LogPrimaryFiles=3
LogSecondaryFiles=2
LogFilePages=1024
LogType=CIRCULAR
LogBufferPages=0
LogDefaultPath=/var/mqm/log
QueueManager:


When we have this in mqs.ini file, even we create a new queue manager it is creating the queue manager logs with 4 MB as log file pages set to 1024 in mqs.ini file.

Where as on a server which is installed with version 7 directly (not upgraded from version 6), its mqs.ini file doesn't contain the primary| secondar logs info and log file pages info.

It is as shown below:

Quote:
LogDefaults:
LogDefaultPath=/var/mqm/log
QueueManager:


I was looking into the version 7.0.1 documentation and it is saying that version 7 queue manager creates 16MB of each log file. This is not entirely true when you upgrade from version 6. If you can adjust the mqs.ini file to match the version 7 of MQ's mqs.ini, then YES.

Thanks for the info.
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 » IBM MQ Installation/Configuration Support » increasing primary/ secondary logs on Solaris 10 x86
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.