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 » Changing the log file size !!!

Post new topic  Reply to topic
 Changing the log file size !!! « View previous topic :: View next topic » 
Author Message
tkaravind
PostPosted: Tue Nov 25, 2003 1:33 am    Post subject: Changing the log file size !!! Reply with quote

Acolyte

Joined: 24 Jul 2001
Posts: 62

Hi Folks,

Is it possible to change the LOG FILE SIZE Qmanager parameter in the "QM.ini" file by editing it directly ?

Would this take effect when we restart the queue manager (just like other parameters for ex : No of Primary/Secondary files etc) ?

If this works then there would be no need to delete & recreate the
QManager just to change this one parameter.

Would this work ? Pls correct me if I am wrong somewhere.

Regards,
Aravind
Back to top
View user's profile Send private message
JasonE
PostPosted: Tue Nov 25, 2003 2:52 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

I do not believe this is possible - My understanding is that the log file size is fixed for the lifetime of a qmgr and it cannot be changed (unfortunately)
Back to top
View user's profile Send private message
leongor
PostPosted: Tue Nov 25, 2003 3:39 am    Post subject: Reply with quote

Master

Joined: 13 May 2002
Posts: 264
Location: Israel

You can change only number of primary/secondary logs, not a size.
_________________
Regards.
Leonid.

IBM Certified MQSeries Specialist.
Back to top
View user's profile Send private message
mrlinux
PostPosted: Tue Nov 25, 2003 12:51 pm    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

What you could do, create another qmgr on another system with the same name and the logfile size you want. (dont start the queue mgr)

Stop the qmgr whose log size you want to change
1) zip up the LOG/QMGR_NAME dir with the new logs and the active.lfh file
2) move the old LOG Dir to a backup (just in case)
3) unzip the new logs in place
4) modify the registry
5) start queue manager
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
JasonE
PostPosted: Tue Nov 25, 2003 12:56 pm    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

Also known as a cold start - dont do it (unless you really, really, really have to). 5.3 has more implications than 5.2 as to whether that will work.

Note that *IF* you shut the queue manager down cleanly then these implications are reduced, but I really cannot recommend these steps unless its for a critical reason.
Back to top
View user's profile Send private message
mrlinux
PostPosted: Tue Nov 25, 2003 12:59 pm    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Well I have yet to play with v5.3, but I have been using this since v5.0 and the only issue I have came up againist is the need to use the same queue manager starting either in v5.1 or v5.2 (been a while since I have been forced to do this).

What are the new implications ???
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
JasonE
PostPosted: Tue Nov 25, 2003 1:06 pm    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

Loss of data on queues if qmgr wasnt shutdown cleanly is the main one - More data is buffered in memory in 5.3, and the message chains on the Q file may not match the Q without first replaying the log records. Following a normal shutdown (ie with a checkpoint) then its 'safer', but not a practice to use if avoidable.

My take is its safer to know you need to migrate your data (ie redefine qmgr) than it is to lose some msgs due to a corruption.
Back to top
View user's profile Send private message
mrlinux
PostPosted: Tue Nov 25, 2003 1:24 pm    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Iam not trying to be a pain, Iam asking the questions out of curiousty
So if the queues were empty that would eliminate most of the issues ????
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
JasonE
PostPosted: Tue Nov 25, 2003 1:48 pm    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

You cant empty all queues, as some system queues may have data in them (eg. 5.2+ keeps setmqaut info in a queue, cluster info (5.1+) is in a queue etc).

Also if all queues are empty in most cases its easy to back up qmgr definitions (ms03 support pack for example), and rebuild it. Not quite so simple for a machine in an MQ cluster, but not overly difficult.
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 » General IBM MQ Support » Changing the log file size !!!
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.