SQL Server Denali (2011) has introduced a new feature named "Availability Group""HADR" is a high-availability and disaster...
•   Member of Domain : DEMO   •   Note :          o This was again a single node Cluster          o As this a One node clu...
•   Click Ok on the warning dialog box
•   Restart your SQL Services (using Failover Cluster Manager, select your SQL       Server Instance, and take it offline....
•   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 meetingrequirements.   •   In the Specify Re...
•   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.
Hadr availability group-sql_server_denali
Upcoming SlideShare
Loading in …5
×

Hadr availability group-sql_server_denali

1,226 views

Published on

SQL Server Denali (2011) has introduced a new feature named “Availability Group” under HADR.

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,226
On SlideShare
0
From Embeds
0
Number of Embeds
122
Actions
Shares
0
Downloads
15
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Hadr availability group-sql_server_denali

  1. 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 Server2011 Named "Denali". Deploying "HADR" involves configuring one or more availabilitygroups.Note :This Post is focused specifically on the "How to set up HADR", please check otherposts 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 usedConfiguration for Domain Controller • RAM : 512 MB • Windows Server Name : DC • Domain Name : DEMO • IP Address : 192.168.0.1Configuration 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.12Configuration for Virtual Server - 2 • RAM : 1 GB • Windows Server Name : DENALI-SQL2 • Windows Failover Cluster Name : DENALI_CLUSTER2 • SQL Instance Name : DENALI-SQLINST2
  2. 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.22Note : All Servers are in same subnet of 255.255.255.0 and domain administrator accountis being to complete this configuration.STEP By Step Guide to BUILD HADR in SQL Server DENALIStep 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. 3. • Click Ok on the warning dialog box
  4. 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. 5. • Give your new Availability Group a name and click Next
  6. 6. • Select which user databases you want to add to your Availability Group. Then click Next
  7. 7. Note : If your database is not listed, you can select Show user databases not meetingrequirements. • 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. 8. • Next you have the overview screen, click Finish to start configuring the HADR setup
  9. 9. • click FINISH to finish the HADR setup, where you will get a progress screen
  10. 10. This completes you HADR Implementation.

×