1.To enable the maintenance mode, in the Package Configuration file set the MAINTENANCE_FLAG attribute to [Yes ] before applying the cmapplyconf command.
2.To start the maintenance mode for the package, in the TKIT_DIR path create the db2.debug file.
3.To stop the maintenance mode and bring back the package in the running state, remove the db2.debug file from the TKIT_DIR directory.
Halting packages
To halt the package, run the following command:
# cmhaltpkg <package_name>
NOTE: IBM recommends stopping the primary package before the standby package. This ensures that the standby database is in sync with the primary database.
Using the DB2 HADR toolkit 43