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

Shutting down the target database

You can perform a shutdown of your target database.
To perform a non-forced explicit shutdown, type the following command:
proshut target-db-name -by
The following actions occur:
1. All processes other than the broker and the OpenEdge Replication agent are shut down.
2. The broker flushes all database activity.
3. After database activity has been flushed to disk, the OpenEdge Replication agent informs the OpenEdge Replication server that it has been shut down. If this is the only OpenEdge Replication agent serviced by the OpenEdge Replication server, the OpenEdge Replication server will shut down. If this OpenEdge Replication agent was configured as a critical OpenEdge Replication agent, even if there are additional OpenEdge Replication agents, the OpenEdge Replication server will shut down.
4. When the OpenEdge Replication agent has completed its processing, the target database will complete its shutdown.
You can perform a forced (emergency) shutdown by typing the following command:
proshut target-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 database are not considered to be identical. At this point, OpenEdge Replication stops and you must follow the steps in Starting OpenEdge Replicationto restart it.