Friday, 13 June 2014

DB2 Manual Failover

As db2<sid>:
Got to dir /db2/db2<sid>/sqllib
Modify db2nodes.cfg file to show:
0 <servername> 0

As root:
cd /db2/db2_software/adm
./db2set -g DB2SYSTEM=<server name>

As db2<sid>:
db2gcf -u -t 60 -p 0 -i db2<sid>

No comments:

Post a Comment