SlideShare a Scribd company logo
1 of 11
Download to read offline
SQL Server Denali (2011) has introduced a new feature named "Availability Group"

"HADR" is a high-availability and disaster recovery solution introduced in SQL Server
2011 Named "Denali". Deploying "HADR" involves configuring one or more availability
groups.

Note :This Post is focused specifically on the "How to set up HADR", please check other
posts to understand concept of HADR.

Infrastructure Required To test the HADR / High Availability Group

   1. Domain Controller for Authentication
   2. Two Virtual Machines with Windows Server 2008 R2 with Failover Clustering
      installed on each Node.
   3. Local Instance of SQL Server (Not Clustered Instance) installed on Virtual
      Machines with Windows Server 2008 R2 (which are mentioned in point 2)

In this Demo, this was the setup configuration, which I used

Configuration for Domain Controller

   •   RAM : 512 MB
   •   Windows Server Name : DC
   •   Domain Name : DEMO
   •   IP Address : 192.168.0.1

Configuration for Virtual Server - 1

   •   RAM : 1 GB
   •   Windows Server Name : DENALI-SQL
   •   Windows Failover Cluster Name : DENALI_CLUSTER
   •   SQL Instance Name : DENALI-SQLINST1
   •   Member of Domain : DEMO
   •   Note :
          o This was One node Cluster
          o As this a One node cluster no need to create a shared storage
          o Server IP : 192.168.0.11
          o Failover Clustering IP Address : 192.168.0.15
          o SQL Server Cluster IP Address : 192.168.0.12

Configuration for Virtual Server - 2

   •   RAM : 1 GB
   •   Windows Server Name : DENALI-SQL2
   •   Windows Failover Cluster Name : DENALI_CLUSTER2
   •   SQL Instance Name : DENALI-SQLINST2
•   Member of Domain : DEMO
   •   Note :
          o This was again a single node Cluster
          o As this a One node cluster no need to create a shared storage
          o Server IP : 192.168.0.21
          o Failover Clustering IP Address : 192.168.0.25
          o SQL Server Cluster IP Address : 192.168.0.22

Note : All Servers are in same subnet of 255.255.255.0 and domain administrator account
is being to complete this configuration.

STEP By Step Guide to BUILD HADR in SQL Server DENALI

Step 1 : Enable the HADR service on both clustered DENALI instances

   •   Open SQL Server Configuration Manager
   •   Select SQL Server Services
   •   Right-click on your SQL Server, in my case SQL Server (INST1) and select
       Properties




   •   Select the SQL HADR tab and click the checkbox Enable SQL HADR Service
•   Click Ok on the warning dialog box
•   Restart your SQL Services (using Failover Cluster Manager, select your SQL
       Server Instance, and take it offline. When everything is offline, bring it online
       again)

Step 2 : Create an Availability Group

   •   Open SQL Server Management Studio on DENALI-SQLINST1
   •   Select Management
   •   Right-click Availability Groups and select New Availability Group




   •   Click Next
•   Give your new Availability Group a name and click Next
•   Select which user databases you want to add to your Availability Group. Then
    click Next
Note : If your database is not listed, you can select Show user databases not meeting
requirements.

   •   In the Specify Replicas screen, you can add the instances you want to be enable
       as HADR in the secondary role, after you have done this, click Next
•   Next you have the overview screen, click Finish to start configuring the HADR
    setup
•   click FINISH to finish the HADR setup, where you will get a progress screen
This completes you HADR Implementation.

More Related Content

What's hot

KoprowskiT_SQLSat152_Bulgaria_HighAvailabilityOfSQLintheContextOfSLA
KoprowskiT_SQLSat152_Bulgaria_HighAvailabilityOfSQLintheContextOfSLAKoprowskiT_SQLSat152_Bulgaria_HighAvailabilityOfSQLintheContextOfSLA
KoprowskiT_SQLSat152_Bulgaria_HighAvailabilityOfSQLintheContextOfSLATobias Koprowski
 
