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 » Queue Manager Listener Port no

Post new topic  Reply to topic Goto page 1, 2  Next
 Queue Manager Listener Port no « View previous topic :: View next topic » 
Author Message
kag
PostPosted: Wed Mar 14, 2007 3:04 am    Post subject: Queue Manager Listener Port no Reply with quote

Novice

Joined: 14 Mar 2007
Posts: 10

Hi,
I had created a Queue Manager through command in Windows server. i want to know the listener port for the queue manager. when i checked through MQ Services i am not able to see the listener.when i checked runmqlsr it says listener is running.

How to find out the listener port no.
Back to top
View user's profile Send private message
muthum_2000
PostPosted: Wed Mar 14, 2007 3:18 am    Post subject: Reply with quote

Voyager

Joined: 10 Jul 2006
Posts: 85

Hi

Please try out the following


Say if your queue manager name is QM1,
then
1)goto MQ explorer
2)You can see the list of queuemanagers running and a plus sign before each queuemanager
3)Do not click on the plus sign before the queuemanager as it shows all the submenus
4)Right click on the queuemanager 'QM1',then click on properties
5)Under Properties,you will see an option TCP
6)If you select the TCP option,you will see the port number
Back to top
View user's profile Send private message
dalelane
PostPosted: Wed Mar 14, 2007 3:20 am    Post subject: Reply with quote

Novice

Joined: 21 Jul 2005
Posts: 15

there is a post which talks the background of different ways to specify (and identify) your listener port numbers here: http://hursleyonwmq.wordpress.com/2007/02/07/what-tcp-ports-are-you-using-for-channel-listeners/

please feel free to add any comments or questions if any of it is unclear

kind regards

Dale
Back to top
View user's profile Send private message
kag
PostPosted: Wed Mar 14, 2007 3:25 am    Post subject: Reply with quote

Novice

Joined: 14 Mar 2007
Posts: 10

Thanks, but i am using v5.3 where there is no TCP option
Back to top
View user's profile Send private message
zpat
PostPosted: Wed Mar 14, 2007 3:27 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5853
Location: UK

netstat -a
Back to top
View user's profile Send private message
kag
PostPosted: Wed Mar 14, 2007 3:28 am    Post subject: Reply with quote

Novice

Joined: 14 Mar 2007
Posts: 10

my another question is when you are creating queue manager in windows through command prompt how will you assign the port no for that queue manager thro crtmqm command
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Mar 14, 2007 3:31 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

kag wrote:
my another question is when you are creating queue manager in windows through command prompt how will you assign the port no for that queue manager thro crtmqm command


You don't. Port number is assigned (in 5.3) via runmqlsr for that queue manager.

Check the System Admin manual for detailed explainations.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
muthum_2000
PostPosted: Wed Mar 14, 2007 3:32 am    Post subject: Reply with quote

Voyager

Joined: 10 Jul 2006
Posts: 85

You will use the following command after creating the queuemanager;

runmqlsr -m <QMGR Name> -P <Portnumber> -T <protocoltype>
Back to top
View user's profile Send private message
kag
PostPosted: Wed Mar 14, 2007 3:58 am    Post subject: Reply with quote

Novice

Joined: 14 Mar 2007
Posts: 10

Can somebody help me, i am still not able to locate the port no of a queue manager which i created throgh command prompt.

when you create through explore, you have an option of giving listener port
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Mar 14, 2007 4:19 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

kag wrote:
i am still not able to locate the port no of a queue manager which i created throgh command prompt.


You won't find it because queue manager's don't have port numbers. Listeners have port numbers. If you've not used the runmqlsr command that we've talked about in previous posts then there is no listener and hence no port number.

The GUI and crtmqm are not equivalent. Explorer runs a number of commands under the covers, including those to set up a listener. If you're using the command prompt you have to perform all the steps the GUI would. I again refer you to the System Admin manual.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Wed Mar 14, 2007 4:43 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2602
Location: The Netherlands (Amsterdam)

on windows (MQ 5.3) use: amqmdain status Qmgrname

it will tell you what is running for that Qmgr

then fire up regedit and look in:
HKEY_LOCAL_MACHINE\SOFTWARE\IBM\MQSeries\CurrentVersion\Configuration\Services\Qmgrname\Listener
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Michael Dag
PostPosted: Fri Mar 16, 2007 12:59 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2602
Location: The Netherlands (Amsterdam)

if you have reg.exe

you can use: reg QUERY HKLM\Software\IBM\MQSeries\CurrentVersion\Configuration\Services /s
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
kag
PostPosted: Fri Mar 16, 2007 1:12 am    Post subject: Reply with quote

Novice

Joined: 14 Mar 2007
Posts: 10

pls can you clarify this.is this the stpe you have to do through command prompt in Windows/ Unix platforms when you create Queue managers.

1) cretq queue manager ( CRTMQM QMGR1)
2) then start Queue Manager (STRMQM QMGR1)
3) then runmqlsr -t TCP -p 1420 QMGR1

Please let me know the above steps are correct in creating a queue Manager QMGR1 with listener port 1420.

Thanks for the help.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Mar 16, 2007 1:18 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Only for v5.3. Listeners became queue manager objects in v6 and and maintained via runmqsc.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
HubertKleinmanns
PostPosted: Fri Mar 16, 2007 5:10 am    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

Vitor wrote:
Only for v5.3. Listeners became queue manager objects in v6 and and maintained via runmqsc.


but it still works for version 6. Addionally it is possible, to define a specific IP address:

runmqlsr -t TCP -p 1420 QMGR1 -i <my_address>
_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

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