Multiple remote database synchronization update mssql2005

Multiple remote database synchronization mssql2005 update operation is very convenient and very convenient, only two can be achieved.

Although data synchronization MSSQL2005 mentioned the need to involve the Publisher, Distributor, Subscribers, in fact, mainly publish and subscribe.

 

Need to be prepared to work and check the following (server environment is win2003):

Master database (server, publishing machine):

1. Check mssql2005 configuration tool - "SQL Server Configuration Manager: sql server2005 network configuration: MSSQLSERVER protocols: TCP / IP is enabled, property, IP address, check whether the local server IP address (public IP, IP network all right, this is mainly a public network), followed by checking its properties in the IPALL, port 1433 (also may be other ports, in this case 1433)

2, SQL SERVER 2005 applicators peripheral configuration: Configuration Services and connected: a remote connection, TCP and selection mode name, as follows:
1.png

3, either win2003 or win2008, please check the control panel 2003, management tools, local security policy, if there is an open port specified protocol, make sure that there is open access to IP IP client machine, or suspension of port policies. Similarly, the 2008 server Please check network firewall port settings.

4, open SQL2005 server, properties - "Connection: the need for distributed transaction server to server communication, check removed. If the tick, the subscriber will be similar: "Because there is an active save point in this transaction ...." error.

5, My Computer, right property, computer management, services and applications: Services: Distributed Transaction Coordinator, set to automatic, has started mode, if not doing so, the Subscriber when the subscription will be similar to "msdtc unavailable" tips such keywords.

6 , (1) the publisher and subscriber servers are set up in a user group in an account, join administrators group, (2) and the account are also additional and given database db_owner and public authority in mssql, if using FTP publishing and push mode may be less (1) step 5 and step.

7 , Novice, it is recommended Subscribers select Push Profile (active push by the Publisher, the Publisher will be an additional burden).

 

Subscribe preparations server:

1. Check mssql2005 configuration tool - "SQL Server Configuration Manager: Alias: New Alias, where" New Alias ​​"is the name of the server publishing machine, the server: it is filled with public IP Publisher.

2, recommended that the hosts file in windows / system32 / drivers / etc increase publisher IP and machine name

 

Start with setting Publishing Service Publisher:

After setting, the property, FTP snapshot, tick, allowing subscribers to use FTP (File Transfer Protocol), the premise, use IIS FTP service comes with, so the above sixth step the establishment of the administrators group will be able to use the account.

Here.

 

Subscribers:

sql.jpg

Here.

 

Content available to fix it, the key point in it.

Guess you like

Origin www.cnblogs.com/SyncNavigator8-4-1/p/10977499.html