1.)  Create a dummy qmgr with the appropriate log file size, lets call the 
qmgr DUMMY. 
  ?     crtmqm -lf 8192 -lp 10 -ls 5 DUMMY             NOTE:   The crtmqm 
with large log files may take a few minutes.

2.)  Next,  stop the qmgr for which you are reallocating the logs.
  ?     endmqm -i  queue-manager-name

3.)  Then change directory  ( cd )  to the current qmgr log directory and 
delete ( rm )  file amqhlctl.lfh. 
  ?     cd /var/mqm/log/queue-namager-name
  ?     rm  amqhlctl.lfh

4.)  Then change directory  to the active directory and delete the old 
logs.
  ?     cd  active
  ?     rm  *.LOG 

5.)  Copy  ( cp ) from DUMMY  qmgr directory the amqhlctl.lfh file and the 
newly created logs to        the dirctory of the Queue Manager for which 
you are reallocating the logs. 
  ?     cd /var/mqm/log/DUMMY
  ?     cp -pr * /var/mqm/log/Old_QMgr 

6.)  Update the current qmgr qm.ini Log: stanza with the updated logfile 
sizes.

#*                                                                 *#
#*                                                                 *#
Log:
   LogPrimaryFiles=10
   LogSecondaryFiles=5
   LogFilePages=8192
   LogType=CIRCULAR
   LogBufferPages=17
   LogPath=/var/mqm/log/QMMQIP01/
   LogWriteIntegrity=TripleWrite

7.)  Delete the Dummy qmgr and restart the production qmgr.
  ?     dltmqm  DUMMY
  ?     strmqm  queue-manager-name


UNIX commands used:

cd    Change Directory.
ls      List the contents of a directory
rm    Remove.  This is how you delete files in UNIX
cp    Copy.   Used to copy files. 
        Options:  -pr 
                p  preserve.   Duplicates directory owner and group id 
permissions
                r   recursive.  Copies all files from the directory you 
are in. 


Alan Bender 
IT Specialist 
Messaging Integration Middleware




"AkBar E. Dar" <[EMAIL PROTECTED]> 
Sent by: MQSeries List <MQSERIES@LISTSERV.MEDUNIWIEN.AC.AT>
01/09/2007 02:24 PM
Please respond to
MQSeries List <MQSERIES@LISTSERV.MEDUNIWIEN.AC.AT>


To
MQSERIES@LISTSERV.MEDUNIWIEN.AC.AT
cc

Subject
Changing Log size on MQ 5.3 - AIX 5.1






We are getting following error:

AMQ7469: Transactions rolled back to release log space

IBM Support to said stop QM and increase the size, which I did 
reluctantly. I thought that we cannot change Log size without recreating 
the QM.

Is there any way of changing without recreating the QM?


Thanks,

AkBar E. Dar
The United Illuminating Company
New Haven, CT
Off: (203) 499-5981
Cell: (203) 623-9270
---------------------------------------------------------

This e-mail, and any attached file(s), is intended solely for the use
of the individual or entity to whom this e-mail is addressed and may
contain information that is privileged, confidential or exempt from
disclosure. If you are not one of the named recipient(s) or otherwise
have reason to believe that you have received this message in error,
please notify the UI Information Security Manager at 203-499-3689
and delete this message immediately from any computer. Any
other use, retention, dissemination, retransmission, printing or
copying of this e-mail is strictly prohibited.




List Archive -
Manage Your List Settings -
Unsubscribe


Instructions for managing your mailing list subscription are provided in 
the Listserv General Users Guide available at http://www.lsoft.com






To unsubscribe, write to [EMAIL PROTECTED] and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html

Reply via email to