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 » IBM MQ Installation/Configuration Support » Default Queue Manager Configuration

Post new topic  Reply to topic
 Default Queue Manager Configuration « View previous topic :: View next topic » 
Author Message
ksubodh
PostPosted: Tue Oct 29, 2002 2:06 am    Post subject: Default Queue Manager Configuration Reply with quote

Novice

Joined: 15 Jan 2002
Posts: 10
Location: Bangalore ,IBM India.

Hi All ,

I have a confusion with a default queue manager (say QM1) . Basically a default QMgr is a Queue Manager whose listener is configured to listen at a port 1414.

Let suppose , Now I want to have a default Queue Manager QM2 to be listening at port 2525 . Is it possible to configure it . That is to say when I use runmqsc only , it should be connecting to QM2.

Not , I tried in AIX changing the file in directory /etc/services ie
MQSeries 2525 . but it didnt worked well .

Any idea u can suggest me . Thanks for any solution
Back to top
View user's profile Send private message
clindsey
PostPosted: Tue Oct 29, 2002 10:42 am    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

Edit the qm.ini file for the queue manager in \var\mqm\qmgrs\<qmgrname>\qm.ini

If you do not have a tcp stanza, add one and then insert
Port=2525.

TCP:
Port=2525

When you stop and restart the queue manager it will then use 2525 as it's default port.

Charlie
Back to top
View user's profile Send private message
kp
PostPosted: Tue Oct 29, 2002 12:08 pm    Post subject: Reply with quote

Novice

Joined: 16 Oct 2002
Posts: 15
Location: Belgium

I think we are mixing up 2 things (or I am ?)

1. Default queue manager. The queue manager that is used when e.g. you use runmqsc - dis QMGR.

2. The queue managers port number which is by default 1414.

If you want QM2 to be the default, then run crtmqm with the -q flag to set it as default queue manager. If it already exists, you can change the /var/mqs.ini file's "Default queue manager" entry, though I'm not sure only that change will do it (beside the qmgr restart).

The port number is another thing. Like charlie told you, you change the qm.ini file or if you want to use the /etc/services, then go ahead defining MQseries_QM1 and MQSeries_QM2 there. You can start your listeners from inetd.conf as mentioned in Quick Beginnings.

For completeness, I want to add the following extract from Intercommunication:

To select which TCP/IP port number to use, MQSeries uses the first | port number it finds in the following sequence:
| The port number explicitly specified in the channel definition | or command line. This number allows the default port number to | be overriden for a channel.
| The port attribute specified in the TCP stanza in the qm.ini | file. This number allows the default port number to be | overriden for a queue manager.
| The value specified for 'MQSeries' in the '/etc/services' file. | This number allows the default port number to be overriden for | a machine.
| The default value of 1414. This is the number assigned to | MQSeries by the Internet Assigned Numbers Authority.




Hope this helps,

KP
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Default Queue Manager Configuration
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.