SQL Server Mirroring. Introduction. Setting up the databases for Mirroring



Similar documents
DSS Support Backup / Restore DSS Databases using Windows Backup Windows XP Windows 2003 Server

Configure SQL database mirroring

How To Create An Easybelle History Database On A Microsoft Powerbook (Windows)

HOW TO CONFIGURE SQL SERVER REPORTING SERVICES IN ORDER TO DEPLOY REPORTING SERVICES REPORTS FOR DYNAMICS GP

How to Setup SQL Server Replication

Configuration Guide for Active Directory Integration

Professional Mailbox Software Setup Guide

Sophos for Microsoft SharePoint startup guide

Click Studios. Passwordstate. High Availability Installation Instructions

Using SQL Database Mirroring to Improve Citrix XenApp Server Farm Disaster Recovery Capabilities

Click Studios. Passwordstate. High Availability Installation Instructions

Windows Firewall Configuration with Group Policy for SyAM System Client Installation

Outlook Profile Setup Guide Exchange 2010 Quick Start and Detailed Instructions

Drobo How-To Guide. What You Will Need. Configure Replication for DR Using Double-Take Availability and Drobo iscsi SAN

Cloud Services ADM. Agent Deployment Guide

How To Upgrade Your Microsoft SQL Server for Accounting CS Version

Database Mirroring: High Availability (HA) and Disaster Recovery (DR) Technology

NovaBACKUP xsp Version 15.0 Upgrade Guide

Quick Start Guide. Cerberus FTP is distributed in Canada through C&C Software. Visit us today at

IIS 6.0SSL Certificate Deployment Guide

Availability Guide for Deploying SQL Server on VMware vsphere. August 2009

Supporting MS SQL Server Failover Using Database Mirroring

istorage Server: High-Availability iscsi SAN for Windows Server 2008 & Hyper-V Clustering

Exchange Outlook Profile/POP/IMAP/SMTP Setup Guide

NAS 259 Protecting Your Data with Remote Sync (Rsync)

Setting up Hyper-V for 2X VirtualDesktopServer Manual

Configuration Guide. Remote Backups How-To Guide. Overview

How to set up Outlook Anywhere on your home system

MTA Course: Windows Operating System Fundamentals Topic: Understand backup and recovery methods File name: 10753_WindowsOS_SA_6.

Active Directory Management. Agent Deployment Guide

SQL Server Setup for Assistant/Pro applications Compliance Information Systems

Implementing Microsoft Windows Server Failover Clustering (WSFC) and SQL Server 2012 AlwaysOn Availability Groups in the AWS Cloud

StarWind Virtual SAN Installation and Configuration of Hyper-Converged 2 Nodes with Hyper-V Cluster

Implementing Microsoft SQL Server 2008 Exercise Guide. Database by Design

1. Open the preferences screen by opening the Mail menu and selecting Preferences...

Setup and configuration for Intelicode. SQL Server Express

Microsoft Exchange Mailbox Software Setup Guide

EIOBoard Intranet Installer Guide

Installing and Configuring a. SQL Server 2012 Failover Cluster

Release 2.0. Cox Business Online Backup Quick Start Guide

