ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » MQ in Windows : Location of the file(s) ?

Post new topic  Reply to topic Goto page 1, 2  Next
 MQ in Windows : Location of the file(s) ? « View previous topic :: View next topic » 
Author Message
shashivarungupta
PostPosted: Thu May 28, 2009 6:58 am    Post subject: MQ in Windows : Location of the file(s) ? Reply with quote

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
View user's profile Send private message Send e-mail
Vitor
PostPosted: Thu May 28, 2009 7:10 am    Post subject: Re: MQ in Windows : Location of the file(s) ? Reply with quote

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
View user's profile Send private message
shashivarungupta
PostPosted: Thu May 28, 2009 7:24 am    Post subject: Re: MQ in Windows : Location of the file(s) ? Reply with quote

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
View user's profile Send private message Send e-mail
Vitor
PostPosted: Thu May 28, 2009 7:27 am    Post subject: Re: MQ in Windows : Location of the file(s) ? Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Thu May 28, 2009 8:59 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Quote:
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?

You can change the default qmgr in the Windows environment with the amqmdain (WebSphere MQ services control) program.

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.amqzag.doc/fa15570_.htm
_________________
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
View user's profile Send private message
zpat
PostPosted: Thu May 28, 2009 9:20 am    Post subject: Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Thu May 28, 2009 9:31 am    Post subject: Reply with quote

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
View user's profile Send private message
shashivarungupta
PostPosted: Thu May 28, 2009 9:58 am    Post subject: Re: MQ in Windows : Location of the file(s) ? Reply with quote

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
View user's profile Send private message Send e-mail
shashivarungupta
PostPosted: Thu May 28, 2009 10:02 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
shashivarungupta
PostPosted: Thu May 28, 2009 10:14 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Thu May 28, 2009 10:25 am    Post subject: Reply with quote

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
View user's profile Send private message
shashivarungupta
PostPosted: Thu May 28, 2009 10:28 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Vitor
PostPosted: Thu May 28, 2009 11:25 am    Post subject: Reply with quote

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
View user's profile Send private message
gbaddeley
PostPosted: Thu May 28, 2009 4:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Thu May 28, 2009 6:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General Discussion » MQ in Windows : Location of the file(s) ?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.