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 primary database start failure

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-06-10, 04:58
rahulranjan rahulranjan is offline
Registered User
 
Join Date: Jun 2010
Posts: 5
DB2 HADR primary database start failure

I have configured HADR for a lab scenario in VM.

My Standby database get configured successfully but when i run the command "db2 start hadr on database sample as primary" on primary database, it gives error:

SQL1768N Unable to start HADR. Reason code = "6".

After searching for that error i found that it is problem of
HADR_REMOTE_SVC configuration parameter is an invalid service name

Pls suggest, what ill do to overcome this problem.

Pls NOTE: I am very new for this scenario.
Reply With Quote
  #2 (permalink)  
Old 07-06-10, 08:01
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Check the user response instructions for the reason code 6 in the message explanation.
Reply With Quote
  #3 (permalink)  
Old 07-06-10, 09:57
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
check
SQL1768N
and how to configure correctly hadr
__________________
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
  #4 (permalink)  
Old 07-07-10, 02:20
rahulranjan rahulranjan is offline
Registered User
 
Join Date: Jun 2010
Posts: 5
DB2 HADR standby error

Sir/Mam,

I have configured HADR setup successfully, but in standby database i am unable to access database tables.

Error:

SQL1776N The command cannot be issued on an HADR standby database. Reason code = '1'

After referring to DB2 9.5 information center, I got :

1.The command is not supported on an HADR standby database.
2.Connection requests are not allowed while a database is switching from primary to standby.
3.The MIGRATE DATABASE command is not supported on an HADR standby database.


Pls suggest..how could i issue Migrate command in primary or resolve that problem??
Reply With Quote
  #5 (permalink)  
Old 07-08-10, 10:31
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
this is correct : only available in 9.7fp1 with db2set setting
see restrictions at
Restrictions for high Availability Disaster Recovery (HADR) - IBM DB2 9.7 for Linux, UNIX, and Windows
__________________
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