SQL Server transactional replication (sql 2008 r2)

 

 

 

 

 

First, the environment to prepare

1. Two virtual servers

   Host 1: XINXIBU01 as publishing and distribution server host 2: XINXIBU02 192.168.1.160 read the job server

2.SQL SERVER

   sql 2008 R2 (Note: use a host name when connecting to the database)

3. Database

     Name: BigbeardERPSystem

     Note: The reduction has been good in the same database on the publisher and subscriber service

Second, configure a Distributor

 

 

 

 Publish and distribute on a single host

 

 

.

 

New and set the shared files directory on XINXIBU01

Modified for the new shared directory

Path distribution database can be modified large storage space letter, which temporarily make changes to the test

 

 

 

Configuration

note:

On the database server to perform the publishing and distribution, following authorization command (distribution and publishing the same server)

use BigbeardERPSystem
alter authorization on database::[BigbeardERPSystem] to [XINXIBU01\kang]

 

Third, the configuration of the distribution server

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

   

Guess you like

Origin www.cnblogs.com/centos-kang/p/11200287.html