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 IBM MQ Support » Increase the number of error file of a QM

Post new topic  Reply to topic Goto page Previous  1, 2
 Increase the number of error file of a QM « View previous topic :: View next topic » 
Author Message
gerimqseries
PostPosted: Mon Aug 03, 2009 4:46 am    Post subject: Error log size Reply with quote

Apprentice

Joined: 03 Aug 2009
Posts: 30

Hi RaviKrG,

On Windows with MQ Explorer to increase the ...\qmgrs\QMNAME\errors\AMQERR01.LOG (also 02, 03) file size, You have to do it on the local machine!
If the QMGR shown as a remote in Your MQ explorer, the Properties >>> Extended area ends with "Distribution List".
If You do this on the local machine, where the QMGR resides the Properties >>> Extended shows "Error log size".

For example on AIX, you have to do it like others say: /var/mqm/qmgrs/QMNAME/qm.ini
Put the following stanza and property to reach 10MB size:
QMErrorLog:
ErrorLogSize=10485760

Geri
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Aug 03, 2009 12:33 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20767
Location: LI,NY

Are you sure that the log size you are hitting there refers to the errorlogs and not the redo logs? IIRC there was a post a ways back that talked about an environment variable.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
gerimqseries
PostPosted: Thu Aug 06, 2009 1:59 am    Post subject: Reply with quote

Apprentice

Joined: 03 Aug 2009
Posts: 30

Follow this link:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.amqzag.doc/fa12710_.htm
I do not know about the windows variable, I never used.
The QMErrorLog stanza in the qm.ini on AIX, it worked for me, I have bigger logs.
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Thu Aug 06, 2009 8:35 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

For serious machines like UNIX:
Code:
QMErrorLog:
   ErrorLogSize=1048576


The environment variable does not work V6 and better.

If you are using a joke OS like Windose, here are the contents of a batch file I use to reduce aggravation:

Code:
@echo off
if "%1" == "" goto :USAGE

amqmdain reg %1 -c add -s Channels -v MQIBindType=FASTPATH
amqmdain reg %1 -c add -s Channels -v AdoptNewMCA=ALL
amqmdain reg %1 -c add -s Channels -v AdoptNewMCACheck=ALL
amqmdain reg %1 -c add -s Channels -v AdoptNewMCATimeout=15
amqmdain reg %1 -c add -s Channels -v MaxActiveChannels=5000
amqmdain reg %1 -c add -s Channels -v MaxChannels=5000
amqmdain reg %1 -c add -s TCP -v KeepAlive=YES
amqmdain reg %1 -c add -s QMErrorLog -v ErrorLogSize=1048576
echo Stanzas Set
echo Stop and Start %1 for the stanzas to take effect
goto :END

:USAGE
echo "Usage:"
echo "   WinStanzaSet.bat <QMGR>"

:END


And here is the one to burp out the interesting settings:
Code:
@echo off
if "%1" == "" goto :USAGE

echo "Channels" > %1.stanzas.txt
amqmdain reg %1 -c display -s Channels -v * >> %1.stanzas.txt
echo "TCP" >> %1.stanzas.txt
amqmdain reg %1 -c display -s TCP -v * >> %1.stanzas.txt
echo "Log" >> %1.stanzas.txt
amqmdain reg %1 -c display -s Log -v * >> %1.stanzas.txt
echo "QMErrorLog" >> %1.stanzas.txt
amqmdain reg %1 -c display -s QMErrorLog -v * >> %1.stanzas.txt
echo Saved stanzas in %1.stanzas.txt
goto :END

:USAGE
echo "Usage:"
echo "   WinStanzaRec.bat <QMGR>"

:END
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General IBM MQ Support » Increase the number of error file of a QM
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.