Author |
Message
|
prasannal |
Posted: Tue Feb 24, 2004 5:57 am Post subject: Increasing Log file size in MQSeries for NT |
|
|
Apprentice
Joined: 04 Aug 2003 Posts: 44
|
Hi,
What is the file which i can change in MQ , so that I can send bigger messages or other attributes?
I want to do this on Windows platform.
thanks,
Prasanna |
|
Back to top |
|
 |
bower5932 |
Posted: Tue Feb 24, 2004 6:07 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
I think you are looking for the MAXMSGL parameter which is defined for the queue manager, queue, and channels. You can use the runmqsc (see the MQSC reference) command to change this and other parameters. |
|
Back to top |
|
 |
Missam |
Posted: Tue Feb 24, 2004 6:40 pm Post subject: |
|
|
Chevalier
Joined: 16 Oct 2003 Posts: 424
|
Go To MqServices,right click on queue manager and click properties |
|
Back to top |
|
 |
prasannal |
Posted: Tue Feb 24, 2004 10:37 pm Post subject: Disabled MQ queue manager Log properties |
|
|
Apprentice
Joined: 04 Aug 2003 Posts: 44
|
Hello Sam,
You are right about MQ Services. But, when I am right clicking the Queue Manager for properties to modify, they are disabled.
Only number of primary and secondary files can be modified.
I can not change the Log file path, Log file pages and Type of logging.
How do I change these properties.
Pls let me know.
Thanks.
Pras |
|
Back to top |
|
 |
JasonE |
Posted: Wed Feb 25, 2004 4:22 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
I think you are getting 2 things confused.
There is the MQ log files, whose size are fixed during the creation of the queue manager, and it controlls how much logged data (eg. persisten messages) can be processed
There is the MAXMSGL which determines the max size of message which can be put/get - This can be set in 3 places : On a Qmgr, per queue and per channel (eg. svrconns for client access).
Your original note implies you want the 2nd part, but your 2nd note talks about the first part. The question therefore is what error do you get when trying to use large messages - Log full or data length errors? |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Feb 25, 2004 5:47 am Post subject: Re: Disabled MQ queue manager Log properties |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
prasannal wrote: |
I can not change the Log file path, Log file pages and Type of logging.
How do I change these properties. |
If you read the System Administration guide, which you should read!, then you would know that you can not change these these particular parameters.
They can only be set when the queue manager is created.
This means that if you have an existing QM with incorrect values for these parameters, you have to delete it and create a new queue manager.
If you take some of your own time, and actually read through other messages here, you will find suggestions for tools to use to allow you to save and restore a queue manager, so that you don't have to rebuild all of your queues by hand from memory. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Missam |
Posted: Wed Feb 25, 2004 6:57 am Post subject: |
|
|
Chevalier
Joined: 16 Oct 2003 Posts: 424
|
Quote: |
But, when I am right clicking the Queue Manager for properties to modify, they are disabled.
Only number of primary and secondary files can be modified.
I can not change the Log file path, Log file pages and Type of logging.
|
They are disabled because they can't be modifed once you create a QM.if you want to change them, you need to recreate the QM.As Masters and Grand masters Suggested above you need to refer System Administartion,if you need to recreate QM with out losing existing definitions in QM. |
|
Back to top |
|
 |
anhnt |
Posted: Thu Feb 26, 2004 12:57 am Post subject: |
|
|
Acolyte
Joined: 03 Aug 2003 Posts: 54
|
Hi all,
Ok.If you created Qmgr.You can't chage Log file size.But I have a way which can resolve your problem.
if you want to Put large message with message size over 4Mb(default size on windows).you can:
- inrease number of logfile
- increase value of MaxMsglen attribute
note: you can't put a message with size over total size of logs.
anhnt |
|
Back to top |
|
 |
|