> Thanks for the information to list the alternate server information.
> I see that it is set properly. I've found that a connection is
[quoted text clipped - 9 lines]
> client registry settings for the number of connection retry attempts
> and the interval. Thanks.
Well, my explanation wasn't clear, but I tried exactly what you had
suggested from the DB2 command window. After the role switch, the
connection is not established to the new primary. The alternate
server and port information is correct in the list db information,
however.
I also tried the second test you suggested, and that also fails with
the sql30081 error. One thought I had is if both servers require the
same user id and password for the connection. I can't update the
passwords right now to match, or I'd try.
Thanks again.
> 1) Connect to the primary HADR db.
> 2) Issue a select statement.
[quoted text clipped - 10 lines]
> not work, make sure you can connect to the standby (now primary) as a local
> user on the standby database server.
Mark A - 12 Dec 2007 08:13 GMT
> Well, my explanation wasn't clear, but I tried exactly what you had
> suggested from the DB2 command window. After the role switch, the
[quoted text clipped - 8 lines]
>
> Thanks again.
Yes, the user ids and passwords must match. Everything about the two
databases should be the same including all the tablesapce container paths
(or else certain DDL statements will not work).
It is not absolutely necessary for the instance names to be the same, but it
is recommended (especially now that TSA allows them to be the same).
Obviously, you can only do this if you have 2 different host names for
primary and standby.
hummingbirdlj@gmail.com - 12 Dec 2007 18:17 GMT
I got a window to change the password, and now I'm all set. Thanks
very much for all of your help!
> Yes, the user ids and passwords must match. Everything about the two
> databases should be the same including all the tablesapce container paths
> (or else certain DDL statements will not work).
Mike Springgay - 12 Dec 2007 15:35 GMT
Is your original type 2 connection using TCP/IP ? Automatic Client
Reroute support is only provided for TCP/IP connections. If you are
using the type 2 via local (IPC) connectivity no re-routing will be
done. Please make sure you've cataloged a database alias that connects
using TCP/IP to the database.
Please provide your connectivity information (i.e db2 list db directory
if not using connection strings).
> Well, my explanation wasn't clear, but I tried exactly what you had
> suggested from the DB2 command window. After the role switch, the
[quoted text clipped - 23 lines]
>> not work, make sure you can connect to the standby (now primary) as a local
>> user on the standby database server.