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 » WMB database connections

Post new topic  Reply to topic
 WMB database connections « View previous topic :: View next topic » 
Author Message
zpat
PostPosted: Mon Jun 28, 2010 6:18 am    Post subject: WMB database connections Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

AIX 5, WMB 6.1, SQL Server (and other databases).

I have read conflicting information about when the WMB broker acquires, caches and releases ODBC database connections (to application databases, not to the broker database).

What I want to know is - when the ODBC connection to the database (on another server) is first acquired, when it is released and what happens if the database server is restarted while the broker (not necessarily the message flow) is running?

I am concerned that a database server restart would leave the WMB database connection in an unuseable state, which would require manual intervention to stop/start the message flow that referred to it.


Last edited by zpat on Mon Jun 28, 2010 6:51 am; edited 1 time in total
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Jun 28, 2010 6:48 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

We had a situation where someone (Grrrr) took sown an oracle DB the other week. Nope, thet didn't ask or even attempt to stop the flows using that DB.

After some 6500+ Severity E messages in the wmbevent.log file, the DB was restarted and Broker carried on as before.

I have seen some versions of SQLServer fail to handle this very well. In the case above, it was handled ok. We just replayed all the messages on the BOQ and everything was hunky dory again.

I don't think there is one blanket atatement that would cover all DB's and the mix of platforms that Broker Runs on. If I were asked this, I'd CYA with a statment like "It depends. This is something I'd have to test thoroughly"
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
zpat
PostPosted: Mon Jun 28, 2010 6:53 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

It's particularly a concern with SQL server, because Wintel boxes are patched (and therefore rebooted) frequently.

I guess we will find out during development what happens. I have already asked the developer to test this scenario.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Jun 28, 2010 7:00 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

You may find that there you see a different behaviour depending upon the location of the SQLServer System. i.e. Are they local or Remote to the broker system. Local means SLQServer runs on the same physical server (or the same VM) as Broker.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Jun 28, 2010 7:05 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

It also depends somewhat on what ODBC itself allows and what the connection is doing at the time of the server reboot. If, for example, the connection is waiting for a response from the SQL server and the SQL server doesn't provide one before it shuts down, then the connection may stall.
Back to top
View user's profile Send private message
zpat
PostPosted: Mon Jun 28, 2010 7:33 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

SQL server doesn't run on AIX

So it will be a separate server in the same data centre.

I hope the connection will not be waiting at the time, but I have another WMB application where this has happened with a connection to Oracle.
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 » WMB database connections
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.