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 HADR test

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-09-10, 07:40
rahulranjan rahulranjan is offline
Registered User
 
Join Date: Jun 2010
Posts: 5
DB2 HADR test

Hi All,

I have setup lab environment for DB2 HADR. It consist one Primary server & Standby server. I have successfully configured HADR with automatic client reroute on both servers.

Now i have to test that setup....for this i connect a db2 client with primary server database. Both are working fine.

But when I disconnect my primary server, client didnt get connected or synchronised with standby.

Pls suggest me, how i can test my setup. Do some more configuration is required??


With Regards,

Rahul Ranjan
Reply With Quote
  #2 (permalink)  
Old 07-09-10, 08:36
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
HADR is not a cluster manager. It does not fail-over the database to standby automatically, you must issue the HADR takeover command on the standby to do this.

DB2 comes with a cluster manager called TSA that can do the automatic fail-over. TSA is usually installed automatically when you install DB2, but you probably want the latest fixpack. TSA is somewhat complex, so you will need to invest some time to learn it.

Or you can use another cluster manager to do the fail-over (you will usually have to write the fail-over scripts that get executed when the cluster manager detects a problem with the primary server).

Keep in mind that if the primary server is down (or not in Peer State), you must issue the HADR takeover command with force option. Also, if you have a cluster manager, I would recommend that you use a single database virtual IP address that moves with the servers in addition to using ACR.
__________________
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