Solved

SQL synchronisation and replication

Posted on 2009-07-07
7
303 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
7 Comments
 
LVL 31

Assisted Solution

by:RiteshShah
RiteshShah earned 250 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 250 total points
ID: 24800422
0
 
LVL 31

Assisted Solution

by:RiteshShah
RiteshShah earned 250 total points
ID: 24800425
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 14

Assisted Solution

by:rob_farley
rob_farley earned 150 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 100 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 14

Assisted Solution

by:rob_farley
rob_farley earned 150 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

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
query help 18 50
Grid querry results 41 52
GRANT, REVOKE, DENY 4 16
SQL Server Reporting Services Service Start Timeout 4 15
Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
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.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now