Redigera

Dela via


Install SQL Server replication

Applies to: SQL Server - Windows only

Replication components can be installed by using the SQL Server Installation Wizard or at a command prompt. Install replication when you install SQL Server, or when you modify an existing instance.

After replication components are installed, you must configure the server before you can use replication. For more information, see Configure Distribution in SQL Server Books Online.

Important

If you install replication components when you modify an existing instance of SQL Server, you must stop and restart SQL Server Agent after the installation is completed. This action helps ensure that SQL Server Agent recognizes the replication agent subsystems and can call replication agents from job steps.

Installing replication by using Setup

To install replication when installing a new instance of SQL Server

  • To install replication components, including Replication Management Objects (RMO), select SQL Server Replication on the Feature Selection page of the Installation Wizard.

Installing Replication from the Command Prompt

To install replication when installing a new instance of SQL Server