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 > HADR - Issue on Standby

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-31-09, 15:23
dgunas dgunas is offline
Registered User
 
Join Date: Dec 2008
Location: Chennai
Posts: 110
HADR - Issue on Standby

Hi,
db2 v8.2 FP12. OS-Win2003.

I failed over the HADR to our standby server first time for the DR Test and I was able to connect to the DB and view all information from the db (via cc).
However when I executed the user application which is on the webserver It could not connect to the DB. Give connection error message.

I failed over back to LIVE server then tried again the user application on the DR webserver. then I am getting right error messege as the db is in HADR mode. unable to connect.

The network looks ok and nothing changed since HADR in place.

I have binded the packages again on the DR server. there is no error message in diag.log

Have I missed anything during the failover ? how can I prove that the db is functional in DR?
Please help me.

Thanks, gunas
__________________
Reply With Quote
  #2 (permalink)  
Old 03-31-09, 15:33
Jack Vamvas Jack Vamvas is offline
Registered User
 
Join Date: Jan 2009
Posts: 57
1)Did you repoint your app to the standby server?
2)If your db is HADR mode- to get things back on track - switch it to STANDARD mode. Reset your standby server, then reset/restart your PRIMARY ,
__________________
-------------
DBA DB2
SQL SERVER DBA
Reply With Quote
  #3 (permalink)  
Old 03-31-09, 16:21
dgunas dgunas is offline
Registered User
 
Join Date: Dec 2008
Location: Chennai
Posts: 110
Thanks

I have already stopped and restarted the db (using db2stop, db2start).

Also we have seperate webserver for the DR which is always pointing to DR Server.
__________________
Reply With Quote
  #4 (permalink)  
Old 04-01-09, 03:11
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
there is something like primary and standby and client rerouting
if using type 2 connection from as to db check if db directory is reflected with alternate server information
define this at primary and standby
if type 4 connection there is a special setting todo to get this information
see high availability guide for details....
all this should be transparant for the as
__________________
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
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