DB2 : restore a high availability database
How to refresh tst4ins4 Terminology Initialize = To create a new HADR cluster. Reinitialize = To repair an existing HADR cluster. Refresh = Same as non clustered databases, this means to restore the database from a different database backup image. 1. Start work with the primary (should be on db2tst602) Verify it is the primary: db2pd -db wctst10 -hadr 2. Stop HADR on primary: db2pd -db wctst10 -hadr <-- to verify it is the primary db2 stop hadr on db wctst10 DB20000I The STOP HADR ON DATABASE command completed successfully. 3. Stop HADR on standby: [tst3ins3@db2tst601 ~] $ db2pd -db wctst10 -hadr [tst3ins3@db2tst601 ~] $ db2 deactivate db wctst10 DB20000I The DEACTIVATE DATABASE command completed successfully. [tst3ins3@db2tst601 ~] $ db2 stop hadr on db wctst10 DB20000I The STOP HADR ON DATABAS...