DB2 HADR Administration
Start, Stop, Takeover
Start
db2 start hadr on database <DBNAME> as primary by force # Doesn't wait for Standby db2 start hadr on database <DBNAME> as primary # Wait's for Standby db2 start hadr on database <DBNAME> as standby
Stop
db2 stop hadr on database <dbname>
Takeover
db2 takeover hadr on database <DBNAME> # graceful takeover db2 takeover hadr on database <DBNAME> by force # forceful after disaster
Monitoring
db2pd -d <DBNAME> -hadr