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 standby error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-07-10, 02:30
rahulranjan rahulranjan is offline
Registered User
 
Join Date: Jun 2010
Posts: 5
Question 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
  #2 (permalink)  
Old 07-07-10, 10:21
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
You cannot connect to an HADR standby database (although in 9.7 FP1, you can connect to the stanby if the standby is enabled for read only mode and then only certain select statements are allowed).

Can you elaborate on exactly what commands or funcitons you want to do on the standby. Please give the exact syntax of the commands you want to issue.
__________________
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 07-08-10, 10:29
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
__________________
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