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 » JDBC Adapters in an Active/Active cluster environment

Post new topic  Reply to topic
 JDBC Adapters in an Active/Active cluster environment « View previous topic :: View next topic » 
Author Message
dotaneli
PostPosted: Thu Jun 26, 2008 7:36 am    Post subject: JDBC Adapters in an Active/Active cluster environment Reply with quote

Voyager

Joined: 19 Oct 2005
Posts: 99
Location: Israel

Hey everyone.

I am currently designing an Active/Active environment of wbi.
We decided to go with 2 RH machines, each containing one QMgr and one Broker. Same flows run on both machines, so as same queues in qmgrs.

Qmgrs are clustered and queues serving the flows are shared for maximum load balancing.

All the flows in the organization are stateless.

What i do not know precisely is the way the JDBC adapter operates regarding events from the DB.

We plan of having 2 adapters, one for each broker - residing that broker on the same physical machine.

Correct me if I'm wrong, but as far as i know - JDBC adapter listens to a table which concentrates all the events that we wanted to know about, from specific tables.

Once it finds a new row, it generates an MQ message and sends it to the broker for analysis.

What happens then? does it "mark" the read message? does it copy it to a shadow table containing the read events?
Does it delete that event?

When the adapter accesses that event table - does it open it as "select for update" or locks it in any way?

The main issue at hand is what happens if both adapters detect new events, and our system is notified twice for that same event?

I would love to here some insights about it...

Thanks,

Eli.
Back to top
View user's profile Send private message
dotaneli
PostPosted: Wed Mar 18, 2009 1:45 am    Post subject: Reply with quote

Voyager

Joined: 19 Oct 2005
Posts: 99
Location: Israel

Guys - no one has an idea??
Back to top
View user's profile Send private message
marko.pitkanen
PostPosted: Thu Mar 19, 2009 5:25 am    Post subject: Reply with quote

Chevalier

Joined: 23 Jul 2008
Posts: 440
Location: Jamsa, Finland

Hi,

I'm not sure if you are using WBIA's but here some info:
http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/topic/com.ibm.wbia_adapters.doc/doc/jdbc_legacy/jdbc23.htm

And those event tables have" connector_id DECIMAL(20) " field and atleast triggers can perhaps assign some records to one adapter and some to the other.

Quote:
ConnectorID

A unique ID for the connector. This ID is useful to retrieve events for a particular instance of the connector.

Default value is null.



Marko
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » JDBC Adapters in an Active/Active cluster environment
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.