Author |
Message
|
zpat |
Posted: Fri Aug 13, 2010 7:26 am Post subject: mqs.ini or qm.ini - downward compatible MQ v7 to MQ v6? |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
I've just had to add a new MQV7 option to mqs.ini, as the default value has caused issues in a test environment (I realise it should be on in production).
SSL:
OCSPCheckExtensions=No ; Do not try to contact OCSP server
Does anyone know what will happen if a version 6 queue manager uses the same ini file with this parameter in it?
Will it ignore it and start? Or will it barf and stop? |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Aug 13, 2010 9:04 am Post subject: Re: mqs.ini or qm.ini - downward compatible MQ v7 to MQ v6? |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
zpat wrote: |
I've just had to add a new MQV7 option to mqs.ini, as the default value has caused issues in a test environment (I realize it should be on in production).
SSL:
OCSPCheckExtensions=No ; Do not try to contact OCSP server
Does anyone know what will happen if a version 6 queue manager uses the same ini file with this parameter in it?
Will it ignore it and start? Or will it barf and stop? |
No Idea. You're going to have to try it and let us know.
Sounds however that this might be an undocumented feature for V6...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Aug 13, 2010 9:30 am Post subject: Re: mqs.ini or qm.ini - downward compatible MQ v7 to MQ v6? |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
fjb_saper wrote: |
Sounds however that this might be an undocumented feature for V6...  |
It's my understanding that all support for OCSP was added in 7.0.1.x, and does not exist in any build of 6.x.
 |
|
Back to top |
|
 |
zpat |
Posted: Fri Aug 13, 2010 9:36 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Correct, but in general does MQ ignore unrecognised ini parms or refuse to start?
Actually this OCSP problem will also affect MQ clients as MQ tries to contact an external certificate revocation server and fails to do so.
I don't think the IBM default value of turning this feature on was very sensible at all. |
|
Back to top |
|
 |
mvic |
Posted: Fri Aug 13, 2010 2:04 pm Post subject: |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
|
Back to top |
|
 |
mvic |
Posted: Fri Aug 13, 2010 2:13 pm Post subject: Re: mqs.ini or qm.ini - downward compatible MQ v7 to MQ v6? |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
|
Back to top |
|
 |
exerk |
Posted: Fri Aug 13, 2010 2:34 pm Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
It can always be remarked out of course...  _________________ 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 |
|
 |
zpat |
Posted: Fri Aug 13, 2010 9:56 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
It's not clear but I assume that any stanza can be added to mqs.ini to apply to all queue managers. |
|
Back to top |
|
 |
mvic |
Posted: Sat Aug 14, 2010 4:28 am Post subject: |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
zpat wrote: |
It's not clear but I assume that any stanza can be added to mqs.ini to apply to all queue managers. |
This is not correct. Look at the sections around the URLs I posted for the info you need. |
|
Back to top |
|
 |
zpat |
Posted: Sat Aug 14, 2010 6:17 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Quote: |
On UNIX® platforms, you can change WebSphere® MQ configuration attributes within:
* A WebSphere MQ configuration file (mqs.ini) to effect changes for WebSphere MQ on the node as a whole. There is one mqs.ini file for each node.
* A queue manager configuration file (qm.ini) to effect changes for specific queue managers. There is one qm.ini file for each queue manager on the node.
|
Quote: |
The value of an attribute is defined in multiple places. Attributes set in commands take precedence over attributes in configuration files.
The attribute values of a configuration file are set according to the following priorities:
* Parameters entered on the command line take precedence over values defined in the configuration files
* Values defined in the qm.ini files take precedence over values defined in the mqs.ini file
|
|
|
Back to top |
|
 |
bruce2359 |
Posted: Sat Aug 14, 2010 8:19 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
The mqs.ini file is used as a template during the creation of the qmgr. Attributes (-switches) in the crtmqm command are reflected in the qmgrs qm.ini file.
It is my understanding that this is a once-only event. Subsequent changes to the mqs.ini file do not affect existing qmgrs. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
zpat |
Posted: Sat Aug 14, 2010 9:50 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
While there are certain parameters that may have a one-time use such as log file size, we have applied others such as TCP keepalive, in mqs.ini.
My interpretation of the IBM documentation is that both files are read at QM start up and the settings on qm.ini take precedence over mqs.ini. It says "effect changes" not apply the values at queue manager creation time.
So if you want to apply a value to all queue managers, you can do so in mqs.ini.
Any IBMers care to comment on this? |
|
Back to top |
|
 |
zpat |
Posted: Mon Aug 16, 2010 4:32 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Bump?
Can someone give or refer to an authorative reference as to how mqs.ini and qm.ini behave?
We have TCP keepalive in mqs.ini (not in qm.ini) and I wonder if it actually does anything there? |
|
Back to top |
|
 |
SAFraser |
Posted: Mon Aug 16, 2010 1:44 pm Post subject: |
|
|
 Shaman
Joined: 22 Oct 2003 Posts: 742 Location: Austin, Texas, USA
|
And we go to the trouble of putting it into multiple qm.ini files. I wonder if we could be saving ourselves some effort with a single entry to mqs.ini.
So I am looking forward to this answer, too. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Aug 16, 2010 2:57 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
I'm not sure an actual answer is available outside of a PMR.
And I don't have v6 installed anywhere that I could run any experiments myself... |
|
Back to top |
|
 |
|