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 > Automatic Client Reroute question

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-02-10, 18:59
rangupt rangupt is offline
Registered User
 
Join Date: Jan 2008
Posts: 96
Automatic Client Reroute question

Hi,

ENV: Db2 9.5, RedHat 5.3

I am wondering if setting up automatic client reroute (ACR) gives any advantage without an HA software for automatic failover in DB2 HADR setup?

Thanks
Reply With Quote
  #2 (permalink)  
Old 06-02-10, 21:27
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Automatic Client Reroute will keep trying to connect to the primary and alternate server in a ping-pong fashion (if the primary server is not available). That could be of some use in a non-HADR system, but it depends on what type of configuration you have.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 06-03-10, 10:17
rangupt rangupt is offline
Registered User
 
Join Date: Jan 2008
Posts: 96
Thanks Marcus,

I do have HADR setup but no HA software.

What happens in a situation if primary is not reachable at all. Does the ACR works in this situation? From does the client gets the information that it has to establish the connection to the standby since the alternate server information is stored the database directory of the primary?
Reply With Quote
  #4 (permalink)  
Old 06-06-10, 10:18
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
when the client connects to primary server, it receives the alternate information to be used in case..
if java type 4, additional setting is required to the connection string to get the same
see
Automatic client reroute description and setup
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #5 (permalink)  
Old 06-06-10, 10:44
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Quote:
Originally Posted by rangupt View Post
Thanks Marcus,

I do have HADR setup but no HA software.

What happens in a situation if primary is not reachable at all. Does the ACR works in this situation? From does the client gets the information that it has to establish the connection to the standby since the alternate server information is stored the database directory of the primary?
The alternate server information is captured by the client when the application first connects to the database. but ACR does not issue a HADR takeover command to switch roles on the DB2 servers. It only affects to the client.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
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