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 IndexClusteringHow to determine if full repositories are in Synch?

Post new topicReply to topic
How to determine if full repositories are in Synch? View previous topic :: View next topic
Author Message
gman
PostPosted: Thu Jun 02, 2005 6:08 am Post subject: How to determine if full repositories are in Synch? Reply with quote

Newbie

Joined: 15 Dec 2004
Posts: 4
Location: Pennsylvania

How can I determine if the two full repositories in my MQ cluster are in synch? I am running MQ 5.3 with CSD 7. Thanks.
Back to top
View user's profile Send private message
sebastianhirt
PostPosted: Thu Jun 02, 2005 6:14 am Post subject: Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

Hi,

I don't recall an easy way that does not involve comparing what you have on the one and what you have on the other.
But theoretically (Correct me somebody if I am wrong) the SYSTEM.CLUSTER.REPOSITORY.QUEUES should have the same depth.
Also you should find something in your errorlogs if it fails.

cheers

Sebastian
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Thu Jun 02, 2005 6:26 am Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

amqrfdm could help (if you are on windows or unix), but just a guess.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Sat Jun 04, 2005 6:00 am Post subject: Re: How to determine if full repositories are in Synch? Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

gman wrote:
How can I determine if the two full repositories in my MQ cluster are in synch? I am running MQ 5.3 with CSD 7. Thanks.

If the channels between the two FRs are able to run, trust IBM, and assume all is well.

What are you really trying to find out?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Jun 04, 2005 12:47 pm Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Use runmqsc to display all cluster objects.
Redirect the output into a file

Analyse both files for differences.

Enjoy
Back to top
View user's profile Send private message Send e-mail
gman
PostPosted: Mon Jun 06, 2005 9:42 am Post subject: Re: How to determine if full repositories are in Synch? Reply with quote

Newbie

Joined: 15 Dec 2004
Posts: 4
Location: Pennsylvania

Thanks for your responses. I am really trying to do the following:

I have an MQ (ver 5.3 CSD 7) cluster running on a couple Windows 2000 Advanced Server (SP4) machines. I need to do a restore of one of the servers (SRV2) to an earlier point in time (due to some changes that took place during recovery testing). This machine contains a FULL repository queue manager (QM_FR2) and a PARTIAL repository queue manager (QM_PR2). There is also a FULL (QM_FR1) and PARTIAL repository (QM_PR1) on another server (SRV1).

My plan to do so was as follows.

Original Status will be:

-All queue managers in MQ cluster are started
-Server SRV2 (containing QM_FR2 and QM_PR2) just restored from an earlier point in time.

Steps I will take:

-STOP queue manager QM_PR2 (w/ partial repository) (Don't know that I need to do this now?.?.)

-Stop the auto defined sender channels (SYSTEM.DEF.CLUSSDR) on the FULL repository being refreshed (QM_FR2).
-RUNMQSC QM_FR2
-REFRESH CLUSTER(PROD) REPOS(NO)
-END
-Restart “stopped” SYSTEM.DEF.CLUSSDR channel for QM_FR2

-Review the two full repositories (QM_FR1 and QM_FR2) verify they are sync'ed

-START queue manager QM_PR2 (w/ partial repository)

-Stop the auto defined sender channels (SYSTEM.DEF.CLUSSDR) on the PARTIAL repository being refreshed (QM_PR2).
-RUNMQSC QM_PR2
-REFRESH CLUSTER(PROD) REPOS(NO)
-END
-Restart “stopped” SYSTEM.DEF.CLUSSDR channel for QM_PR2

My main questions are:

1. Are the REFRESH CLUSTER(PROD) REPOS(NO) commands correct for both the FULL and PARTIAL repositories above?
Or do I need to use REPOS(YES) on the FULL to accomplish this? I know (believe) I would first have to demote it to a PARTIAL before doing this.

2. It was suggested that I verify the 2 FULLs are synched before I REFRESH the PARTIAL repos. Sounds logical but how do I verify this?

I have read the IBM SCRIPT (MQSC) Command Reference Redbook (REFRESH CLUSTER pg 278) and searched for postings on this and IBM's site (found a very interesting one "Image backup of a Full Repository QM. Then a restore. Uh-oh" that Peter took part in - Jan 2004) but I am still uncertain.

Any thoughts or suggestions of additional resources on this topic are appreciated.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jun 06, 2005 11:28 am Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

I believe the best you could go with would be to demote the full repository that got recovered to a partial than make it a full repository again. It should pump its information from the other FR that stayed fine.

In future I would advise (if you can) to demote the full repository to partial before the recovery. This way you would not corrupt the existing FR that is not affected by the recovery process.

Enjoy
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Mon Jun 06, 2005 3:48 pm Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

This will help you:
http://www.mqseries.net/phpBB2/viewtopic.php?t=12847&highlight=restore+repository

By the way, I have a cluster with 1000+ of queues, no problems, 1 FR has a repository depth of 289, the other is only 27.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
sebastianhirt
PostPosted: Tue Jun 07, 2005 1:45 am Post subject: Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

PeterPotkay wrote:
This will help you:
http://www.mqseries.net/phpBB2/viewtopic.php?t=12847&highlight=restore+repository

By the way, I have a cluster with 1000+ of queues, no problems, 1 FR has a repository depth of 289, the other is only 27.


I think I should re-read the documentation about how MQ stores repository information! This sounds like a really little number to me, considered that you have so many objects. I was led to belive that every object in the cluster would create one message in the CLUSTER.REPOS.QUEUE?!
Back to top
View user's profile Send private message
Nigelg
PostPosted: Tue Jun 07, 2005 6:12 am Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

Initially each cluster object is represented by an individual msg in the REPOS queue, but the individual msgs are consolidated at some time by the cluster maintenance routine.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Tue Jun 07, 2005 9:10 am Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

As a little interesting excercise, on a test system, issue REFRESH cluster, and note the depth of the S.C.R.Q. before and after each REFRESH. Keep refreshing (space them like 30-60 seconds apart). Once the depth gets close to 1000, the next refresh will compress the messages down to a couple of dozen.

Because REFRESH cluster causes a lot of activity in the clusters, don't do it where message throughput cannot be compomised. Some of your cluster XMITQs will rise to several hundred for a couple of seconds, depending on how big your cluster is.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexClusteringHow to determine if full repositories are in Synch?
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.