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 » Question for Websphere MQ on iSeries experts.

Post new topic  Reply to topic
 Question for Websphere MQ on iSeries experts. « View previous topic :: View next topic » 
Author Message
Geronimo
PostPosted: Thu Nov 17, 2005 6:11 am    Post subject: Question for Websphere MQ on iSeries experts. Reply with quote

Newbie

Joined: 17 Nov 2005
Posts: 4

Hello,

I'm using Vision Solutions to replicate data and objects between 2 iSeries in order to be able to switch from the production system to the backup system in case of a disaster.

The queue manager is replicated thru remote journaling (AMQAJRN on the source system has a remote journal attached, and this remote journal is read to update AMQAJRN on the target system).

During tests, I stop the queue manager on the production machine and start it on the backup machine. In order to replicate the content of the queues, I remove all the queues including system queues from the IFS (QIBM/UserData/mqm/qmgrs/"my queue manager"/queues).

I also remove QMQMCHKPT and QMQMOBJCAT.

Then I use the RCRMQOBJ command in order to force queues recreation.

All the process works fine, excepted that I'm unable to get the latest messages sequence numbers for the channels ( the sequence numbers are those of the previous test) so I have to reset manually each channels with the sequences numbers expected by other servers.

SYSTEM.CHANNEL.SYNCQ and SYSTEM.CHANNEL.INITQ seem to be rebuild correctly from journal entries (RCDMQMIMG is done every hour on the source system, and again just before switching to the target system, so AMQAJRN is up-to-date).

Is there any other place where the information about messages sequence numbers could be kept?

iSeries OS version is V5R1M0
Websphere MQ version is V5R3 CSD09.

Thanks for your support.
Eric
Back to top
View user's profile Send private message
Toronto_MQ
PostPosted: Thu Nov 17, 2005 8:37 am    Post subject: Reply with quote

Master

Joined: 10 Jul 2002
Posts: 263
Location: read my name

Maybe I'm misreading this, but you're recreating the queues with RCRMQOBJ... and you're not restoring the messages on any of these queues?

The sequence numbers are stored in SYSTEM.CHANNEL.SYNCQ and if you wipe that queue clean, the sequence numbers go with it... regardless of platform.

But maybe I've misread the post?

Cheers
Steve
Back to top
View user's profile Send private message
JT
PostPosted: Thu Nov 17, 2005 10:48 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Quote:
Is there any other place where the information about messages sequence numbers could be kept?

See Nigelg's post in the following thread: http://www.mqseries.net/phpBB2/viewtopic.php?t=23410
Back to top
View user's profile Send private message
Geronimo
PostPosted: Fri Nov 18, 2005 2:54 am    Post subject: Reply with quote

Newbie

Joined: 17 Nov 2005
Posts: 4

Toronto_MQ wrote:
Maybe I'm misreading this, but you're recreating the queues with RCRMQOBJ... and you're not restoring the messages on any of these queues?

The sequence numbers are stored in SYSTEM.CHANNEL.SYNCQ and if you wipe that queue clean, the sequence numbers go with it... regardless of platform.

But maybe I've misread the post?

Cheers
Steve


The RCRMQOBJ recreates the queues with all their content, including system queues. It uses the image that was recorded in journal AMQAJRN.

By the way, during my last test, sequences numbers were around 1335000 (range of the previous test), proving that they are not wiped out.
Back to top
View user's profile Send private message
Geronimo
PostPosted: Fri Nov 18, 2005 3:17 am    Post subject: Reply with quote

Newbie

Joined: 17 Nov 2005
Posts: 4

JT wrote:

See Nigelg's post in the following thread: http://www.mqseries.net/phpBB2/viewtopic.php?t=23410


Thanks, usefull link. I did not know about the channel scratchpad. I'll give it a look.

Eric
Back to top
View user's profile Send private message
Toronto_MQ
PostPosted: Mon Nov 21, 2005 9:15 am    Post subject: Reply with quote

Master

Joined: 10 Jul 2002
Posts: 263
Location: read my name

Thanks Eric -

I thought that a RCRMQOBJ only restored the object definitions, and not the data on the queues. Unfortunately the IBM doc on this command isn't the clearest. You learn something new every day...

Just out of curiosity, are your sequence numbers WAY off, or only off by a few?

Steve
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 » Question for Websphere MQ on iSeries experts.
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.