Solved

SQL 2008 R2 Standard  Replication

Posted on 2014-12-14
3
81 Views
Last Modified: 2015-06-14
Hi,

We have SQL Server 2008 R2 Standard edition where we have mounted our database. This server machine is connected with a leased line and authorized user can access it using static IP. In this way user can access SQL server from outside. Now our company has open a new branch office and we would like to share entire database both ends with synchronization of entire transactions. We may have new branches in future.  

How could I configure TWO WAY REPLICATION to sync entire data?
Means all INSERT, UPDATE, DELETE etc process should reflect all databases.

Please advise.
0
Comment
Question by:stalliondz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 78

Assisted Solution

by:arnold
arnold earned 166 total points
ID: 40499295
What is the bandwidth available to replication, you can do transactional or merge replication.

You need to assess which option is best for you.
http://technet.microsoft.com/en-us/library/ms152479%28v=sql.105%29.aspx

As discussed in the above link, multi-point-replication poses a security risk i.e. person at any of the branch offices gaining access to the local SQL server could access/alter data on the database that will be replicated to all.

If you can have each branch have their own data set that is combined at the Main HQ, that could be ..........centrally managed/aggregated and backed up data.
0
 
LVL 49

Assisted Solution

by:Vitor Montalvão
Vitor Montalvão earned 167 total points
ID: 40499932
The only way to have two databases replicating to each other is to use the Merge Replication.
0
 
LVL 28

Accepted Solution

by:
Ryan McCauley earned 167 total points
ID: 40515763
You also have the option of doing peer-to-peer (sometimes called "Mesh") replication, where the nodes each replicate their transactions to every other node:

http://msdn.microsoft.com/en-us/library/ms151196.aspx

However, it's an enterprise feature, so licensing may be an issue here (you don't mention which edition you're currently using). Unless your connection is exceedingly slow, I'd recommend sending all of your transactions back to a single central server for writes, and you can have log shipping or some other kind of one-way replication out to each site for reporting if you'd like.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Query Syntax error after > 11 39
SQL Server Sum Over Multiple Tables 20 32
SQL Server Resume 5 44
Need help with another query 10 36
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question