Author |
Message
|
anveshita |
Posted: Thu Oct 02, 2008 8:57 am Post subject: Given QM how to find the clients |
|
|
Master
Joined: 27 Sep 2004 Posts: 254 Location: Jambudweepam
|
Given a queue manager QM1, I was asked to find the QMs/Queues configured to send the messages TO QM1 and find out the QMs/queues configured to receive messages FROM QM1. I have not found this queuestion earlier. Here is what I did:
Quote: |
runmqsc QM1
GOt list of queues on QM1.
Identified the remote queues and then displayed information for each queue. From this I could get the remote queue manager name.
That is all. I could not tell where this remote queue manager is located? what is the port number the listner on this machinge is listening to? |
My question to you all, given I have access to the MQ network of the organization, given a queue manager QM1 how to find:
1. QM/Queues configured to send messages TO QM1? IP address of the host of the QM? Port number of the listner? Queue names? etc
2. QM/Queues configured to receive messages FROM QM1? IP address of the host of the QM? Port number of the listner? Queue names? etc
Is there a utility that I can use? I am not sure if MQ Explorer could be of help. But in the absense of it, is there any way out?
Please let me know |
|
Back to top |
|
 |
jhidalgo |
Posted: Thu Oct 02, 2008 12:21 pm Post subject: |
|
|
 Disciple
Joined: 26 Mar 2008 Posts: 161
|
is it part of a cluster ?
in that case see the members of the cluster.
if not then just see the remote queue's definitions and channels |
|
Back to top |
|
 |
anveshita |
Posted: Thu Oct 02, 2008 1:01 pm Post subject: |
|
|
Master
Joined: 27 Sep 2004 Posts: 254 Location: Jambudweepam
|
No this is not part of a cluster. As indicated I have gone through the remote queue definition of the queues on QM1, the information I could get was:
1. Remote Queue Manager name
How to know the machine, listner port, queues on the remote QM? |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Oct 02, 2008 1:41 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
anveshita wrote: |
How to know the machine, listner port, queues on the remote QM? |
For the machine and port, on your QM look at the SNDR channel's definition to that remote QM.
For a list of queues on the remote QM, ask the MQ Admin of the remote QM to give you access. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
zboy |
Posted: Thu Oct 02, 2008 10:32 pm Post subject: |
|
|
Novice
Joined: 01 Oct 2008 Posts: 13
|
Delete queue QM1 on your server. The complaints coming in will tell you who is using the queue out there. |
|
Back to top |
|
 |
anveshita |
Posted: Fri Oct 03, 2008 6:01 am Post subject: |
|
|
Master
Joined: 27 Sep 2004 Posts: 254 Location: Jambudweepam
|
Quote: |
Delete queue QM1 on your server. The complaints coming in will tell you who is using the queue out there |
Not a good idea. But that tells me there is an even mechanism that is in place. So if I disable the queues ( not sure of the apporpirate MQ term) instead of deleting the queues on QM1, I should be able to trace the incoming traffic. Right? Not sure again of the MQ capabilities
Quote: |
For the machine and port, on your QM look at the SNDR channel's definition to that remote QM.
For a list of queues on the remote QM, ask the MQ Admin of the remote QM to give you access. |
Thanks for the input. I think I was vague when I asked the information andI am looking for something like this:
In Windows you have a tracert/traceroute command. It gives the hops a packet takes before it reaches the destination. Similar to that, I would like to put a message on the remote queue of my QM1 and see the hops( along with it the details like IP address, port etc of the QMs) it goes through before it reaches the destination.
Is there any PCF command messages ( I just read and not sure if this is appropriate) that can be used to check the connectivity. Just like the network healthcheck a network admin would do, to make sure all connections are working, I would like to have test tool to trace the connections made TO/FROM the QM1
Please let me know if you need further explanation. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Oct 03, 2008 6:04 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
MQ v6 and later has trace route messaging.
MQ v6 and later has a number of MQSC/PCF commands to identify connections and applications and "message flow". |
|
Back to top |
|
 |
anveshita |
Posted: Fri Oct 03, 2008 7:09 am Post subject: |
|
|
Master
Joined: 27 Sep 2004 Posts: 254 Location: Jambudweepam
|
Quote: |
MQ v6 and later has trace route messaging.
MQ v6 and later has a number of MQSC/PCF commands to identify connections and applications and "message flow". |
Thanks. Could you please post a link to the documents which could help me understand, if you have some which you recommend. I am about to google for thes. But if you have that would be handy.
Thanks |
|
Back to top |
|
 |
exerk |
Posted: Fri Oct 03, 2008 7:21 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
anveshita wrote: |
...Could you please post a link to the documents which could help me understand, if you have some which you recommend... |
Try the Info Center link at the top of the page... _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
|