Author |
Message
|
kag |
Posted: Wed Mar 14, 2007 3:04 am Post subject: Queue Manager Listener Port no |
|
|
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 |
|
 |
muthum_2000 |
Posted: Wed Mar 14, 2007 3:18 am Post subject: |
|
|
 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 |
|
 |
dalelane |
Posted: Wed Mar 14, 2007 3:20 am Post subject: |
|
|
Novice
Joined: 21 Jul 2005 Posts: 15
|
|
Back to top |
|
 |
kag |
Posted: Wed Mar 14, 2007 3:25 am Post subject: |
|
|
Novice
Joined: 14 Mar 2007 Posts: 10
|
Thanks, but i am using v5.3 where there is no TCP option |
|
Back to top |
|
 |
zpat |
Posted: Wed Mar 14, 2007 3:27 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
|
Back to top |
|
 |
kag |
Posted: Wed Mar 14, 2007 3:28 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Wed Mar 14, 2007 3:31 am Post subject: |
|
|
 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 |
|
 |
muthum_2000 |
Posted: Wed Mar 14, 2007 3:32 am Post subject: |
|
|
 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 |
|
 |
kag |
Posted: Wed Mar 14, 2007 3:58 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Wed Mar 14, 2007 4:19 am Post subject: |
|
|
 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 |
|
 |
Michael Dag |
Posted: Wed Mar 14, 2007 4:43 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 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 |
|
 |
Michael Dag |
Posted: Fri Mar 16, 2007 12:59 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 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 |
|
 |
kag |
Posted: Fri Mar 16, 2007 1:12 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Fri Mar 16, 2007 1:18 am Post subject: |
|
|
 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 |
|
 |
HubertKleinmanns |
Posted: Fri Mar 16, 2007 5:10 am Post subject: |
|
|
 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 |
|
 |
|