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

Azure SQL Database as a Subscriber in Transaction Replication


An Azure SQL database is a database-as-a-service offering from Microsoft Azure. An Azure SQL database can be configured as a subscriber to an on-premises SQL Server publisher. This is one of best methods to use for migrating an on-premises database to an Azure SQL database. Moreover, the Azure SQL database subscriber can also be used as a backup or to offload reads from the publisher.

Exercise 11: Configuring and Verifying Azure SQL Database as a Subscriber for an On-Premises Transactional Replication

To configure Azure SQL database as a subscriber for an on-premises transactional replication, follow these steps:

Note

Open a new PowerShell console (running as administrator) and execute the Install-Module AzureRm command to install the AzureRm PowerShell module. The AzureRm module is a prerequisite for this exercise.

  1. The first step is to create a new blank Azure SQL database. Open a new PowerShell console window and execute the following...