ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Comparing MQ Environments

Post new topic  Reply to topic
 Comparing MQ Environments « View previous topic :: View next topic » 
Author Message
tango
PostPosted: Thu Jan 03, 2008 2:33 am    Post subject: Comparing MQ Environments Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Jan 03, 2008 2:34 am    Post subject: Reply with quote

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
View user's profile Send private message
tango
PostPosted: Thu Jan 03, 2008 2:49 am    Post subject: Comparing MQ Environments Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Jan 03, 2008 3:19 am    Post subject: Reply with quote

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
View user's profile Send private message
Michael Dag
PostPosted: Thu Jan 03, 2008 3:57 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

Have a look at MQDocument
comparing configuration information is one of the powerful features
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
wschutz
PostPosted: Fri Jan 04, 2008 1:05 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
Nigelg
PostPosted: Mon Jan 07, 2008 1:07 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Comparing MQ Environments
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.