Author |
Message
|
bay hoe san |
Posted: Fri Aug 10, 2007 12:38 am Post subject: Persistent Messages Residence |
|
|
Centurion
Joined: 27 Nov 2006 Posts: 117
|
Hello,
( 1) If I will to recycle or shutdown my qmgr, may I know where will persistent messages which have not being processed reside in? Pageset or logcopy?
( 2) Thank you.
.Hoe San. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Aug 10, 2007 2:09 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You can know this by reading the InfoCenter.
This is how you can know anything you want about MQ. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bay hoe san |
Posted: Sun Aug 12, 2007 5:55 am Post subject: |
|
|
Centurion
Joined: 27 Nov 2006 Posts: 117
|
Hello,
( 1) I have read the manual - sys admin, concepts and planning and etc but getting confused. Can u let me know the URL so that I can read it?
( 2) I have another query:
Will non-persistent message log in Pageset or Logcopy?
( 3) Thanks for the enlightenment.
.Hoe San. |
|
Back to top |
|
 |
jefflowrey |
Posted: Sun Aug 12, 2007 7:37 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
What page in the InfoCenter have you found that talks about this? What does it say, that confuses you? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bruce2359 |
Posted: Sun Aug 12, 2007 9:42 am Post subject: |
|
|
Guest
|
Since you mentioned pagesets, I'm guessing that you are running MQ on z/OS.
At qmgr shutdown, any messages still residing in message buffers will be written to dasd pageset datasets.
Likewise, any log images still residing in log buffers will be written to log datasets. |
|
Back to top |
|
 |
bay hoe san |
Posted: Thu Aug 16, 2007 1:43 am Post subject: |
|
|
Centurion
Joined: 27 Nov 2006 Posts: 117
|
Hello,
( 1) Thanks for your inputs.
( 2) Yes, I am referring to MQ V531 on z/OS V1R7.
( 3) I read in the manual - Concepts and Planning
Chapter 3-A page set is a linear VSAM data set (LDS) that has been specially formatted to be used by WebSphere MQ. Page sets are used to store most messages and object definitions.
Chapter 4-WebSphere MQ maintains logs of data changes and significant events as they occur. WebSphere MQ records all significant events as they occur in an active log. The log contains the information needed to recover:1. Persistent messages 2. WebSphere MQ objects, 3. The WebSphere MQ queue manager
( 4) My queries:
1. During recycle of Qmgr, where will persistent msg resides, in pageset or log?
2. During recycle of Qmgr, where will non-persistent msg resides, in pageset or log or will be gone?
3. Will non-persistent msg be captured in log?
( 5) Thank you.
.Hoe San. |
|
Back to top |
|
 |
kevinf2349 |
Posted: Thu Aug 16, 2007 5:06 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
bay hoe san wrote: |
Hello,
( 3) Concepts and Planning
Chapter 3-A page set is a linear VSAM data set (LDS) that has been specially formatted to be used by WebSphere MQ. Page sets are used to store most messages and object definitions.
Chapter 4-WebSphere MQ maintains logs of data changes and significant events as they occur. WebSphere MQ records all significant events as they occur in an active log. The log contains theinformation needed to recover:1. Persistent messages 2. WebSphere MQ objects, 3. |
So the answer to your question is that the VSAM pagesets contain the actual messages, but the log contains information that is needed to recover the persistent messages. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Aug 16, 2007 6:08 am Post subject: |
|
|
Guest
|
1. During recycle of Qmgr, where will persistent msg resides, in pageset or log?
At qmgr shutdown, messages reside in pagesets.
Images of persistent messages, alteration of object attributes, commit activity, and checkpoint information reside in the log.
At qmgr restart, messages still reside in pagesets.
2. During recycle of Qmgr, where will non-persistent msg resides, in pageset or log or will be gone?
At qmgr shutdown, all messages reside in pagesets - both persistent and non-persistent. At qmgr restart, non-persistent messages (with an exception for messages in a queue with the NPMCLASS(HIGH) attribute) will NOT survive the restart process. An attempt to MQGET them will fail with NO_MSG_AVAILABLE reason-code.
3. Will non-persistent msg be captured in log? Non-persistent messages are not logged.
( 5) Thank you.
For details, please read the MQ z/OS System Administration manual. An entire section is devoted to recovery and restart. |
|
Back to top |
|
 |
|