abort switch

Aborts the switch active command, unless Replication Server has gone too far in the active switch process to abort it. The switch active command changes the active database in a warm standby application.

Syntax

abort switch for logical_ds.logical_db

Parameters

Examples

Usage

  • The abort switch command attempts to cancel the switch active command.

  • If there is no switch in progress for the logical connection, Replication Server returns an error message.

  • If the command cancels the active switch successfully, you may have to restart the RepAgent for the active database.

  • The switch active command cannot be cancelled after it reaches a certain point. If this is the case, you must wait for the switch active to complete. Then use switch active again to return to the original active database.

Permissions

abort switch requires "sa" permissions.

Related reference
switch active
admin logical_status
wait for switch