How To Install A New Database On A 2008 R2 System With A New Version Of Aql Server 2008 R 2 On A Windows Xp Server 2008 (Windows) R2 (Windows Xp) (Windows 8) (Powerpoint) (Mysql

Exchange 2003 Mailboxes

Configuring Network Load Balancing with Cerberus FTP Server

To add Citrix XenApp Client Setup for home PC/Office using the 32bit Windows client.

QUANTIFY INSTALLATION GUIDE

Step-by-Step Setup Guide Wireless File Transmitter FTP Mode

Owner of the content within this article is Written by Marc Grote

StarWind Virtual SAN Installing & Configuring a SQL Server 2012 Failover Cluster

Host Installation on a Terminal Server

High-Availability User s Guide v2.00

AUTOMATED DISASTER RECOVERY SOLUTION USING AZURE SITE RECOVERY FOR FILE SHARES HOSTED ON STORSIMPLE

This article Includes:

How to Logon with Domain Credentials to a Server in a Workgroup

Appendix A Core Concepts in SQL Server High Availability and Replication

Exchange Outlook Profile/POP/IMAP/SMTP Setup Guide

OneLogin Integration User Guide

STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS

Automatic Setup... 1 Manual Setup... 2 Installing the Wireless Certificates... 18

Exchange 2013 mailbox setup guide

Migrating the ASAS Database Administrator s Notes

SELF SERVICE RESET PASSWORD MANAGEMENT DATABASE REPLICATION GUIDE

1 of 10 1/31/2014 4:08 PM

Hands-on Lab Pilot Guide

Immotec Systems, Inc. SQL Server 2005 Installation Document

Connecting to Manage Your MS SQL Database

Network Load Balancing

SQL Server 2012/2014 AlwaysOn Availability Group

Set up Outlook for your new student e mail with IMAP/POP3 settings

Backup Notification in Client Profiles for Windows

Active Directory Restoration

NSi Mobile Installation Guide. Version 6.2

Installing SQL Express. For CribMaster 9.2 and Later

Multi-factor Authentication using Radius

Using Windows Task Scheduler instead of the Backup Express Scheduler

Troubleshooting Failover in Cisco Unity 8.x

How To Install Powerpoint 6 On A Windows Server With A Powerpoint 2.5 (Powerpoint) And Powerpoint On A Microsoft Powerpoint 4.5 Powerpoint (Powerpoints) And A Powerpoints 2

Building a Scale-Out SQL Server 2008 Reporting Services Farm

Installing and configuring Microsoft Reporting Services

CTERA Cloud Onramp for IBM Tivoli Storage Manager

The Nuts and Bolts of Autodesk Vault Replication Setup

Set Up Setup with Microsoft Outlook 2007 using POP3

Microsoft Business Intelligence 2012 Single Server Install Guide

WhatsUp Gold v16.3 Installation and Configuration Guide

safend a w a v e s y s t e m s c o m p a n y

Configuring Windows Server Clusters

1 Login to your CSUF student account and click on the Settings icon ( ) at the far right.

Avaya IP Office SIP Configuration Guide

EMR Link Server Interface Installation

Install MS SQL Server 2012 Express Edition

Arkay Remote Data Backup Client Quick Start Guide

Central Administration QuickStart Guide

NAS 352 Online RAID Level Migration and Capacity Expansion

Professional Mailbox Software Setup Guide

SafeCom G2 Enterprise Disaster Recovery Manual

Click Studios. Passwordstate. High Availability Installation Instructions

with the ArchiveSync Add-On Evaluator s Guide 2015 Software Pursuits, Inc.

XStream Remote Control: Configuring DCOM Connectivity

Upgrade ProTracker Advantage Access database to a SQL database

Nexio Connectus with Nexio G-Scribe

Transcription:

SQL Server Mirroring The purpose of this document is to describe in detail the process of configuring Secret Server and SQL Server 2008 for a high-availability environment using Mirroring. The contents of this paper include: Configuring SQL Server 2008 for database mirroring with a Failover Partner and a Witness The encryption used between the Primary Database and the Mirror Database Configuring Secret Server to use Mirroring to achieve high availability Introduction Three different SQL Server instances are required to implement this scenario: the Primary database, the Mirror database, and the Witness. The Primary database is the main application database. The Mirror database replicates all of the data on the Primary database in a transactional manner. The Witness server is responsible for monitoring the health of the Primary and Mirror database and initiating failover if necessary. In the setup described here, Mirroring operates in synchronous mode, which means that a transaction does not commit on the Primary database until it has committed on the Mirror. This article provides a detailed overview of synchronous mirroring: http://msdn.microsoft.com/en-us/library/ms179344.aspx Setting up the databases for Mirroring In order to initiate database mirroring, the databases on the Primary and Secondary must have the same name, in our case secretserver. It is recommended that this step be performed before installation. To initially set up mirroring, we must take a full backup of the database on Primary and then restore it onto the database on Secondary. When restoring the database, the RESTORE WITH NORECOVERY option must be selected.

The Restoring ' message is expected. SQL Server Configuration The SQL Server instances should all be running under the same domain account. It is possible to run under different accounts but the configuration is more complex and not supported by Thycotic technical support. Each SQL Server instance should be configured to listen on TCP.

Configuring Mirroring To configure mirroring, right click on the database on Primary and select Properties and then Mirror. Click on the Configure Security button. A wizard will appear. 1. In our configuration we will need a witness server. Select the Yes radio button 2. On step 2 select all of the Mirroring roles (Primary, Mirror, and Witness) 3. On this screen we need to select the current (Primary) server from the dropdown and enter a port that the Primary SQL server will use to communicate with the other servers. Selecting the Encrypt data sent through this endpoint checkbox will cause RC4 encryption to be used to encrypt data sent through this endpoint. The endpoint name is there only so that one may reference the endpoint later. The port selected here must be open for TCP communication on the machine s Firewall and on any network devices that restrict access to this machine.

4. Next, we enter similar information for the Mirror server instance, providing credentials to access the Mirror server.

5. The same information is entered for the Witness Server, providing credentials to access the Witness server. 6. Next, we are prompted for Service Accounts. The endpoints that were created in steps 3, 4, and 5 were created so that only the user whose credentials were used to connect to the machines can access them. In order to grant permission on the endpoints here, enter the name of the

domain user that SQL Server runs under in all three text boxes. 7. We can select finish and then Start Mirroring How Secret Server Supports Mirroring On step 3 of the installer, the name of the Mirror server should be entered under the Advanced section. Note that the credentials used to access the Primary database must also be valid on the Mirror database for Failover to work.

Testing Mirroring Open SQL Server Enterprise Manager and right click the Primary database and select Properties. Viewing the Mirroring tab and pressing the Failover Now button will cause the database on Primary to switch roles and become the Mirror database. The Mirror database will become the Primary. Clients using the application should be able to continue as before. One request may fail before Secret Server begins making requests to the new Primary database. This step is necessary to verify that Failover will function correctly in the event that the Primary server is unavailable or inoperable.