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 » WebSphere Message Broker (ACE) Support » Resequence node on Active Passive IIB instance - IIB 10

Post new topic  Reply to topic
 Resequence node on Active Passive IIB instance - IIB 10 « View previous topic :: View next topic » 
Author Message
JVR
PostPosted: Tue Oct 11, 2016 9:46 am    Post subject: Resequence node on Active Passive IIB instance - IIB 10 Reply with quote

Newbie

Joined: 05 Mar 2012
Posts: 8

Software used:
IIB : V_10.0.0.6
MQ : V_8.0
DP : XI52

Scenario: The client sends data files(soap or flat files) which has to be sent to the target systems in the a sequential order. The messages are received by our Gateway system(DP- running on a single instance) which performs schema validation and punches each message with a sequence number before sending to IIB flow ( running on multiple instances and brokers) which performs required validation,transformation and pushes the transformed and enriched message to a Queue. Basically this flow is handling the heavy weight operations of validations and transformations.
Note: In case of any exceptions a very small dummy message is written to the target Queue with the sequence number of the failed message for the benefit of resequence node.

The target Queue of the above flow will be Input Queue for our light weight Distribution flow (running on a single instance), whose task is just to resequence the messages based on sequence numbers and send it across to a target application. This node would be running on a active passive mode.


Areas of Concern : 1) Would resequence node maintain its current state while switching from active to passive instance ( with the persistence mode set as "Persistence")? Say, MSG1 and MSG3 is on active instance of IIB and is waiting for MSG2, and for some reasons goes down. Would the passive instance (now active) take over and process MSG1,MSG2 and MSG3 in a sequential order (as the message is set as persistence on Queue)?

2) Would the timer ( the start (10 sec) and end(60sec) of sequence definition is set as automatic) on sequence node be reset?

3) What would be the best combination of start of sequence and end of sequence definition to handle fail over scenarios? Currently I'm having the start of sequence definition as predicate ( which is set as true in a xpath by Datapower with the first message in sequence) and end as automatic - set to 60 seconds, which might not be the best of combinations for active/passive env.


Any help is greatly appreciated.
Thanks,

JV
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Oct 11, 2016 11:01 am    Post subject: Re: Resequence node on Active Passive IIB instance - IIB 10 Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

JVR wrote:
Scenario: The client sends data files(soap or flat files) which has to be sent to the target systems in the a sequential order.


This is called message affinity and is a bad idea. Because everything now has to be single threaded.

JVR wrote:
1) Would resequence node maintain its current state while switching from active to passive instance ( with the persistence mode set as "Persistence")? Say, MSG1 and MSG3 is on active instance of IIB and is waiting for MSG2, and for some reasons goes down. Would the passive instance (now active) take over and process MSG1,MSG2 and MSG3 in a sequential order (as the message is set as persistence on Queue)?


Assuming the underlying queue manager and it's associated disc is failed over correctly at the same time as the broker, yes.

JVR wrote:
2) Would the timer ( the start (10 sec) and end(60sec) of sequence definition is set as automatic) on sequence node be reset?


Yes.

JVR wrote:
3) What would be the best combination of start of sequence and end of sequence definition to handle fail over scenarios?


The best combination would be not to do this at all.

What happens when the broker doesn't fail over, but MSG3 arrives more than 60 seconds after MSG2? Or not at all?
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » WebSphere Message Broker (ACE) Support » Resequence node on Active Passive IIB instance - IIB 10
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.