MSSQLSERVER-publish-subscribe to zookeeper
I. environment
Publishing server
O s: Windows servier 2003 64-bit
Soft: Microsoft SqlServer 2008 R2
I P: 192.168.3.70
HOST-NAME: wxl-PC
Distributor
O s: Windows servier 2003 64-bit
Soft: Microsoft SqlServer 2008 R2
I P: 192.168.23.130
HOST-NAME: wxl-pc-vm2
Subscription:
O s: Windows servier 2003 64-bit
Soft: Microsoft SqlServer 2008 R2
I P: 192.168.23.129
HOST-NAME: wxl-pc-vm1
II. configuration
1,Modify the database instance name (skip this step if the computer name is not modified)
Because the distributor name is modified, you need to modify the instance name to make the server name consistent with the instance name.
Query instance name select @ servername
Delete old strength name EXECsp_dropserver 'wxl-pc-vm2'
Add the repaired instance name execsp_addserver 'wxl-pc-vm2/sql1', 'local'
Restart service
Query SELECT @ SERVERNAME, SERVERPROPERTY ('servername ')
If the two columns are consistent, the strength name is modified successfully.
2. configure aliases
Distributor:
Start SQL Server Configuration Manager
SQL Server network configuration à TCP/IP à enabled
SQL Native Client 10.0 configuration (32-bit) à alias à New alias such:
% 20 <