Enterprise Optimization Series

Bringing together the CIOs and Solution providers to explore new & unique ways of "Aligning IT investments with Business Benefits"

Know More.. 


SMB Central for SMBs

Communications, Networking Guide and resources on Telepresence and Video Conferencing and much more for SMBs of India.

Know More.. 

Peer-to-Peer replication in SQL server '08
A new feature of SQL Server 2008, P2P replication allows data changes in any node to replicate across to all others on the network seamlessly
Tuesday, October 07, 2008

So how do you setup P2P replication in SQL 2008? For this, you need to have the appropriate access rights to each of the servers that make up the P2P set.

You also need the replication component setup in all the nodes. Once that is in place, you need to open up SQL Server Mgmt Studio (SSMS) and connect to each of the database engine servers. Since this is P2P replication, you can start the configuration from any of the nodes unlike in any of the other replication types.

Select a node and expand the tree in Object Explorer to replication. Right click this and select Configure Distribution. A wizard pops up that walks you through the initial instantiation of the replication engine. For a simple setup, the defaults will be fine. Perform these steps in each node you want to add to the Peer list.

Once this is complete, open Replication | Local Publications. Right click this and select New Publication and follow the wizard. Select a database that you wish to replicate first. In the next step you need to select Transactional replication.

This is because P2P replication is a special case of Transactional replication and we will configure this later on. Select the tables you wish to replicate to all nodes in the next step and setup the correct SQL Server or Windows Domain account that has the appropriate permissions to talk to the database. Give the publication a name like MyP2PReplication and save it.

Would you like to on this article?

Skip Navigation Links.
Be first to comment on this article

 
 
Name  
Email    
Your reply