Each Replication Agent instance can be started and shut down
independently of all other components in a replication system, and
independently of other Replication Agent instances.
Shutting down the Replication Agent instance terminates its
process on the host machine.
Note:
You can stop all replication processing in the Replication
Agent without shutting down the instance.
To shut down a Replication Agent instance, you must log in
to the administration port and invoke the
shutdown command.
The
shutdown command gives you two options:
-
Normal shutdown – first
quiesces the Replication Agent instance, and then shuts down the
instance, terminating its process.
-
Immediate shutdown – shuts down the Replication
Agent instance and terminates its process immediately, without first
quiescing. To use this method, use the immediate keyword
when you invoke the shutdown command.
Note:
If the Replication Agent instance is in state transition,
it ignores the shutdown command with no option
(normal shutdown). It does not ignore shutdown immediate when
it is in any state, including transition from one state to another.
When a Replication Agent instance is shut down normally, it:
-
Stops
reading the transaction log
-
Drops its connection to the primary database
-
Finishes processing any transactions it already
has in its internal queues
-
Drops its connection to the Replication Server after
successfully sending LTL for any transactions in its internal queues
-
Terminates its process