Discussion:
Request For Enhancement - Have the Queue Manager produce a read only message showing all the parameters its running with
Potkay, Peter M (CTO Architecture + Engineering)
2013-12-06 13:59:31 UTC
Permalink
Please vote for this one if you think it's a good idea.

Here is the direct link to cast your vote:
http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=42528



Description:
A queue manager gets many of its characteristics from the qm.ini file. Environment variables set for the mqm ID also dictate how the Queue Manager behaves. Currently there is no way for an MQ Admin to know what all these values are with an MQ Client based tool. The MQ Admin is forced to log onto the server, or rely on a local agent to be installed on the MQ server that they then interact with.

This Request For Enhancement is to have the Queue Manager allow suitably authorized MQ Client based applications to read these attributes. A running Queue Manager knows what all the characteristics are for its logging details (type, size, number, buffer, etc). Could the Queue Manager dump all these attributes that are not available via runmqsc into a new queue (maybe SYSTEM.QM.INI.VALUES) upon start up and allow only suitably authorized apps to read the message(s) on this queue? If the messages are persistent and small, maybe keep old ones on the queue and just add a new one each time the QM restarts, to provide an Audit trail or History of what parameters this Queue manager ran with.

If the Queue Manager is aware of what environment variables are set, it would be helpful to have those values captured as well. For example, is MQS_REPORT_NOAUTH set to TRUE.

Use case:
An MQ Admin using MQ Explorer, MO71 or some other tool (if those tools were enhanced to take advantage of this) could then remotely see the values of all the qm.ini related parameters the QM is running with. MQ Client based applications that already allow an MQ Admin to compare multiple QMs based off of PCF commands/responses would be able to fully compare 2 or more queue managers without the MQ Admin having to log onto each server to complete the job.

Business justification:
Easier and more complete auditing of the MQ environment to gauge consistency and adherence to standards for your shop



Peter Potkay




************************************************************
This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/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 e-mail, delete this communication and destroy all copies.
************************************************************

To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org 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
T.Rob
2013-12-06 15:19:14 UTC
Permalink
I have long argued that WMQ needs the ability to backup and round-trip its
*entire* configuration. So my preference would be to not only return those
to you but also have a way to run them back in. For example, in addition to
responding via a queued message the QMgr might produce a file with these
values on start-up. Then if you need to recreate it you do crtmqm <
backup.mqcfg and it takes care of all the crtmqm parms, updates the qm.ini
file and runs all the mqsc definitions as well (including queue buffer
tuning).



The ability to back up and restore an infrastructure component seems to me
to be a basic operational requirement. Frankly I'm amazed WMQ has gotten
along for so long requiring admins to capture MQSC commands, file objects
and even had tunables that could not be captured once applied (until Mark
provided the QTune utility). Given the delta between basic configuration
backup/restore and what you've requested, I'd hope that at least your
request would be fulfilled.



-- T.Rob



From: MQSeries List [mailto:MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org] On Behalf Of
Potkay, Peter M (CTO Architecture + Engineering)
Sent: Friday, December 06, 2013 9:00 AM
To: MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
Subject: Request For Enhancement - Have the Queue Manager produce a read
only message showing all the parameters its running with



Please vote for this one if you think it's a good idea.



Here is the direct link to cast your vote:


<http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=42528>
http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=42528







Description:

A queue manager gets many of its characteristics from the qm.ini file.
Environment variables set for the mqm ID also dictate how the Queue Manager
behaves. Currently there is no way for an MQ Admin to know what all these
values are with an MQ Client based tool. The MQ Admin is forced to log onto
the server, or rely on a local agent to be installed on the MQ server that
they then interact with.



This Request For Enhancement is to have the Queue Manager allow suitably
authorized MQ Client based applications to read these attributes. A running
Queue Manager knows what all the characteristics are for its logging details
(type, size, number, buffer, etc). Could the Queue Manager dump all these
attributes that are not available via runmqsc into a new queue (maybe
SYSTEM.QM.INI.VALUES) upon start up and allow only suitably authorized apps
to read the message(s) on this queue? If the messages are persistent and
small, maybe keep old ones on the queue and just add a new one each time the
QM restarts, to provide an Audit trail or History of what parameters this
Queue manager ran with.



If the Queue Manager is aware of what environment variables are set, it
would be helpful to have those values captured as well. For example, is
MQS_REPORT_NOAUTH set to TRUE.



Use case:

An MQ Admin using MQ Explorer, MO71 or some other tool (if those tools were
enhanced to take advantage of this) could then remotely see the values of
all the qm.ini related parameters the QM is running with. MQ Client based
applications that already allow an MQ Admin to compare multiple QMs based
off of PCF commands/responses would be able to fully compare 2 or more queue
managers without the MQ Admin having to log onto each server to complete the
job.



Business justification:

Easier and more complete auditing of the MQ environment to gauge consistency
and adherence to standards for your shop







Peter Potkay







************************************************************
This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential and/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 e-mail, delete this communication and destroy all copies.
************************************************************



_____

List Archive <http://listserv.meduniwien.ac.at/archives/mqser-l.html> -
Manage Your List Settings
<http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1> -
Unsubscribe
<mailto:LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org?subject=Unsubscribe&BODY=signoff%
20mqseries>

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


To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org 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

Loading...