Book Image

Professional SQL Server High Availability and Disaster Recovery

By : Ahmad Osama
Book Image

Professional SQL Server High Availability and Disaster Recovery

By: Ahmad Osama

Overview of this book

Professional SQL Server High Availability and Disaster Recovery explains the high availability and disaster recovery technologies available in SQL Server: Replication, AlwaysOn, and Log Shipping. You’ll learn what they are, how to monitor them, and how to troubleshoot any related problems. You will be introduced to the availability groups of AlwaysOn and learn how to configure them to extend your database mirroring. Through this book, you will be able to explore the technical implementations of high availability and disaster recovery technologies that you can use when you create a highly available infrastructure, including hybrid topologies. Note that this course does not cover SQL Server Failover Cluster Installation with shared storage. By the end of the book, you’ll be equipped with all that you need to know to develop robust and high performance infrastructure.
Table of Contents (9 chapters)
Professional SQL Server High Availability and Disaster Recovery
Preface

Configuring Peer-To-Peer Transactional Replication


In this section, we'll configure peer-to-peer transactional replication. The topology is as follows:

Figure 2.37: P2P Replication example

The preceding diagram illustrates peer-to-peer topology with two nodes with a push subscription:

  • There isn't any additional replication agent involved.

  • Each server acts as a publisher and subscriber.

  • The log reader agent picks up the transactions from AdventureWorks and inserts them into the distribution database. The push subscription agent (distribution agent) pushes the transactions to the Server 2 AdventureWorks database.

Configuring P2P replication consists of the following steps:

  1. Creating the publication and adding articles to the publication on Server 1.

  2. Creating the subscription and then pushing the subscription agent (distribution agent) on Server 1.

  3. Taking the backup of the AdventureWorks database on Server 1. Unlike standard transactional replication, P2P transactional replication is initialized using...