SQLDay2013_Denny Cherry - SQLServer2012inaHighlyAvailableWorld
SQLDay2013_Denny Cherry - SQLServer2012inaHighlyAvailableWorldSQLDay2013_Denny Cherry - SQLServer2012inaHighlyAvailableWorld
SQLDay2013_Denny Cherry - SQLServer2012inaHighlyAvailableWorldPolish SQL Server User Group
 
Understanding Windows Azure’s Active Directory (AD) and PowerShell Tools
Understanding Windows Azure’s Active Directory (AD) and PowerShell ToolsUnderstanding Windows Azure’s Active Directory (AD) and PowerShell Tools
Understanding Windows Azure’s Active Directory (AD) and PowerShell ToolsEPC Group
 
download it from here
download it from heredownload it from here
download it from herewebhostingguy
 
SQL Server - High availability
SQL Server - High availabilitySQL Server - High availability
SQL Server - High availabilityPeter Gfader
 
Windows Server 2012 Deep-Dive - EPC Group
Windows Server 2012 Deep-Dive - EPC GroupWindows Server 2012 Deep-Dive - EPC Group
Windows Server 2012 Deep-Dive - EPC GroupEPC Group
 
VirtualCenter Database Maintenance: VirtualCenter 2.0.x and ...
VirtualCenter Database Maintenance: VirtualCenter 2.0.x and ...VirtualCenter Database Maintenance: VirtualCenter 2.0.x and ...
VirtualCenter Database Maintenance: VirtualCenter 2.0.x and ...webhostingguy
 
Database Mirror for the exceptional DBA – David Izahk
Database Mirror for the exceptional DBA – David IzahkDatabase Mirror for the exceptional DBA – David Izahk
Database Mirror for the exceptional DBA – David Izahksqlserver.co.il
 
Sql Server 2008 Enhancements
Sql Server 2008 EnhancementsSql Server 2008 Enhancements
Sql Server 2008 Enhancementskobico10
 
Introduction to Threading in .Net
Introduction to Threading in .NetIntroduction to Threading in .Net
Introduction to Threading in .Netwebhostingguy
 
The SQL Stack Design And Configurations
The SQL Stack Design And ConfigurationsThe SQL Stack Design And Configurations
The SQL Stack Design And ConfigurationsStephan Lawson
 
VMware virtual SAN 6 overview
VMware virtual SAN 6 overviewVMware virtual SAN 6 overview
VMware virtual SAN 6 overviewsolarisyougood
 

What's hot (13)

SQL Server Clustering Part1
SQL Server Clustering Part1SQL Server Clustering Part1
SQL Server Clustering Part1
 
KoprowskiT_SQLSat152_Bulgaria_HighAvailabilityOfSQLintheContextOfSLA
KoprowskiT_SQLSat152_Bulgaria_HighAvailabilityOfSQLintheContextOfSLAKoprowskiT_SQLSat152_Bulgaria_HighAvailabilityOfSQLintheContextOfSLA
KoprowskiT_SQLSat152_Bulgaria_HighAvailabilityOfSQLintheContextOfSLA
 
SQLDay2013_Denny Cherry - SQLServer2012inaHighlyAvailableWorld
SQLDay2013_Denny Cherry - SQLServer2012inaHighlyAvailableWorldSQLDay2013_Denny Cherry - SQLServer2012inaHighlyAvailableWorld
SQLDay2013_Denny Cherry - SQLServer2012inaHighlyAvailableWorld
 
Understanding Windows Azure’s Active Directory (AD) and PowerShell Tools
Understanding Windows Azure’s Active Directory (AD) and PowerShell ToolsUnderstanding Windows Azure’s Active Directory (AD) and PowerShell Tools
Understanding Windows Azure’s Active Directory (AD) and PowerShell Tools
 
download it from here
download it from heredownload it from here
download it from here
 
SQL Server - High availability
SQL Server - High availabilitySQL Server - High availability
SQL Server - High availability
 
Windows Server 2012 Deep-Dive - EPC Group
Windows Server 2012 Deep-Dive - EPC GroupWindows Server 2012 Deep-Dive - EPC Group
Windows Server 2012 Deep-Dive - EPC Group
 
