SQL Server 2012/2014 AlwaysOn Availability Group Part 4 - WSFC Cluster Creation v1.0 - 2014 - G.MONVILLE Summary Part 4 - WSFC Cluster Creation...................................................................................................................................... 2 WSFC Node Updates [Note] ...................................................................................................................................... 2 AlwaysOn - Prerequisites................................................................................................................................................. 3 Install Windows Features ............................................................................................................................................ 3 WSFC Cluster - Creation .................................................................................................................................................. 5 WSFC Cluster - Configuration ........................................................................................................................................ 8 Configure Networks ..................................................................................................................................................... 8 Configure Quorum........................................................................................................................................................ 9 Quorum Configuration Note ............................................................................................................................... 11 Guest Cluster Virtualization Configuration .......................................................................................................... 13 Hyper-V - Heartbeat configuration ................................................................................................................... 13 Hyper-V - Place SQL VM Nodes on Different Physical hosts ..................................................................... 14 Prestage - Availability Group Listener ....................................................................................................................... 15 Active Directory ........................................................................................................................................................... 15 DNS (Integrated in AD) .............................................................................................................................................. 16
17
Embed
SQL Server 2012/2014 AlwaysOn Availability Group · Dynamic Quorum is a new feature came with Windows Server 2012. When Dynamic Quorum is enabled (by default) , the cluster dynamically
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
SQL Server 2012/2014
AlwaysOn Availability Group
Part 4 - WSFC Cluster Creation
v1.0 - 2014 - G.MONVILLE
Summary Part 4 - WSFC Cluster Creation ...................................................................................................................................... 2
Install Windows Features ............................................................................................................................................ 3
Quorum Configuration Note ............................................................................................................................... 11
Hyper-V - Place SQL VM Nodes on Different Physical hosts ..................................................................... 14
Prestage - Availability Group Listener ....................................................................................................................... 15
Active Directory ........................................................................................................................................................... 15
DNS (Integrated in AD).............................................................................................................................................. 16
Part 4 - WSFC Cluster Creation
This part cover the configuration of the WSFC Cluster require for the AlwaysOn Availability Group.
WSFC Node Updates [Note]
In addition to WSUS update, you have to check Hotfix/Rollup for WSFC Cluster:
WS2012 R2
Recommended hotfixes and updates for Windows Server 2012 R2-based failover clusters:
http://support.microsoft.com/kb/2920151/en-us
Or on this article from the TechNet Blog “The troubleshooters and problem”
List of Failover Cluster related hotfixes post RTM for Windows Server 2012 R2 RTM
Repeat the operation on the second Hyper-V Cluster for M-SQLA3 and M-SQLA4 nodes.
Prestage - Availability Group Listener
Active Directory
The Availability Group Listeners are register as Cluster Resources and so in Active Directory as VCO (Virtual Computer Object). As the CNO (Cluster Name Object), we have to prestage these VCO and give the appropriate permissions. With a Domain Admin account, launch the “Active Directory Users and Computers” console Click on the “View” menu and select “Advanced Features”. Go to the OU where there is the AlwaysOn cluster CNO, and create a new computer:
Enter the Listener name:
Edit Properties of the created VCO, add a description, go to the “Security” tab and add the AlwaysOn cluster CNO (here: clustsqlao1), under Permissions allow “Full Control“
Repeat operation for all Listeners:
DNS (Integrated in AD)
Launch the DNS console, go to you domain zone, and create an new Host (A or AAAA):
Enter the Listener Name and the IP Address:
Repeat the operation for all Listener :
Allow the Cluster Name Object (CNO) to update DNS records:
Note: This configuration must be done DNS is integrated to Active Directory.
Edit the properties of record created previously:
Go to the “Security” tab and add the CNO, give the Full Control permissions:
Repeat the operation on all Listeners DNS records.