Author |
Message
|
shashivarungupta |
Posted: Thu May 28, 2009 6:58 am Post subject: MQ in Windows : Location of the file(s) ? |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
Hi,
As we have mqs.ini and qm.ini in the AIX system in the location /var/mqm/ and /var/mqm/qmgrs/QMGR/ respectively. Similarly we would be having on windows. What are those files and where are they (absolute path) ?
I have checked the HKEY_LOCAL_MACHINE in regedit, under SOFTWARE>MQSERIES>VERSION>
there are folder under MQSERIES which tell about the queue manager configuration etc.
Thanks in advance. _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
Vitor |
Posted: Thu May 28, 2009 7:10 am Post subject: Re: MQ in Windows : Location of the file(s) ? |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
shashivarungupta wrote: |
Similarly we would be having on windows. What are those files and where are they (absolute path) ? |
Somewhere in the registry.
shashivarungupta wrote: |
I have checked the HKEY_LOCAL_MACHINE in regedit, under SOFTWARE>MQSERIES>VERSION>
there are folder under MQSERIES which tell about the queue manager configuration etc. |
Can't say I've ever looked myself. No need; but then never bothered much with the ini files on Unix either.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Thu May 28, 2009 7:24 am Post subject: Re: MQ in Windows : Location of the file(s) ? |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
Vitor wrote: |
shashivarungupta wrote: |
Similarly we would be having on windows. What are those files and where are they (absolute path) ? |
Somewhere in the registry.
shashivarungupta wrote: |
I have checked the HKEY_LOCAL_MACHINE in regedit, under SOFTWARE>MQSERIES>VERSION>
there are folder under MQSERIES which tell about the queue manager configuration etc. |
Can't say I've ever looked myself. No need; but then never bothered much with the ini files on Unix either.  |
I was checking Mr. Google too for this question. I dont get any satisfactory reply of that search though.
But ya qm.ini was important for me while making the changes to it, on aix.
I was eager to know that, if I would want to change the default queue manager at node level in windows then how would I do that?
Another thing is how would I do all those operations/changes in windows MQ files as we do in .ini files in aix? _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
Vitor |
Posted: Thu May 28, 2009 7:27 am Post subject: Re: MQ in Windows : Location of the file(s) ? |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
shashivarungupta wrote: |
I was eager to know that, if I would want to change the default queue manager at node level in windows then how would I do that? |
I use MQExplorer as recommended in the documentation. On the rare occassions I have a default queue manager, and don't specify it as such when it's created. If I'm honest, I use the Explorer to remove the default queue manager on Windows more often than I create one!
shashivarungupta wrote: |
Another thing is how would I do all those operations/changes in windows MQ files as we do in .ini files in aix? |
How many things do you do to the ini files in AIX? The only real thing you do is change log size, and that's technically a hack. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu May 28, 2009 8:59 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
|
Back to top |
|
 |
zpat |
Posted: Thu May 28, 2009 9:20 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Keepalive=Yes in a good thing to put in the mqs.ini file - also Maxchannels=1000 or more. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu May 28, 2009 9:31 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
LogBufferPages, QMErrorLogSize, API Exits, SuppressMessages, MaxActiveChannels, KeepAlive....
Vitor! Lots of good stuff you are missing!  _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
shashivarungupta |
Posted: Thu May 28, 2009 9:58 am Post subject: Re: MQ in Windows : Location of the file(s) ? |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
Vitor wrote: |
shashivarungupta wrote: |
Another thing is how would I do all those operations/changes in windows MQ files as we do in .ini files in aix? |
How many things do you do to the ini files in AIX? The only real thing you do is change log size, and that's technically a hack. |
I agree with you, when it comes to make the changes in the ini for log files count and their size, its not recommended.
Apart from mqs.ini (change the default queue manager) we can make changes to the qm.ini on aix platform.
I did some of the changes in qm.ini
CHANNELS:
MaxChannels=3000
MaxActiveChannels=3000
AdoptNewMCA=ALL
AdoptNewMCATimeout=60
AdoptNewMCACheck=ALL
TCP: ; TCP/IP entries.
ListenerBacklog=500
KeepAlive=Yes ; Switch KeepAlive on
As To reset the values of MaxChannels and MaxActiveChannels. Even I did changes for rest of the 3 parameters under the CHANNELS section.
Under TCP section KeepAlive can also be modified. _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Thu May 28, 2009 10:02 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
I was away for a while from my computer, did'nt refresh and just posted the comment as a reply of vitor's post. Didn't notice others have banged on.  _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Thu May 28, 2009 10:14 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
PeterPotkay wrote: |
LogBufferPages, QMErrorLogSize, API Exits, SuppressMessages, MaxActiveChannels, KeepAlive....
|
These all are good that can be done on aix (if required)... but the point of discussion is how to do all this on windows mq file(s)? And actually where are those located ?
 _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu May 28, 2009 10:25 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Like already's been said, there are no files like this on Windows. Use MQExplorer or the amqmdain command to view or alter the values you need. DO NOT go mucking around in the registry. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
shashivarungupta |
Posted: Thu May 28, 2009 10:28 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
PeterPotkay wrote: |
Like already's been said, there are no files like this on Windows. Use MQExplorer or the amqmdain command to view or alter the values you need. DO NOT go mucking around in the registry. |
Ok.
Thank You.
 _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
Vitor |
Posted: Thu May 28, 2009 11:25 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
PeterPotkay wrote: |
Vitor! Lots of good stuff you are missing!  |
Not for the first time, nor the last....  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
gbaddeley |
Posted: Thu May 28, 2009 4:22 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
shashivarungupta wrote: |
PeterPotkay wrote: |
Like already's been said, there are no files like this on Windows. Use MQExplorer or the amqmdain command to view or alter the values you need. DO NOT go mucking around in the registry. |
Ok.
Thank You.
 |
Mucking around in the MQ section of the Windows Registry (HKEY_LOCAL_MACHINE\SOFTWARE\IBM\MQSeries\CurrentVersion) is equivalent to mucking around (or just looking) in mqs.ini and qm.ini. _________________ Glenn |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu May 28, 2009 6:38 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
The difference being on UNIX the only way to change these things is by manually editing the files. On Windows there are 2 official ways to do it, via the command line or thru a GUI. To me its not an MQ specific thing really. I've always been taught don't touch the registry directly when you have one or more official ways provided by the software to make the changes safely.
I do understand that manually editing the registry can produce the results you need. But how do you know that the one key you think controls the attribute you want to change is in fact the correct one, and/or the only one. Who really knows what a software's official commands do to the registry when you run them. Knowing Windows, there's probably 5 other places something changes when you run the official command. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
|