Author |
Message
|
volox |
Posted: Thu Jan 20, 2011 12:58 am Post subject: Commands for Queue Manager TCP settings |
|
|
Newbie
Joined: 14 Jan 2011 Posts: 7
|
I'm looking at Queue Manager properies such as the TCP properties here ( http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.explorer.doc/e_properties_qmanager.htm#e_properties_qmanager__tcp ) and the netbios properties of the Queue Manager.
Is there any way to alter (or display) these settings using a WebSphere command? If not, can anyone provide insight into how to alter them outside of using MQ explorer? I'm trying to automate the installation / configuration of a queue manager so I'm trying to get everything to the point where it is done with command line or scripts.
And since I don't know whether the queue manager is under MS clustering or not, is there a way to know whether to find these settings in the registry or not? And if the queue manager has been moved into the cluster, what is still in the registry vs what is on the cluster storage? And for the settings that are in cluster storage, where are they located (couldn't seem to find an *.ini file in the queue manager's folder)?
Thanks in advance. _________________ WebSphere 7.0.1.3
on Windows 2008 R2 |
|
Back to top |
|
 |
santnmq |
Posted: Thu Jan 20, 2011 2:07 am Post subject: |
|
|
Centurion
Joined: 11 Jan 2011 Posts: 125
|
you can use runmqsc command(display qmgr) to get the qmgr properties.
you can also view these properties through MQ explorer. |
|
Back to top |
|
 |
volox |
Posted: Thu Jan 20, 2011 2:13 am Post subject: |
|
|
Newbie
Joined: 14 Jan 2011 Posts: 7
|
runmqsc does not appear to show these properties nor does it appear to allow them to be set using ALTER QMGR. If you believe they can be altered with runmqsc, please provide syntax for changing the TCP Keepalive and the Netbios LocalName properties.
The question was about how to do it WITHOUT MQ Explorer because it has to be scripted. _________________ WebSphere 7.0.1.3
on Windows 2008 R2 |
|
Back to top |
|
 |
exerk |
Posted: Thu Jan 20, 2011 2:23 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
volox wrote: |
runmqsc does not appear to show these properties nor does it appear to allow them to be set using ALTER QMGR. If you believe they can be altered with runmqsc, please provide syntax for changing the TCP Keepalive and the Netbios LocalName properties.
The question was about how to do it WITHOUT MQ Explorer because it has to be scripted. |
As these values are held in the Registry just what do you think MQExplorer is doing in the background? Can that also be achieved with a script do you think? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Jan 20, 2011 4:16 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
volox |
Posted: Thu Jan 20, 2011 10:54 am Post subject: |
|
|
Newbie
Joined: 14 Jan 2011 Posts: 7
|
Thank you mqjeff. Not as easy to use as one might like, but it looks like it will work and that's what is important. _________________ WebSphere 7.0.1.3
on Windows 2008 R2 |
|
Back to top |
|
 |
|