Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2003
    Location
    United States
    Posts
    65
    Provided Answers: 1

    Unanswered: HADR and Automatic client reroute

    I followed the instructions given in this following IBM documenation to enable "automatic client reroute" to a database which is HADR enable.

    Configuring automatic client reroute and High Availability Disaster Recovery (HADR) - IBM DB2 9.7 for Linux, UNIX, and Windows

    My HADR is working fine, however when secondary database takesover as Primary, and if I try to connect, my connection is not not getting rerouted. I see following error

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

    Any suggestions would be of great help.

    Thanks,
    - G's

  2. #2
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    if alternate server is setup correctly - db2 clients will get this info after first connect
    db2 list db directory
    if using java type4 connection, you have to specify alternate server/port as options
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified
    http://www.infocura.be

  3. #3
    Join Date
    Sep 2003
    Location
    United States
    Posts
    65
    Provided Answers: 1
    Thanks Guy - it worked actually I while defining ALTERNATE SERVER I specified wrong port number and due to which it was connecting to some other instance which was not running

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •