Solved

SQL synchronisation and replication

Posted on 2009-07-07
7
317 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 SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 15

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 15

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

786 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