VirtualCenter Database Maintenance: VirtualCenter 2.0.x and ...
VirtualCenter Database Maintenance: VirtualCenter 2.0.x and ...VirtualCenter Database Maintenance: VirtualCenter 2.0.x and ...
VirtualCenter Database Maintenance: VirtualCenter 2.0.x and ...
 
Database Mirror for the exceptional DBA – David Izahk
Database Mirror for the exceptional DBA – David IzahkDatabase Mirror for the exceptional DBA – David Izahk
Database Mirror for the exceptional DBA – David Izahk
 
Sql Server 2008 Enhancements
Sql Server 2008 EnhancementsSql Server 2008 Enhancements
Sql Server 2008 Enhancements
 
Introduction to Threading in .Net
Introduction to Threading in .NetIntroduction to Threading in .Net
Introduction to Threading in .Net
 
The SQL Stack Design And Configurations
The SQL Stack Design And ConfigurationsThe SQL Stack Design And Configurations
The SQL Stack Design And Configurations
 
VMware virtual SAN 6 overview
VMware virtual SAN 6 overviewVMware virtual SAN 6 overview
VMware virtual SAN 6 overview
 

Viewers also liked

Rickson_Rijoy_Windows, Exchange, Lync,Scom server support Engineer with 7.5 y...
Rickson_Rijoy_Windows, Exchange, Lync,Scom server support Engineer with 7.5 y...Rickson_Rijoy_Windows, Exchange, Lync,Scom server support Engineer with 7.5 y...
Rickson_Rijoy_Windows, Exchange, Lync,Scom server support Engineer with 7.5 y...Rickson Rijoy
 
Brandon Resume Updated 20161117
Brandon Resume Updated 20161117Brandon Resume Updated 20161117
Brandon Resume Updated 20161117Brandon Sensing
 
Resume_RajashekarC
Resume_RajashekarCResume_RajashekarC
Resume_RajashekarCRaj Shekar
 
CharlesGiles 10_20_16
CharlesGiles 10_20_16CharlesGiles 10_20_16
CharlesGiles 10_20_16Charles Giles
 
Vinod ramamoorthy project manager
Vinod ramamoorthy project managerVinod ramamoorthy project manager
Vinod ramamoorthy project managerVinod Ramamoorthy
 
Tevin West Resume Fall 2016 updated with GPA and graduation date
Tevin West Resume Fall 2016 updated with GPA and graduation dateTevin West Resume Fall 2016 updated with GPA and graduation date
Tevin West Resume Fall 2016 updated with GPA and graduation datetevin west
 
Byjul rahman cv (updated)
Byjul rahman   cv (updated)Byjul rahman   cv (updated)
Byjul rahman cv (updated)BYJUL RAHMAN
 

Viewers also liked (14)

Rickson_Rijoy_Windows, Exchange, Lync,Scom server support Engineer with 7.5 y...
Rickson_Rijoy_Windows, Exchange, Lync,Scom server support Engineer with 7.5 y...Rickson_Rijoy_Windows, Exchange, Lync,Scom server support Engineer with 7.5 y...
Rickson_Rijoy_Windows, Exchange, Lync,Scom server support Engineer with 7.5 y...
 
Ahmed+Abouelela+CV
Ahmed+Abouelela+CVAhmed+Abouelela+CV
Ahmed+Abouelela+CV
 
Brandon Resume Updated 20161117
Brandon Resume Updated 20161117Brandon Resume Updated 20161117
Brandon Resume Updated 20161117
 
Resume_RajashekarC
Resume_RajashekarCResume_RajashekarC
Resume_RajashekarC
 
Calasti Srinivasan
Calasti SrinivasanCalasti Srinivasan
Calasti Srinivasan
 
Himanshu_Doneria_CV_Quant
Himanshu_Doneria_CV_QuantHimanshu_Doneria_CV_Quant
Himanshu_Doneria_CV_Quant
 
CharlesGiles 10_20_16
CharlesGiles 10_20_16CharlesGiles 10_20_16
CharlesGiles 10_20_16
 
Resume (1)
Resume (1)Resume (1)
Resume (1)
 
CURRICULUM VITAE eng8
CURRICULUM  VITAE eng8CURRICULUM  VITAE eng8
CURRICULUM VITAE eng8
 
