Author |
Message
|
tango |
Posted: Thu Jan 03, 2008 2:33 am Post subject: Comparing MQ Environments |
|
|
Apprentice
Joined: 14 Mar 2007 Posts: 42
|
Hi,
Can anyone suggest an easy/quick way of comparing Queue manager objects between two MQ environments which are meant to be identical? We have two PROD environments, one live the other standby, and we 'flip' between the two every so often. Before doing the 'flip' I want to ensure that all the QM objects, authorities etc on the standby env are exactly the same as those in the current 'live' production environment.
Any suggestions?
Thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jan 03, 2008 2:34 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
MS03.
You're going to have an ... exciting... time if you need to compare messages, though. I'm not aware of any tool that will do that for you, in an automated fashion. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
tango |
Posted: Thu Jan 03, 2008 2:49 am Post subject: Comparing MQ Environments |
|
|
Apprentice
Joined: 14 Mar 2007 Posts: 42
|
Thanks jefflowrey. I'm looking at using saveqmgr and then doing a diff on the output for each Queue Manager pair, is this the quickest (free) method? I just need to compare channels, queues, and OAM defs (though MS03 says I can't do the latter on v5.3). |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jan 03, 2008 3:19 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You can use amqoamd -s on v5.3
I can't say that this is the quickest, free, method to compare two qmgrs, but it is a workable method and it's not slow, and it doesn't cost anything.
Ideally, your monitoring/management tools for MQ would do all this for you, and let you do other kinds of configuration auditing and reporting. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Michael Dag |
Posted: Thu Jan 03, 2008 3:57 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
Back to top |
|
 |
wschutz |
Posted: Fri Jan 04, 2008 1:05 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
If you have GNU diff, you can use the '-F' option on saveqmgr output, it'll also list the name of the object thats changed (iirc) :
diff -c -F DEFINE /tmp/wschutz.yesterday /tmp/wschutz.today _________________ -wayne |
|
Back to top |
|
 |
Nigelg |
Posted: Mon Jan 07, 2008 1:07 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
Use MS03 on the live environment to dump the qmgr objects. Delete and recreate the qmgr on the other machine, then create the objects from the MS03 output. _________________ MQSeries.net helps those who help themselves.. |
|
Back to top |
|
 |
|