Re: MQ logging
Brian, Only the persistent messages are logged at every UOW. On Windows, you can find the log files in \Your MQ path...\log\qmgrName. Regards, Ruzi --- Brian Weston <[EMAIL PROTECTED]> wrote: > Sorry for the simple question... I'm very new to > MQ... By default does > MQ log all messages that it transmits? If so, where > is that log. If > not, is it possible to configure MQ to track all the > messages that it > transmits? > > Thank you! > Brian >
Re: MQ logging
There isn't a message log in mqseries, it's only a transaction log. Gunter Am Fr, den 18.06.2004 schrieb Brian Weston um 22:53: > Sorry for the simple question... I'm very new to MQ... By default > does MQ log all messages that it transmits? If so, where is that > log. If not, is it possible to configure MQ to track all the messages > that it transmits? > > Thank you! > Brian Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
MQ logging
Title: Message Sorry for the simple question... I'm very new to MQ... By default does MQ log all messages that it transmits? If so, where is that log. If not, is it possible to configure MQ to track all the messages that it transmits? Thank you! Brian
Re: Question on MQ logging
Guys, I have asked this question before (please see my email below), but i think i was more interested in getting numbers for my logging issue that i did not bother asking. Now i am at a point where i need to understand if the design makes any sense. ** * all messages in the queue being marked persistent * Using static queues * size of each message will be around 3MB * Also this is a design where each QM may have around 1000 or so users (each user has a queue for herself/himself) but at a given time only 150 users (queues) would be trying to use the Queue manager. (hhmmm that makes me think, is it ok to have that many users connect to the same QM at the same time or introducing a diff QM would be better option?) ** Does or Can a Queue Manager really support 1000 queues ? Assuming not more than 200 people connect at the same time. Because this design involves static queues it could be storage intensive right ? If so, does anyone have an idea of what numbers we are looking at ? Like storage wise or machine spec ? Also i hope there are not any legalities involved in this, especially because the clients are freely available. Thanks in advance, Usha At 11:10 AM 9/19/2003 -0400, you wrote: Why not make them as big as possible? Even the dinkiest server nowadays has gigs and gigs of space. I use crtmqm -lc -lf 16384 -lp 40 -ls 23 QMNAME. And set your LogBufferSize to 512 if you have descent memory on the server. The above values are for a 5.3 queue manager. -Original Message- From: Usha Suryadevara [mailto:[EMAIL PROTECTED]] Sent: Friday, September 19, 2003 11:01 AM To: [EMAIL PROTECTED] Subject: Question on MQ logging Hello all, I am using MQ for the first time and am trying to come up with some standard values for configuring the QM. Part of this design involves: * all messages in the queue being marked persistent * size of each message will be around 3MB * Also this is a design where each QM may have around 1000 or so users (each user has a queue for herself/himself) but at a given time only 150 users (queues) would be trying to use the Queue manager. (hhmmm that makes me think, is it ok to have that many users connect to the same QM at the same time or introducing a diff QM would be better option?) At this point i was wondering if anyone knows what the optimum values (a range or approximate values are good enough) of *log file size *primary files * secondary files would be, if i am using Circular logging. Any information addressing the above questions would help me and my company a lot. Thanks in advance, Usha This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this communication and destroy all copies.
Re: Question on MQ logging
Thanks Peter! That certainly helps. - Usha At 08:26 AM 9/22/2003 -0400, you wrote: Decent memory would be about 1 to 2 gig, but its all relative. If you have 2 gig of mem, and you are using all of it, I would not consider that decent. On the flip side, if you have only 1 gig, and you are only using 256meg, you are very decent. I guess a better way to say it would be if you have 512 meg of ram to spare easily, allocate it to LogBufferPages. If you error directory is 15 GB (wow!), you probably have many FDC files in there, meaning you got serious problems, or you got tracing turned on. If FDCs, contact IBM to resolve these. If they are traces and you want them off, use the endmqtrc command. There is a whole chapter on tracing in the System Admin Guide:http://publibfp.boulder.ibm.com/epubs/html/amqzag04/amqzag04tfrm.htm -Original Message- From: Usha Suryadevara [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 21, 2003 2:38 PM To: [EMAIL PROTECTED] Subject: Re: Question on MQ logging Thanks Peter (Sorry for the late reply, was out of town). I am sure i understood what you meant here, but what according to you is a "decent memory" ? Also would you happen to know if there is a way MQ logging/tracing can be either turned off or minimized ? It seems like every 2 weeks the Errors directory becomes around 15GB or so... Thanks Usha At 11:10 AM 9/19/2003 -0400, you wrote: Why not make them as big as possible? Even the dinkiest server nowadays has gigs and gigs of space. I use crtmqm -lc -lf 16384 -lp 40 -ls 23 QMNAME. And set your LogBufferSize to 512 if you have descent memory on the server. The above values are for a 5.3 queue manager. -Original Message- From: Usha Suryadevara [mailto:[EMAIL PROTECTED]] Sent: Friday, September 19, 2003 11:01 AM To: [EMAIL PROTECTED] Subject: Question on MQ logging Hello all, I am using MQ for the first time and am trying to come up with some standard values for configuring the QM. Part of this design involves: * all messages in the queue being marked persistent * size of each message will be around 3MB * Also this is a design where each QM may have around 1000 or so users (each user has a queue for herself/himself) but at a given time only 150 users (queues) would be trying to use the Queue manager. (hhmmm that makes me think, is it ok to have that many users connect to the same QM at the same time or introducing a diff QM would be better option?) At this point i was wondering if anyone knows what the optimum values (a range or approximate values are good enough) of *log file size *primary files * secondary files would be, if i am using Circular logging. Any information addressing the above questions would help me and my company a lot. Thanks in advance, Usha This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this communication and destroy all copies.
Re: Question on MQ logging
Usha, Turn the trace off with: endmqtrc -m -a See http://publibfp.boulder.ibm.com/epubs/html/amqzag04/amqzag044k.htm#HDRENDMQT for details. -- T.Rob -Original Message-From: Usha Suryadevara [mailto:[EMAIL PROTECTED]Sent: Sunday, September 21, 2003 2:38 PMTo: [EMAIL PROTECTED]Subject: Re: Question on MQ loggingThanks Peter (Sorry for the late reply, was out of town).I am sure i understood what you meant here, but what according to you is a "decent memory" ? Also would you happen to know if there is a way MQ logging/tracing can be either turned off or minimized ? It seems like every 2 weeks the Errors directory becomes around 15GB or so...ThanksUshaAt 11:10 AM 9/19/2003 -0400, you wrote: Why not make them as big as possible? Even the dinkiest server nowadays has gigs and gigs of space. I use crtmqm -lc -lf 16384 -lp 40 -ls 23 QMNAME. And set your LogBufferSize to 512 if you have descent memory on the server. The above values are for a 5.3 queue manager. -Original Message- From: Usha Suryadevara [mailto:[EMAIL PROTECTED]] Sent: Friday, September 19, 2003 11:01 AM To: [EMAIL PROTECTED] Subject: Question on MQ logging Hello all, I am using MQ for the first time and am trying to come up with some standard values for configuring the QM. Part of this design involves: * all messages in the queue being marked persistent * size of each message will be around 3MB * Also this is a design where each QM may have around 1000 or so users (each user has a queue for herself/himself) but at a given time only 150 users (queues) would be trying to use the Queue manager. (hhmmm that makes me think, is it ok to have that many users connect to the same QM at the same time or introducing a diff QM would be better option?) At this point i was wondering if anyone knows what the optimum values (a range or approximate values are good enough) of *log file size *primary files * secondary files would be, if i am using Circular logging. Any information addressing the above questions would help me and my company a lot. Thanks in advance, Usha This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this communication and destroy all copies.
Re: Question on MQ logging
Decent memory would be about 1 to 2 gig, but its all relative. If you have 2 gig of mem, and you are using all of it, I would not consider that decent. On the flip side, if you have only 1 gig, and you are only using 256meg, you are very decent. I guess a better way to say it would be if you have 512 meg of ram to spare easily, allocate it to LogBufferPages. If you error directory is 15 GB (wow!), you probably have many FDC files in there, meaning you got serious problems, or you got tracing turned on. If FDCs, contact IBM to resolve these. If they are traces and you want them off, use the endmqtrc command. There is a whole chapter on tracing in the System Admin Guide:http://publibfp.boulder.ibm.com/epubs/html/amqzag04/amqzag04tfrm.htm -Original Message-From: Usha Suryadevara [mailto:[EMAIL PROTECTED]Sent: Sunday, September 21, 2003 2:38 PMTo: [EMAIL PROTECTED]Subject: Re: Question on MQ loggingThanks Peter (Sorry for the late reply, was out of town).I am sure i understood what you meant here, but what according to you is a "decent memory" ? Also would you happen to know if there is a way MQ logging/tracing can be either turned off or minimized ? It seems like every 2 weeks the Errors directory becomes around 15GB or so...ThanksUshaAt 11:10 AM 9/19/2003 -0400, you wrote: Why not make them as big as possible? Even the dinkiest server nowadays has gigs and gigs of space. I use crtmqm -lc -lf 16384 -lp 40 -ls 23 QMNAME. And set your LogBufferSize to 512 if you have descent memory on the server. The above values are for a 5.3 queue manager. -Original Message- From: Usha Suryadevara [mailto:[EMAIL PROTECTED]] Sent: Friday, September 19, 2003 11:01 AM To: [EMAIL PROTECTED] Subject: Question on MQ logging Hello all, I am using MQ for the first time and am trying to come up with some standard values for configuring the QM. Part of this design involves: * all messages in the queue being marked persistent * size of each message will be around 3MB * Also this is a design where each QM may have around 1000 or so users (each user has a queue for herself/himself) but at a given time only 150 users (queues) would be trying to use the Queue manager. (hhmmm that makes me think, is it ok to have that many users connect to the same QM at the same time or introducing a diff QM would be better option?) At this point i was wondering if anyone knows what the optimum values (a range or approximate values are good enough) of *log file size *primary files * secondary files would be, if i am using Circular logging. Any information addressing the above questions would help me and my company a lot. Thanks in advance, Usha This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this communication and destroy all copies.
Re: Question on MQ logging
Thanks Peter (Sorry for the late reply, was out of town). I am sure i understood what you meant here, but what according to you is a "decent memory" ? Also would you happen to know if there is a way MQ logging/tracing can be either turned off or minimized ? It seems like every 2 weeks the Errors directory becomes around 15GB or so... Thanks Usha At 11:10 AM 9/19/2003 -0400, you wrote: Why not make them as big as possible? Even the dinkiest server nowadays has gigs and gigs of space. I use crtmqm -lc -lf 16384 -lp 40 -ls 23 QMNAME. And set your LogBufferSize to 512 if you have descent memory on the server. The above values are for a 5.3 queue manager. -Original Message- From: Usha Suryadevara [mailto:[EMAIL PROTECTED]] Sent: Friday, September 19, 2003 11:01 AM To: [EMAIL PROTECTED] Subject: Question on MQ logging Hello all, I am using MQ for the first time and am trying to come up with some standard values for configuring the QM. Part of this design involves: * all messages in the queue being marked persistent * size of each message will be around 3MB * Also this is a design where each QM may have around 1000 or so users (each user has a queue for herself/himself) but at a given time only 150 users (queues) would be trying to use the Queue manager. (hhmmm that makes me think, is it ok to have that many users connect to the same QM at the same time or introducing a diff QM would be better option?) At this point i was wondering if anyone knows what the optimum values (a range or approximate values are good enough) of *log file size *primary files * secondary files would be, if i am using Circular logging. Any information addressing the above questions would help me and my company a lot. Thanks in advance, Usha This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this communication and destroy all copies.
Re: Question on MQ logging
Why not make them as big as possible? Even the dinkiest server nowadays has gigs and gigs of space. I use crtmqm -lc -lf 16384 -lp 40 -ls 23 QMNAME. And set your LogBufferSize to 512 if you have descent memory on the server. The above values are for a 5.3 queue manager. -Original Message-From: Usha Suryadevara [mailto:[EMAIL PROTECTED]Sent: Friday, September 19, 2003 11:01 AMTo: [EMAIL PROTECTED]Subject: Question on MQ loggingHello all,I am using MQ for the first time and am trying to come up with some standard values for configuring the QM. Part of this design involves:* all messages in the queue being marked persistent* size of each message will be around 3MB* Also this is a design where each QM may have around 1000 or so users (each user has a queue for herself/himself) but at a given time only 150 users (queues) would be trying to use the Queue manager. (hhmmm that makes me think, is it ok to have that many users connect to the same QM at the same time or introducing a diff QM would be better option?) At this point i was wondering if anyone knows what the optimum values (a range or approximate values are good enough) of *log file size*primary files* secondary files would be, if i am using Circular logging. Any information addressing the above questions would help me and my company a lot. Thanks in advance,Usha This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this communication and destroy all copies.
Question on MQ logging
Hello all, I am using MQ for the first time and am trying to come up with some standard values for configuring the QM. Part of this design involves: * all messages in the queue being marked persistent * size of each message will be around 3MB * Also this is a design where each QM may have around 1000 or so users (each user has a queue for herself/himself) but at a given time only 150 users (queues) would be trying to use the Queue manager. (hhmmm that makes me think, is it ok to have that many users connect to the same QM at the same time or introducing a diff QM would be better option?) At this point i was wondering if anyone knows what the optimum values (a range or approximate values are good enough) of *log file size *primary files * secondary files would be, if i am using Circular logging. Any information addressing the above questions would help me and my company a lot. Thanks in advance, Usha
Re: MQ logging
1. Primary log - Is the log that the QMGR will define when you issue a crtmqm, when this log is full, the QMGR will define the secondary log. Attached please find a document about logging,Hope this helps. 2. rcdmqimg - The rcdmqimg command writes an image of an object, or group of objects, to the log for use in media recovery. Hope this answers all your questions. -Original Message- From: Scurlock, James E [mailto:[EMAIL PROTECTED]] Sent: 27 January 2003 04:30 To: [EMAIL PROTECTED] Subject: MQ logging I need some information on how MQSeries logging works (read the manuals, but didn't find the level of detail I'm after). Our queue managers have a fairly high throughput of persistent messages, and we need to do some tuning and generally better understand the process. We use linear logging for media recovery purposes. I'm looking to understand: 1) What role do Primary log files play, as opposed to Secondary? 2) Does a rcdmqimg record persistent messages to the log? 3) If a large queue of persistent messages begins to fill (and I assume the active logs contain a complete list of every message currently on the queue), does MQ continue to allocate log files (expanding the active set), and by what increment, until the log filesystem fills? I would appreciate documentation references, or answers in any other form. Thanks, James Scurlock Office: (205) 988-7113 Fax:(205) 988-1887 Interactive Pager: 877-726-9566 OR [EMAIL PROTECTED] * "The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers." Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Linear vs Circular logs.doc Description: Linear vs Circular logs.doc
Re: MQ logging
** Note: This e-mail is subject to the disclaimer contained at the bottom of this message. ** : James, If you have time you might find it helpful to put/get some persistent and and non-persistent messages, transactional and non-transactional, in an isolated test queue manager and then use the 'dmpmqlog' utility to look at the log records, quantity and size, that were created as a result of the MQ activity. You can also run the 'rcdmqimg' utility to see the log records that are created and the relationship to the messages in AMQERR01.LOG re the oldest log file needed for recovery. The supportpac MP16 (which is an MVS supportpac) also has an Appendix describing MQ logging; I imagine (though might be wrong) that the principles are very similar for Unix queue managers. : The information transmitted in this message and attachments (if any) is intended only for the person or entity to which it is addressed. The message may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information, by persons or entities other than the intended recipient is prohibited. If you have received this in error, please contact the sender and delete this e-mail and associated material from any computer. The intended recipient of this e-mail may only use, reproduce, disclose or distribute the information contained in this e-mail and any attached files, with the permission of CGU Insurance. This message has been scanned for viruses and cleared by MailMarshal. : Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
MQ logging
I need some information on how MQSeries logging works (read the manuals, but didn't find the level of detail I'm after). Our queue managers have a fairly high throughput of persistent messages, and we need to do some tuning and generally better understand the process. We use linear logging for media recovery purposes. I'm looking to understand: 1) What role do Primary log files play, as opposed to Secondary? 2) Does a rcdmqimg record persistent messages to the log? 3) If a large queue of persistent messages begins to fill (and I assume the active logs contain a complete list of every message currently on the queue), does MQ continue to allocate log files (expanding the active set), and by what increment, until the log filesystem fills? I would appreciate documentation references, or answers in any other form. Thanks, James Scurlock Office: (205) 988-7113 Fax:(205) 988-1887 Interactive Pager: 877-726-9566 OR [EMAIL PROTECTED] * "The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers." Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive