?
Solved

SQL synchronisation and replication

Posted on 2009-07-07
7
Medium Priority
?
329 Views
Last Modified: 2012-05-07
Hi,

We have one SQL database that I need to provide redundancy for. A SAN soluition is out of the question because of price.

Is there a method of providing active/active load balancing on two servers that have the database at each local storage, have them replicate and synchronise so if one db dies or server dies, the other takes over all processing. Is this functionality built into SQL or is there a third party app?

0
Comment
Question by:Network_Padawan
[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
7 Comments
 
LVL 31

Assisted Solution

by:RiteshShah
RiteshShah earned 750 total points
ID: 24800417
well you can have to option for you,

1.) Mirroring

2.) Transactional Replication
0
 
LVL 31

Accepted Solution

by:
RiteshShah earned 750 total points
ID: 24800422
0
 
LVL 31

Assisted Solution

by:RiteshShah
RiteshShah earned 750 total points
ID: 24800425
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
LVL 15

Assisted Solution

by:rob_farley
rob_farley earned 450 total points
ID: 24800514
If you want load-balancing, you'll prefer to look at peer-to-peer replication, with a Network Load Balancer to distribute the queries. You should be able to configure your NLB to avoid a server that has fallen down.

Mirroring will put all the load on one, but give you the nice automatic failover without needing an NLB.

So I guess you have to work out what you're actually after.

Another idea would be to use a Cluster. Set up a Windows Cluster in Active/Passive, with some shared storage that they can both see. Then install SQL Server using the "this is a cluster" option. Windows will take care of the failover for you, and SQL will handle the rest. If the shared storage falls over, you have an issue, and you're not balancing the CPU load.

For balancing load, peer-to-peer replication is the way to go. It can be a pain to look after though, and it's definitely nicer if you make all the alterations go to one server, and only share out the SELECT queries.

Rob
0
 
LVL 14

Assisted Solution

by:Jagdish Devaku
Jagdish Devaku earned 300 total points
ID: 24800768
0
 

Author Comment

by:Network_Padawan
ID: 24801557
Hi Rob farley,

Can you recommend a good network load balancer product? Do you recommend a hardware or software solution?

In regards to "it's definitely nicer if you make all the alterations go to one server, and only share out the SELECT queries", how is this done exactly?
0
 
LVL 15

Assisted Solution

by:rob_farley
rob_farley earned 450 total points
ID: 24801741
NLB-wise... more of a question for networking experts. Cisco switches, and all that.

And as for reads/writes, just tell your application to use one connection string for changes, and another when changes aren't being made.

That way, your changes  are only going in one direction and management becomes much easier.

Rob
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

INTRODUCTION: While tying your database objects into builds and your enterprise source control system takes a third-party product (like Visual Studio Database Edition or Red-Gate's SQL Source Control), you can achieve some protection using a sing…
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

800 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