Vinod ramamoorthy project manager
Vinod ramamoorthy project managerVinod ramamoorthy project manager
Vinod ramamoorthy project manager
 
Tevin West Resume Fall 2016 updated with GPA and graduation date
Tevin West Resume Fall 2016 updated with GPA and graduation dateTevin West Resume Fall 2016 updated with GPA and graduation date
Tevin West Resume Fall 2016 updated with GPA and graduation date
 
Barth, B. B. CV
Barth, B. B. CVBarth, B. B. CV
Barth, B. B. CV
 
karpaga priya.Res
karpaga priya.Reskarpaga priya.Res
karpaga priya.Res
 
Byjul rahman cv (updated)
Byjul rahman   cv (updated)Byjul rahman   cv (updated)
Byjul rahman cv (updated)
 

Similar to Hadr availability group-sql_server_denali

AWS Webcast - Implementing Windows and SQL Server with High Availability on AWS
AWS Webcast - Implementing Windows and SQL Server with High Availability on AWSAWS Webcast - Implementing Windows and SQL Server with High Availability on AWS
AWS Webcast - Implementing Windows and SQL Server with High Availability on AWSAmazon Web Services
 
Guia instalacion SQL Server Denali
Guia instalacion SQL Server DenaliGuia instalacion SQL Server Denali
Guia instalacion SQL Server DenaliEduardo Castro
 
Upgrading from WinS 2008/2008 R2 to WinS 2012
Upgrading from WinS 2008/2008 R2 to WinS 2012Upgrading from WinS 2008/2008 R2 to WinS 2012
Upgrading from WinS 2008/2008 R2 to WinS 2012iTawy Community
 
Meetup - DevCloud and CloudStack 4.2
Meetup - DevCloud and CloudStack 4.2Meetup - DevCloud and CloudStack 4.2
Meetup - DevCloud and CloudStack 4.2amoghvk
 
Upgrading from Windows Server 2008 / 2008 R2 to Windows Server 2012
Upgrading from Windows Server 2008 / 2008 R2 to Windows Server 2012Upgrading from Windows Server 2008 / 2008 R2 to Windows Server 2012
Upgrading from Windows Server 2008 / 2008 R2 to Windows Server 2012Harold Wong
 
AWS Webcast - Implementing Windows and SQL Server for High Availability on AWS
AWS Webcast - Implementing Windows and SQL Server for High Availability on AWS AWS Webcast - Implementing Windows and SQL Server for High Availability on AWS
AWS Webcast - Implementing Windows and SQL Server for High Availability on AWS Amazon Web Services
 
AWS Webcast - Implementing Windows and SQL Server for High Availability on AWS
AWS Webcast - Implementing Windows and SQL Server for High Availability on AWSAWS Webcast - Implementing Windows and SQL Server for High Availability on AWS
AWS Webcast - Implementing Windows and SQL Server for High Availability on AWSAmazon Web Services
 
Best MCSA - SQL SERVER 2012 Training Institute in Delhi
Best MCSA - SQL SERVER 2012 Training Institute in DelhiBest MCSA - SQL SERVER 2012 Training Institute in Delhi
Best MCSA - SQL SERVER 2012 Training Institute in DelhiInformation Technology
 
Cloud and Ubiquitous Computing manual
Cloud and Ubiquitous Computing manual Cloud and Ubiquitous Computing manual
Cloud and Ubiquitous Computing manual Sonali Parab
 
Windows Server 2012 Deploying and managing
Windows Server 2012 Deploying and managing Windows Server 2012 Deploying and managing
Windows Server 2012 Deploying and managing Napoleon NV
 
Sql 2012 always on
Sql 2012 always onSql 2012 always on
Sql 2012 always ondilip nayak
 
Webinar slides: ClusterControl 1.4: The MySQL Replication & MongoDB Edition -...
Webinar slides: ClusterControl 1.4: The MySQL Replication & MongoDB Edition -...Webinar slides: ClusterControl 1.4: The MySQL Replication & MongoDB Edition -...
Webinar slides: ClusterControl 1.4: The MySQL Replication & MongoDB Edition -...Severalnines
 
