Author |
Message
|
mogant |
Posted: Wed Dec 12, 2007 3:02 am Post subject: AIX Cross Reference - Message Flow & Queue information |
|
|
Newbie
Joined: 12 Dec 2007 Posts: 3
|
I am trying to automate a utility that allows me to list all flows on an AIX system AND provide queue information associated with those flows.
This is specificaly for retrofitting purposes across multiple brokers for a number of parallel development regions
I DO NOT WANT TO DO ALL THIS MANUALY so PLEASE PLEASE someone help . . .. I wont just use this for Christmas |
|
Back to top |
|
 |
Michael Dag |
Posted: Wed Dec 12, 2007 3:20 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
Looking for something "like" this? :
AFAIK there is no "fully automated" way of doing this, there is some manual work involved... _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 12, 2007 3:21 am Post subject: Re: AIX Cross Reference - Message Flow & Queue informati |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mogant wrote: |
I wont just use this for Christmas |
A utility is for life, not just for Christmas?
What version of broker? You should be able to read the bar files, extract the MQInput/MQOutput node information then use that as input to runmqsc to extract the queue information you need.
Tuggy bit of script though. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mogant |
Posted: Wed Dec 12, 2007 4:12 am Post subject: Christmas come early |
|
|
Newbie
Joined: 12 Dec 2007 Posts: 3
|
Mr Vitor
I am very new to AIX and in Messaging and MQ and so am trying to apply logic from other machines I've played with.
What you are describing is exactly what I have been looking at manualy
I know how to look at the bar file config info using the broker toolkit to find the queue but was hoping that someone would supply me with AIX commands or scripts that would automaticaly produce a list of flows with this config info.
There must be a way to use some sort of SYS commands to obtain this info automaticaly
Thanks for your help thus far |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 12, 2007 4:48 am Post subject: Re: Christmas come early |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mogant wrote: |
I know how to look at the bar file config info using the broker toolkit to find the queue but was hoping that someone would supply me with AIX commands or scripts that would automaticaly produce a list of flows with this config info. |
Well the bar file is just (just!) zipped up XML in the same way a jar file is just zipped up Java so it's capable of automatic analysis.
mogant wrote: |
There must be a way to use some sort of SYS commands to obtain this info automaticaly |
Why must there?
AFAIK there's no "out-of-the-box" command / script that does this kind of inventory work. MQDocument (so ably suggested earlier) does the kind of analysis I was suggesting but I do suspect you'll need to "roll your own" to get the answers you need. I would be surprised (and impressed) if you managed it in a fully automated form that required no manual intervention. I also suspect you'd become rich from the software sales....
Don't neglect other possible sources of information - the CVS repository, supporting documentation for the flows, etc, etc, etc. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 12, 2007 4:51 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Returning for a moment to your original point, if what you're trying to achieve is a retrofit and rollout across multiple areas, I wonder if you might be better advised to build the "correct" environment and automate the roll-out using the CMP / bar file overrides and script.
Certainly easier than trying to reverse engineer an environment, retrofit it then redeploy it.
My 2 cents, other methods are equally valid, no warrenty is given or implied that this method applies to your situation, etc, etc. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mogant |
Posted: Wed Dec 12, 2007 6:19 am Post subject: Food for thought |
|
|
Newbie
Joined: 12 Dec 2007 Posts: 3
|
Thanks for the info
Have had a look at the unzipped bar files and indeed they contain the info I'm after . . . .with such lovely Strings in the XML as MQInput and MQOUTPUT followed by the queue names etc etc etc
Again thanks for the info and have a good un |
|
Back to top |
|
 |
|