Each Mirror Replication Agent instance can be started and shut down independently of all other components in a Mirror Activator system, and independently of other Mirror Replication Agent instances.
For information about how to start a instance, see “Starting the Mirror Replication Agent”.
Shutting down the Mirror Replication Agent instance terminates its process on the host machine.
You can stop all replication processing in the Mirror Replication Agent without
shutting down the instance. For more information, see “Stopping replication in the Mirror Replication Agent”.
To shut down a Mirror 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 Mirror Replication Agent instance, and then shuts down the instance, terminating its process.
Immediate shutdown – shuts down the Mirror 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.
If the Mirror 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 Mirror Replication Agent instance is shut down normally, it does the following:
Stops reading the mirror log devices
Drops its connection to the primary database (if it is connected)
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
To shut down a Mirror Replication Agent instance
Log in to the Mirror Replication Agent instance with the administrator login.
Invoke the shutdown command as follows:
Use the following command to shut down the Mirror Replication Agent instance normally:
shutdown
Use the following command to force an immediate shutdown, regardless of the state of the Mirror Replication Agent instance:
shutdown immediate
This command shuts down and terminates the Mirror Replication Agent instance immediately, without first quiescing.
For more detailed information about the shutdown command, see the Mirror Activator Mirror Replication Agent Reference Manual.