Solved

SQL 2008 R2 Standard  Replication

Posted on 2014-12-14
3
82 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 50

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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

734 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