Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SQL synchronisation and replication

Posted on 2009-07-07
7
Medium Priority
?
333 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
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Data architecture is an important aspect in Software as a Service (SaaS) delivery model. This article is a study on the database of a single-tenant application that could be extended to support multiple tenants. The application is web-based develope…
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

618 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