Author |
Message
|
mqjeff |
Posted: Wed Jun 24, 2009 4:50 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
shashivarungupta wrote: |
exerk wrote: |
shashivarungupta wrote: |
...Have I answered your question or I missed something ?  |
I think my esteemed master meant that if a Listener object has not been configured, then a 'dis listener(*)' will be of no value at all - so, I guess you missed something. |
Have I?  |
Yes. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jun 24, 2009 4:51 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
shashivarungupta wrote: |
exerk wrote: |
shashivarungupta wrote: |
...Have I answered your question or I missed something ?  |
I think my esteemed master meant that if a Listener object has not been configured, then a 'dis listener(*)' will be of no value at all - so, I guess you missed something. |
Have I?  |
I still think you might have.
But then, I could be wrong. It does happen.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Wed Jun 24, 2009 4:55 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
mqjeff wrote: |
shashivarungupta wrote: |
exerk wrote: |
shashivarungupta wrote: |
...Have I answered your question or I missed something ?  |
I think my esteemed master meant that if a Listener object has not been configured, then a 'dis listener(*)' will be of no value at all - so, I guess you missed something. |
Have I?  |
Yes. |
Then I would say, if someone hasn't yet configured the object Listener(s) for queue manager(s) then it wont show. {except system default listeners.}
AMQ8630: Display listener information details.
LISTENER(SYSTEM.DEFAULT.LISTENER.LU62)
CONTROL(MANUAL) TRPTYPE(LU62)
TPNAME( ) DESCR( )
ALTDATE(2009-06-22) ALTTIME(12.30.00)
AMQ8630: Display listener information details.
LISTENER(SYSTEM.DEFAULT.LISTENER.NETBIOS)
CONTROL(MANUAL) TRPTYPE(NETBIOS)
ADAPTER(0) LOCLNAME( )
NTBNAMES(0) SESSIONS(0)
COMMANDS(0) DESCR( )
ALTDATE(2009-06-22) ALTTIME(12.30.00)
AMQ8630: Display listener information details.
LISTENER(SYSTEM.DEFAULT.LISTENER.SPX) CONTROL(MANUAL)
TRPTYPE(SPX) BACKLOG(0)
SOCKET(0) DESCR( )
ALTDATE(2009-06-22) ALTTIME(12.30.00)
AMQ8630: Display listener information details.
LISTENER(SYSTEM.DEFAULT.LISTENER.TCP) CONTROL(MANUAL)
TRPTYPE(TCP) PORT(0)
IPADDR( ) BACKLOG(0)
DESCR( ) ALTDATE(2009-06-22)
ALTTIME(12.30.00) _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jun 24, 2009 5:02 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
shashivarungupta wrote: |
Then I would say, if someone hasn't yet configured the object Listener(s) for queue manager(s) then it wont show. {except system default listeners.} |
Which was the point I was driving at. Issuing a DISPLAY LISTENER(*) is not guaranteed to show a queue manager's listener(s). _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Wed Jun 24, 2009 5:08 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
Vitor wrote: |
shashivarungupta wrote: |
Then I would say, if someone hasn't yet configured the object Listener(s) for queue manager(s) then it wont show. {except system default listeners.} |
Which was the point I was driving at. Issuing a DISPLAY LISTENER(*) is not guaranteed to show a queue manager's listener(s). |
Its obvious.
Isn't it like someone has no data and expecting data (using some search) to try to match with something.
huh. _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
Pavan Kumar PNV |
Posted: Thu Jun 25, 2009 11:21 pm Post subject: |
|
|
 Acolyte
Joined: 03 Feb 2007 Posts: 66
|
Its not. Someone is trying to perform a through search and get data. Its not searching just one of the several possibilities. _________________ _____________
Pavan Pendyala
http://pavanz.blogspot.com |
|
Back to top |
|
 |
shashivarungupta |
Posted: Fri Jun 26, 2009 5:04 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
Pavan Kumar PNV wrote: |
Its not. |
You mean to say, you would find the listener object even if its not there. Either using netstat or any mqsc command.
I hope your optimism will alive. _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
Pavan Kumar PNV |
Posted: Fri Jun 26, 2009 5:08 am Post subject: |
|
|
 Acolyte
Joined: 03 Feb 2007 Posts: 66
|
Quote: |
Issuing a DISPLAY LISTENER(*) is not guaranteed to show a queue manager's listener(s). |
_________________ _____________
Pavan Pendyala
http://pavanz.blogspot.com |
|
Back to top |
|
 |
shashivarungupta |
Posted: Fri Jun 26, 2009 5:20 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
Pavan Kumar PNV wrote: |
Quote: |
Issuing a DISPLAY LISTENER(*) is not guaranteed to show a queue manager's listener(s). |
|
Its true but in those cases when you have not defined the listener object for that queue manager. But if you have, then it'll show for sure. And you got to keep the records(of queue managers and listeners) when it comes to production. _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
Pavan Kumar PNV |
Posted: Fri Jun 26, 2009 5:26 am Post subject: |
|
|
 Acolyte
Joined: 03 Feb 2007 Posts: 66
|
Agreed. But wasnt the question -
Quote: |
Is there a way to find out the port number of listener on windows without using MQ Explorer? Especially when we have multiple queue managers running and the listeners were not created/started theu the runmqsc interface |
_________________ _____________
Pavan Pendyala
http://pavanz.blogspot.com |
|
Back to top |
|
 |
shashivarungupta |
Posted: Fri Jun 26, 2009 5:38 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
Pavan Kumar PNV wrote: |
Quote: |
Is there a way to find out the port number of listener on windows without using MQ Explorer? Especially when we have multiple queue managers running and the listeners were not created/started theu the runmqsc interface |
|
How would you get listeners or if I say the port numbers of those listeners which are never being created.
Or take a case, when you have a group of queue managers but you have listeners defined for them (BUT not for all of them).
I agree that netstat will show the ports but again, as i stated earlier it wont show the queue manager name corresponding to that port. you got to find it again., using some search criteria., may be based on PID.
I did give the snap of the Listener details even when its not started.
You stay with your words and I stand by with mine.
Do you get some way out ? _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Jun 26, 2009 6:32 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Add this:
You may have a listener object defined, but unless and until you START LISTENER, it is not listening. There is a display listener status MQSC command.
And this:
I seem to recall someone offering a utility that displayed listener, ports and qmgr. Roger? What that you? _________________ 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 |
|
 |
manicminer |
Posted: Fri Jun 26, 2009 7:17 am Post subject: |
|
|
 Disciple
Joined: 11 Jul 2007 Posts: 177
|
You can see the status of running listeners, even the ones that were run manually using runmqlsr by issuing:
DIS LSSTATUS(*)
This is the same command used by the explorer when you right click on the Listener folder and select status.
It would be very simple to write a batch file to issue DIS LSSTATUS(*) on all your queue managers through runmqsc and display the output.
PS I don't have a running mq accessible right now, I think it is lsstatus, but it might be something similar instead, and I don't have time to look it up in the manuals as I'm going home  _________________ Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime. |
|
Back to top |
|
 |
|