If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 Automatic Client Reroute

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-22-10, 02:57
DB_N00b DB_N00b is offline
Registered User
 
Join Date: Jan 2010
Posts: 152
DB2 Automatic Client Reroute

Hello there!

I kindly want to ask you something about the DB2 ACR. I already setted up successfully a DB2 Hadr environment on my Server systems and this works pretty fine (also the Takeover and Failover)

But now i hardly try to find a solution to save the information of the alternate server on the client. Because until here, the information will be only saved in the cache of the Client, which is totally not a good solution in case the client crashes.

Can anyone explain me where on the client i can save those information of the 2 DB2 Servers? I already found something in the IBM information Center, which says i should save it in the file db2dsdriver, but i dont find it ...

I am thankful for each clue. All of you who read this i already say "Thank you & have a nice day"

DB_N00b
Reply With Quote
  #2 (permalink)  
Old 01-22-10, 06:27
nvk@vhv nvk@vhv is offline
Registered User
 
Join Date: Jan 2010
Posts: 294
Hi,

i depends on your client. If you have a normal DB2-Client, it will save it somewhere and connects to the failover Server until the Servers switch their roles again.
In JDBC-Type4 the Information is saved nowhere afaik. The Application won't be able to connect to the failover, because the Information is not available.

nvk
Reply With Quote
  #3 (permalink)  
Old 01-25-10, 19:18
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Quote:
Originally Posted by nvk@vhv View Post
Hi,

In JDBC-Type4 the Information is saved nowhere afaik. The Application won't be able to connect to the failover, because the Information is not available.

nvk
you have to use JNDI to configure the alternate server

DB2 Universal JDBC Driver client reroute support
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On