shutdown

Shuts down the Replication Agent instance, terminating its process.

Syntax

shutdown [immediate]

Parameters

Usage

  • When shutdown is invoked with no option, Replication Agent starts a normal (graceful) shutdown.

    In a normal shutdown, Replication Agent first quiesces, and then the process terminates. See quiesce for more information about quiescing Replication Agent.

  • When shutdown is invoked with the immediate keyword, Replication Agent starts an immediate shutdown.

    In an immediate shutdown, Replication Agent:
    • Stops all of its replication processing, without regard to transactions in process or in transit

    • Drops all of its connections

    • Terminates the application process

  • The shutdown command with the immediate keyword is valid at any time, when the Replication Agent instance is in any state, including transition between states.

  • The shutdown command with no keyword (normal shutdown) is valid when the Replication Agent instance is in the Admin, Replicating, or Replication Down state, but not in state transition.

Related reference
quiesce
ra_status
resume
suspend