Skip to Content
0
Aug 05, 2008 at 03:42 AM

db2 standby stsem automatic deactivate problem

355 Views

i set up hadr on 2 db2 systems but i encouter strange problem.following is my steps:

1. i start both os system.

2, i enter cmd 'db2start' then 'db2 start hadr on db db2 as standby' on standby server.

3.i enter cmd 'db2start' then 'db2 start hadr on db db2 as primary' on pirmary server

4.i enter cmd 'db2 get snapshot for db on db2' on standby server but i get sql1611w message.

so i enter cmd 'db2 activate db db2' on standby server and quickly enter cmd 'db2 get snapshot for db on db2' ,then i'll get the right result.but i'll get sql1611w message again if i have another get snapshot cmd several seconds later.it's also unseccessful if i use update db cfg cmd.

it seems the standby db automatically deacaticate.

what' wrong?

thank u in advance.