MySQL 8.0 Operational Changes
MySQL 8.0 Operational ChangesMySQL 8.0 Operational Changes
MySQL 8.0 Operational ChangesDave Stokes
 
MySQL Replication Update - DEbconf 2020 presentation
MySQL Replication Update - DEbconf 2020 presentationMySQL Replication Update - DEbconf 2020 presentation
MySQL Replication Update - DEbconf 2020 presentationDave Stokes
 
The age of orchestration: from Docker basics to cluster management
The age of orchestration: from Docker basics to cluster managementThe age of orchestration: from Docker basics to cluster management
The age of orchestration: from Docker basics to cluster managementNicola Paolucci
 

Similar to Hadr availability group-sql_server_denali (20)

AWS Webcast - Implementing Windows and SQL Server with High Availability on AWS
AWS Webcast - Implementing Windows and SQL Server with High Availability on AWSAWS Webcast - Implementing Windows and SQL Server with High Availability on AWS
AWS Webcast - Implementing Windows and SQL Server with High Availability on AWS
 
Essa lab week 1
Essa lab week 1Essa lab week 1
Essa lab week 1
 
MCSA 70-412 Chapter 10
MCSA 70-412 Chapter 10MCSA 70-412 Chapter 10
MCSA 70-412 Chapter 10
 
Exploring App fabric
Exploring App fabricExploring App fabric
Exploring App fabric
 
Guia instalacion SQL Server Denali
Guia instalacion SQL Server DenaliGuia instalacion SQL Server Denali
Guia instalacion SQL Server Denali
 
Upgrading from WinS 2008/2008 R2 to WinS 2012
Upgrading from WinS 2008/2008 R2 to WinS 2012Upgrading from WinS 2008/2008 R2 to WinS 2012
Upgrading from WinS 2008/2008 R2 to WinS 2012
 
Meetup - DevCloud and CloudStack 4.2
Meetup - DevCloud and CloudStack 4.2Meetup - DevCloud and CloudStack 4.2
Meetup - DevCloud and CloudStack 4.2
 
Server 2016 sneak peek
Server 2016 sneak peekServer 2016 sneak peek
Server 2016 sneak peek
 
Upgrading from Windows Server 2008 / 2008 R2 to Windows Server 2012
Upgrading from Windows Server 2008 / 2008 R2 to Windows Server 2012Upgrading from Windows Server 2008 / 2008 R2 to Windows Server 2012
Upgrading from Windows Server 2008 / 2008 R2 to Windows Server 2012
 
AWS Webcast - Implementing Windows and SQL Server for High Availability on AWS
AWS Webcast - Implementing Windows and SQL Server for High Availability on AWS AWS Webcast - Implementing Windows and SQL Server for High Availability on AWS
AWS Webcast - Implementing Windows and SQL Server for High Availability on AWS
 
AWS Webcast - Implementing Windows and SQL Server for High Availability on AWS
AWS Webcast - Implementing Windows and SQL Server for High Availability on AWSAWS Webcast - Implementing Windows and SQL Server for High Availability on AWS
AWS Webcast - Implementing Windows and SQL Server for High Availability on AWS
 
Best MCSA - SQL SERVER 2012 Training Institute in Delhi
Best MCSA - SQL SERVER 2012 Training Institute in DelhiBest MCSA - SQL SERVER 2012 Training Institute in Delhi
Best MCSA - SQL SERVER 2012 Training Institute in Delhi
 
20410B_01
20410B_0120410B_01
20410B_01
 
Cloud and Ubiquitous Computing manual
Cloud and Ubiquitous Computing manual Cloud and Ubiquitous Computing manual
Cloud and Ubiquitous Computing manual
 
Windows Server 2012 Deploying and managing
Windows Server 2012 Deploying and managing Windows Server 2012 Deploying and managing
Windows Server 2012 Deploying and managing
 
Sql 2012 always on
Sql 2012 always onSql 2012 always on
Sql 2012 always on
 
