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

Modifying an Existing Publication


The following steps show how the publication properties can be changed, as discussed for the standard transactional replication. We'll now look at how to remove and add an article in a P2P replication.

Exercise 17: Removing an Article

The process of removing an article can be broken down into four main sections:

  1. Stopping the distribution agent at each node

  2. Dropping the article at each node

  3. Verifying that the article has been dropped at each node

  4. Starting the distribution agent at each node

Step 1 - Stopping the Distribution Agent at Each Node

Stopping a distribution agent can be easily done by stopping the distribution agent job or by stopping the agent from the View Synchronization window.

Stopping the distribution agents at each node will stop the transactions from being applied to the published database. To stop a distribution agent, follow these steps:

  1. In SSMS, open Object Explorer and connect to Node 1 (Neptune\SQL2014).

  2. Expand Replication | Local Subscriptions...