You are on page 1of 26

Tsmadmin

tsmadmin123

--------------------------------------------------------------------> tsm01
db2 update db cfg for tsmdb1 using logindexbuild yes
db2 update db cfg for tsmdb1 using hadr_local_host tsm01
db2 update db cfg for tsmdb1 using hadr_local_svc 60010
db2 update db cfg for tsmdb1 using hadr_remote_svc 60010
db2 update db cfg for tsmdb1 using hadr_remote_inst tsminst1
db2 update db cfg for tsmdb1 using hadr_timeout 120
db2 update db cfg for tsmdb1 using hadr_syncmode sync
db2 update db cfg for tsmdb1 using hadr_remote_host tsmdr
--> tsmdr
db2 update
db2 update
db2 update
db2 update
db2 update
db2 update
db2 update
db2 update

db
db
db
db
db
db
db
db

cfg
cfg
cfg
cfg
cfg
cfg
cfg
cfg

for
for
for
for
for
for
for
for

tsmdb1
tsmdb1
tsmdb1
tsmdb1
tsmdb1
tsmdb1
tsmdb1
tsmdb1

using
using
using
using
using
using
using
using

logindexbuild yes
hadr_local_host tsmdr
hadr_local_svc 60010
hadr_remote_svc 60010
hadr_remote_inst tsminst1
hadr_timeout 120
hadr_syncmode sync
hadr_remote_host tsm01

command to take db backup in tsm01: log on to tsminst1


backup db tsmdb1 tp db /location_name

Tsmdr:
db2 start hadr on db tsmdb1 as standby
tsm01:
db2 start hadr on db tsmdb1 as primary

After 1 hour. Status.

You might also like