Webinar slides: ClusterControl 1.4: The MySQL Replication & MongoDB Edition -...
Webinar slides: ClusterControl 1.4: The MySQL Replication & MongoDB Edition -...Webinar slides: ClusterControl 1.4: The MySQL Replication & MongoDB Edition -...
Webinar slides: ClusterControl 1.4: The MySQL Replication & MongoDB Edition -...
 
MySQL 8.0 Operational Changes
MySQL 8.0 Operational ChangesMySQL 8.0 Operational Changes
MySQL 8.0 Operational Changes
 
MySQL Replication Update - DEbconf 2020 presentation
MySQL Replication Update - DEbconf 2020 presentationMySQL Replication Update - DEbconf 2020 presentation
MySQL Replication Update - DEbconf 2020 presentation
 
The age of orchestration: from Docker basics to cluster management
The age of orchestration: from Docker basics to cluster managementThe age of orchestration: from Docker basics to cluster management
The age of orchestration: from Docker basics to cluster management
 

Hadr availability group-sql_server_denali

  • 1. SQL Server Denali (2011) has introduced a new feature named "Availability Group" "HADR" is a high-availability and disaster recovery solution introduced in SQL Server 2011 Named "Denali". Deploying "HADR" involves configuring one or more availability groups. Note :This Post is focused specifically on the "How to set up HADR", please check other posts to understand concept of HADR. Infrastructure Required To test the HADR / High Availability Group 1. Domain Controller for Authentication 2. Two Virtual Machines with Windows Server 2008 R2 with Failover Clustering installed on each Node. 3. Local Instance of SQL Server (Not Clustered Instance) installed on Virtual Machines with Windows Server 2008 R2 (which are mentioned in point 2) In this Demo, this was the setup configuration, which I used Configuration for Domain Controller • RAM : 512 MB • Windows Server Name : DC • Domain Name : DEMO • IP Address : 192.168.0.1 Configuration for Virtual Server - 1 • RAM : 1 GB • Windows Server Name : DENALI-SQL • Windows Failover Cluster Name : DENALI_CLUSTER • SQL Instance Name : DENALI-SQLINST1 • Member of Domain : DEMO • Note : o This was One node Cluster o As this a One node cluster no need to create a shared storage o Server IP : 192.168.0.11 o Failover Clustering IP Address : 192.168.0.15 o SQL Server Cluster IP Address : 192.168.0.12 Configuration for Virtual Server - 2 • RAM : 1 GB • Windows Server Name : DENALI-SQL2 • Windows Failover Cluster Name : DENALI_CLUSTER2 • SQL Instance Name : DENALI-SQLINST2
  • 2. Member of Domain : DEMO • Note : o This was again a single node Cluster o As this a One node cluster no need to create a shared storage o Server IP : 192.168.0.21 o Failover Clustering IP Address : 192.168.0.25 o SQL Server Cluster IP Address : 192.168.0.22 Note : All Servers are in same subnet of 255.255.255.0 and domain administrator account is being to complete this configuration. STEP By Step Guide to BUILD HADR in SQL Server DENALI Step 1 : Enable the HADR service on both clustered DENALI instances • Open SQL Server Configuration Manager • Select SQL Server Services • Right-click on your SQL Server, in my case SQL Server (INST1) and select Properties • Select the SQL HADR tab and click the checkbox Enable SQL HADR Service
  • 3. Click Ok on the warning dialog box
  • 4. Restart your SQL Services (using Failover Cluster Manager, select your SQL Server Instance, and take it offline. When everything is offline, bring it online again) Step 2 : Create an Availability Group • Open SQL Server Management Studio on DENALI-SQLINST1 • Select Management • Right-click Availability Groups and select New Availability Group • Click Next
  • 5. Give your new Availability Group a name and click Next
  • 6. Select which user databases you want to add to your Availability Group. Then click Next
  • 7. Note : If your database is not listed, you can select Show user databases not meeting requirements. • In the Specify Replicas screen, you can add the instances you want to be enable as HADR in the secondary role, after you have done this, click Next
  • 8.
  • 9. Next you have the overview screen, click Finish to start configuring the HADR setup
  • 10. click FINISH to finish the HADR setup, where you will get a progress screen
  • 11. This completes you HADR Implementation.