Try OpenEdge Now
skip to main content
User Guide
Setting Up OpenEdge Replication : Stopping OpenEdge Replication : Shutting down the source database
 

Shutting down the source database

This section describes how to perform a shutdown of your source database.
To perform a shutdown, type the following command:
proshut source-db-name -by
The following actions occur:
1. All processes other than the broker and the OpenEdge Replication server are shut down.
2. The broker flushes all database activity.
3. After the AI buffers are flushed, the OpenEdge Replication server processes them.
4. When the OpenEdge Replication server completes processing, it instructs the OpenEdge Replication agent to end processing.
5. When the OpenEdge Replication server completes its shutdown process, shutdown of the database completes.
You can also perform a forced (emergency) shutdown by typing the following command:
proshut source-db-name -byF
Note: You cannot use this command if you started the database with the No Crash Protection (-i) parameter.
The database will immediately shut down, and a warning is placed in the log file. With a forced shutdown, the AI buffers are not flushed.
After a forced shutdown, however, the source and target databases are not considered identical. At this point, OpenEdge Replication stops and you must follow the steps in Starting OpenEdge Replication to restart it.
For more information about how to use the PROSHUT and PROMON utilities, see OpenEdge Data Management: Database Administration.