|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Comparing deployed flows between 2 Brokers |
« View previous topic :: View next topic » |
Author |
Message
|
PeterPotkay |
Posted: Thu Aug 14, 2008 9:24 am Post subject: Comparing deployed flows between 2 Brokers |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
In WMB 6.1, how do you guys verify that everything deployed to Broker #1 is the same as what's deployed to Broker#2? Assume both Brokers are "owned" by seperate Config Managers.
How do I check after the fact that all the same flows and message sets are deployed to both brokers? I can manually look at the Version Field of every flow of the Broker via the Toolkit, but that's tedious and error prone. I would liketo run some command, from the Broker or from the Config Manager that dumps all the flow and message set names, AS WELL AS some version info. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Aug 14, 2008 1:06 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
The java config proxy should be your friend.
I believe the standard allows you to see when the file/flow was last changed,
last deployed and the path where it was deployed from... (mqsideploy...)
You could then store this information into some DB or file for diff and or compare.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqmatt |
Posted: Fri Aug 15, 2008 4:21 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
fjb_saper is spot on, as usual.
For a Java programmer, it'd be trivial to write a CMP app to do this.
You just need to invoke methods such as getDeployTime(), getModifyTime() and getKeywords() against each messageflow.
You don't even need to use a DB or file to store the results for diffing- you can connect to multiple CMs at the same time, so all the comparison can be done from within the app. |
|
Back to top |
|
 |
dp111443 |
Posted: Fri Aug 15, 2008 6:33 am Post subject: |
|
|
Voyager
Joined: 25 Feb 2004 Posts: 82
|
If your no good at Java (like me!)
then you could also install IS02 support pack which integrated into your MQExplorer nicely. This allows you to administer your Broker domain (through your config mgr).
By clicking on a flow (in an exec group), it can tell you things like:
Barfile deployed (full path)
Deploy time
userid <-- so you can blame them
additional instances
commit count
etc.
It's pretty neat! _________________ Integration Design/Developer
IBM Certified System Administrator -
WebSphere MQ V5.3 |
|
Back to top |
|
 |
PeterPotkay |
Posted: Fri Aug 15, 2008 11:48 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
dp111443, the WMB ToolKit will give you the same info. Wish there was a way for the ToolKit or IS02 to "export" this info for a particular Broker.
This smells like a new Support Pack, or an enhancement to IS02, or an enhancement to the base product - push a button or run a command to compare 2 Brokers and what they have deployed to them.
Matt / F.J.,
Yup, I think this is the way to go unless someone has a better (read: easier!) way.
"For a Java programmer, it'd be trivial ". For everyone else, not so trivial. I'm going to give it a go (haven't done any java programming in years) and it will probably be a fun learning expirience, but when things are so busy its just another thing to try and figure out while you mutter to yourself why can't the product out of the box make it a little easier to compare 2 Brokers. For the folks that have never done java programing, don't underestimate how daunting it can be just to compile and run Hello World. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|