HP Serviceguard Toolkits for Database Replication Solutions manual Halting packages

Models: Serviceguard Toolkits for Database Replication Solutions

1 54
Download 54 pages 28.23 Kb
Page 43
Image 43

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

Page 43
Image 43
HP Serviceguard Toolkits for Database Replication Solutions manual Halting packages, # cmhaltpkg packagename