Table of Contents

Search

  1. Preface
  2. Overview of the Server Manager Command Line Interface
  3. Usage Scenario: Using Server Manager CLI Commands to Run Replications
  4. Command Reference

Command Line Interface for the Server Manager

Command Line Interface for the Server Manager

supplog run

supplog run

Executes the DDL statements that the supplog add and supplog remove commands generate to enable or disable database supplemental logging.
Ensure that you have the authority to run the DDL statements. If you do not have the required authority, use the supplog save command to generate a script file that you can give to your DBA to run.

Syntax

For DB2 and Oracle sources, use the following syntax:
supplog run
For Microsoft SQL Server Enterprise Edition sources, use the following syntax:
supplog run [restart_instance={0|1}] [cdc_disable={0|1|2}]
For Microsoft SQL Server Standard Edition sources, use the following syntax:
supplog run [-r] [cdc_disable={0|1|2}]

Parameter

The following table describes the command parameters for Microsoft SQL Server sources:
Parameter
Description
cdc_disable
Indicates how to handle the CDC capture and cleanup jobs that SQL Server generates for databases with Change Data Capture enabled. Valid values are:
  • 0
    . Do not disable the SQL Server CDC jobs. Specify this option if you do not want Data Replication to disable the SQL Server CDC jobs because the jobs are already disabled from Microsoft SQL Server Management Studio or you accept that Data Replication might not capture all of the change data.
  • 1
    . Disable the SQL Server CDC jobs if SQL Server Change Data Capture is not enabled for any source tables when you create the configuration in Data Replication. If SQL Server Change Data Capture is enabled for any source table, the SQL Server CDC jobs are not disabled.
  • 2
    . Disable the SQL Server CDC jobs regardless of whether SQL Server Change Data Capture is enabled or not enabled for the source tables.
After you run the supplog run command with the cdc_disable parameter, the Server Manager CDCJobsDisableMode advanced property is updated to the equivalent setting.
restart_instance
Indicates whether the Server Manager restarts the SQL Server Enterprise Edition instance in single-user mode to enable a dedicated administrator connection to the source database when you edit the Change Data Capture settings for source tables. Valid values are:
  • 0
    . Restart the SQL Server instance in single-user mode only when you edit the Change Data Capture settings for source tables.
  • 1
    . Always restart the SQL Server instance in single-user mode.
After you run the supplog run command with the restart_instance parameter, the Server Manager RestartMSSQLInstance advanced property is updated to the equivalent setting.
-r
Allows the Server Manager to restart Microsoft SQL Server Standard Edition sources to change the Change Data Capture setting. Use this parameter in non-interactive mode only.

0 COMMENTS

We’d like to hear from you!