SQL-Server Always On Availability Group Lab Step by Step3
SQL-Server Always On Availability Group Lab Step by Step3
Part 3
Sec笀on 7: ‐ Configure Network and Join Node 1 and Node 2 to domain Lab.com
1. Login as Administrator On Node 1 open Network Connec笀ons ‐> Right click “Ethernet 0” ‐> Proper笀es ‐> Uncheck TCP/IP V6 ‐> Go into Proper笀es of TCP/IP V4 ‐>
Specify the IPAddress as “192.168.15.2” and specify the DNS as “192.168.15.1”
2. Right click “Ethernet 1” ‐> Proper笀es ‐> Uncheck TCP/IP V6 ‐> Go into Proper笀es of TCP/IP V4 ‐> Specify the IPAddress as “192.168.16.1” and leave the gateway and
DNS blank. This is a host only network used only for cluster communica笀on which is a heartbeat network.
3. On the “Network Connec笀on”, Click Advanced ‐> Advanced Se錀ngs from the menu bar and make sure Ethernet 0 is first in the order and then comes Ethernet 1. If
Ethernet 0 is second then move it to the top.
http://blog.winsqlsupport.com/wordpress/?p=392 1/12
22/02/2017 SQLServer Always on Availability Group Lab Step by Step
4. To Test Network Connec笀on on the public network, Do a ping 192.168.15.1 and see if you get a reply. A “Request Timeout” Will indicate the there is no Network
Communica笀on.
5. Post successful ping test, Type Explorer from the Run Dialog box.
7. Click on the “Advanced Se錀ngs” and click the “Computer Name” Tab and click the Change Buon. Specify the computer Name as “SQLNODE1”. On the Member of
Change to Domain and specify the Name as “LAB.COM” and click ok. Specify the Administrator account and password and click ok to Join to the domain.
http://blog.winsqlsupport.com/wordpress/?p=392 2/12
22/02/2017 SQLServer Always on Availability Group Lab Step by Step
8. You should see the “Welcome to Domain” Message to confirm that SQLNODE1 is joined to Domain.
9. We need to disable the firewall to make sure we have proper communica笀on between the nodes. Open Control Panel ‐> Windows Firewall.
10. Click “Turn Windows Firewall On or Off” and click “Turn Off” for all the three se錀ngs.
http://blog.winsqlsupport.com/wordpress/?p=392 3/12
22/02/2017 SQLServer Always on Availability Group Lab Step by Step
12. Repeat the same steps from step 5 to step 13 on SQLNODE2. Assign the IPAddress for SQLNODE2 as “192.168.15.3”.
1. On the domain controller machine, Click Start ‐> Run ‐> Type dsa.msc ‐> On the AD console
2. On the AD Console Right click Users ‐> New User and specify the username as dba
3. Specify the password and click Next and click on finish to create the user.
http://blog.winsqlsupport.com/wordpress/?p=392 4/12
22/02/2017 SQLServer Always on Availability Group Lab Step by Step
4. Repeat Steps 1 and 2 to create a new service account named svc‐sql. This will be the
5. Logon to SQLNode1 and SQLNode2 as Domain Administrator and add the DBA account to local Administrators group.
2. To get the So縀ware Installa笀on files for SQL‐Server 2016 inside the VM, On the VM Se錀ngs go into the op笀ons tab ‐> Shared Folders ‐> Always Enabled. Check
“Map as a network drive in Windows guests” and click Add to add the folder where the installa笀on files are present in your local machine. This is the SQL
Installa笀on file downloaded from the Microso縀 Site.
http://blog.winsqlsupport.com/wordpress/?p=392 5/12
22/02/2017 SQLServer Always on Availability Group Lab Step by Step
3. On SQLNODE1 go into the Mapped Network Drive and Copy the SQL 2016 iso file to the C drive on SQLNODE1.
4. Go into C drive. Right click on the iso file and click mount
5. Double click the setup file and click on “New SQL‐Server Stand‐alone installa笀on”
http://blog.winsqlsupport.com/wordpress/?p=392 6/12
22/02/2017 SQLServer Always on Availability Group Lab Step by Step
http://blog.winsqlsupport.com/wordpress/?p=392 7/12
22/02/2017 SQLServer Always on Availability Group Lab Step by Step
10. Check if the install rules goes through and the “Next” buon is ac笀ve. If so then click next to con笀nue with the installa笀on
11. On the Features selec笀on. Click select All and then Uncheck Polybase, Analysis, Repor笀ng services, R‐Server, SharePoint as these are not required. Click next a縀er
that
12. Leave the Instance Configura笀on as “Default Instance” and click next.
http://blog.winsqlsupport.com/wordpress/?p=392 8/12
22/02/2017 SQLServer Always on Availability Group Lab Step by Step
13. On the service accounts, Change the Account name to “lab\svc‐sql” for SQL‐Server and SQL‐Agent Service, Enter the password the service account and click next.
14. Choose the authen笀ca笀on mode as “Mixed Mode” and click the “Add Current user” buon.
http://blog.winsqlsupport.com/wordpress/?p=392 9/12
22/02/2017 SQLServer Always on Availability Group Lab Step by Step
This Completes Sec笀on 7, Sec笀on 8, and Sec笀on 9 of this lab setup. Subsequent parts will be available in the link below.
http://blog.winsqlsupport.com/wordpress/?p=392 10/12
22/02/2017 SQLServer Always on Availability Group Lab Step by Step
Posted in MS SQL (http://blog.winsqlsupport.com/wordpress/?cat=3)
Tagged Always on Availability Group (http://blog.winsqlsupport.com/wordpress/?tag=always-on-availability-group), Always on Setup Lab
(http://blog.winsqlsupport.com/wordpress/?tag=always-on-setup-lab), Setup Always on Availability Group Step by Step (http://blog.winsqlsupport.com/wordpress/?
tag=setup-always-on-availability-group-step-by-step), SQL-Server Always on Availability Group (http://blog.winsqlsupport.com/wordpress/?tag=sql-server-always-on-
availability-group)
POST NAVIGATION
Recover SA password in SQL-Server (http://blog.winsqlsupport.com/wordpress/? SQL-Server Always on Availability Group Lab Setup Step by Step – Part 2
p=330) (http://blog.winsqlsupport.com/wordpress/?p=388)
ONE THOUGHT ON “SQL-SERVER ALWAYS ON AVAILABILITY GROUP LAB SETUP STEP BY STEP – PART 3”
http://mintfy.com (http://mintfy.com)
Leave a Reply
Your email address will not be published.
Comment
Name
Website
POST COMMENT
Search …
RECENT POSTS
http://blog.winsqlsupport.com/wordpress/?p=392 11/12
22/02/2017 SQLServer Always on Availability Group Lab Step by Step
RECENT COMMENTS
http://www.ehelp.com (http://www.ehelp.com/questions/10514404/are-you-willing-to-switch-your-cable-channels-to-sky-television-services)
on List Current Long Running Jobs in SQL-Server (http://blog.winsqlsupport.com/wordpress/?p=319#comment-3377)
Krishna on SQL-Server 2016 Always on Availability Group Training & Workshop (http://blog.winsqlsupport.com/wordpress/?
p=453#comment-3376)
Manideep Grandhi on SQL-Server 2016 Always on Availability Group Training & Workshop (http://blog.winsqlsupport.com/wordpress/?
p=453#comment-3375)
phenq review (https://www.dietspotlight.com/phenq-review/) on List Current Long Running Jobs in SQL-Server
(http://blog.winsqlsupport.com/wordpress/?p=319#comment-3374)
m88 casino (http://m88-casino-iphone.tumblr.com/) on List Current Long Running Jobs in SQL-Server
(http://blog.winsqlsupport.com/wordpress/?p=319#comment-3373)
CATEGORIES
MS SQL (http://blog.winsqlsupport.com/wordpress/?cat=3)
Uncategorized (http://blog.winsqlsupport.com/wordpress/?cat=1)
Windows Server (http://blog.winsqlsupport.com/wordpress/?cat=2)
(HTTP://SXP.MICROSOFT.COM/FEEDS/3.0/MSDNTN?
TAGS=MSIT%20AND%20SERVER%20OPERATING%20SYSTEMS) MSDN – SERVER OPERATING SYSTEM
(HTTP://SXP.MICROSOFT.COM/STREAM/ITEM?
CHANNELID=MSDNTN&V=3&TAGS=MSIT%20AND%20SERVER%20OPERATING%20SYSTEMS)
Top 10 ways SQL Server R Services helps to optimize supply chain operations (Article)
(https://www.microsoft.com/itshowcase/Article/Content/865/) January 26, 2017
Top 10 ways SQL Server R Services helps to optimize supply chain operations (Article)
(https://www.microsoft.com/itshowcase/Article/Content/865/) January 26, 2017
Optimizing supply chain management with Microsoft SQL Server R Services (Video)
(https://www.microsoft.com/itshowcase/Article/Video/674/) January 18, 2017
(HTTP://SXP.MICROSOFT.COM/FEEDS/3.0/MSDNTN?TAGS=MSIT%20AND%20APPLICATION%20DEVELOPMENT)
MSDN – DATABASE AND APPLICATION DEVELOMENT (HTTP://SXP.MICROSOFT.COM/STREAM/ITEM?
CHANNELID=MSDNTN&V=3&TAGS=MSIT%20AND%20APPLICATION%20DEVELOPMENT)
Improving service quality in Skype for Business (Technical White Paper) (https://www.microsoft.com/itshowcase/Article/Content/753/) June
28, 2016
Improving service quality in Skype for Business (Technical White Paper) (https://www.microsoft.com/itshowcase/Article/Content/753/) June
28, 2016
Microsoft improves its SAP disaster recovery capabilities by upgrading to SQL Server 2014 (video)
(https://channel9.msdn.com/Blogs/Microsoft-IT-Showcase/5841-Microsoft-improves-its-SAP-disaster-recovery-capabilities-by-upgrading-to-
SQL-Server-2014) December 18, 2015
(https://www.facebook.com/winsqlsupport/)
(https://plus.google.com/u/0/b/103874671334875742721/103874671334875742721)
http://blog.winsqlsupport.com/wordpress/?p=392 12/12