DB2 Version 10.1 for Linux, UNIX, and Windows

Stopping DB2 High Availability Disaster Recovery (HADR)

If you are using the DB2® High Availability Disaster Recovery (HADR) feature, stopping HADR operations to perform maintenance on the primary or standby databases might be necessary. Stop HADR operations only on the database that you are performing maintenance. To stop using HADR completely, stop HADR on both databases.

About this task

Warning: If you want to stop the specified database but you still want it to maintain its role as either an HADR primary or standby database, do not issue the STOP HADR command. If you issue the STOP HADR command the database will become a standard database and might require reinitialization in order to resume operations as an HADR database. Instead, issue the DEACTIVATE DATABASE command.

If you issue the STOP HADR command against a standard database, an error will be returned.

Procedure

To stop HADR operations on the primary or standby database: