Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
5 views

SQL-Server Always On Availability Group Lab Step by Step3

This document provides step-by-step instructions for setting up an Always On Availability Group lab using SQL Server 2016. It describes how to configure the network and join two nodes to a domain, install SQL Server 2016 as a standalone instance on each node, and create domain users for database administration and SQL service accounts.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

SQL-Server Always On Availability Group Lab Step by Step3

This document provides step-by-step instructions for setting up an Always On Availability Group lab using SQL Server 2016. It describes how to configure the network and join two nodes to a domain, install SQL Server 2016 as a standalone instance on each node, and create domain users for database administration and SQL service accounts.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

22/02/2017 SQL­Server Always on Availability Group Lab Step by Step

SQL-SERVER ALWAYS ON AVAILABILITY GROUP LAB SETUP STEP BY STEP – PART 3


 radha_krish_al (http://blog.winsqlsupport.com/wordpress/?author=1)  One comment (http://blog.winsqlsupport.com/wordpress/?p=392#comments)  August 19, 2016

SQL‐Server 2016 Always on Availability Group Lab Setup

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 SQL­Server 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.

6. Right Click on “This PC” and go into the proper笀es.

7. Click on the “Advanced Se錀ngs” and click the “Computer Name” Tab and click the Change Buon. 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 SQL­Server 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.

11. Verify if all the three se錀ngs are turned off.

http://blog.winsqlsupport.com/wordpress/?p=392 3/12
22/02/2017 SQL­Server 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”.

Sec笀on 8: ‐ Create AD Users for DBA and service account

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

and click next.

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 SQL­Server 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

Service account for running SQL‐Service.

5. Logon to SQLNode1 and SQLNode2 as Domain Administrator and add the DBA account to local Administrators group.

Sec笀on 9: ‐ Install Stand‐alone SQL‐2016 Instance on Node 1 and Node 2

1. Login to SQLNODE1 with the DBA account.

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 SQL­Server 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”

6. Select “Specify a Free Edi笀on” and Choose Developer

http://blog.winsqlsupport.com/wordpress/?p=392 6/12
22/02/2017 SQL­Server Always on Availability Group Lab Step by Step

7. Check “I accept the License Terms” and Click Next.

8. Leave the default and click next

9. Leave the default on product updates and click next

http://blog.winsqlsupport.com/wordpress/?p=392 7/12
22/02/2017 SQL­Server Always on Availability Group Lab Step by Step

10. Check if the install rules goes through and the “Next” buon 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 SQL­Server 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” buon.

15. Leave the default and click next

http://blog.winsqlsupport.com/wordpress/?p=392 9/12
22/02/2017 SQL­Server Always on Availability Group Lab Step by Step

16. Leave the default and click next.

17. Click the Install buon to kick start the installa笀on

18. Verify if the installa笀on is complete successfully.

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.

Part 1: ‐ hp://blog.winsqlsupport.com/wordpress/?p=377 (http://blog.winsqlsupport.com/wordpress/?p=377)

Part 2: ‐ hp://blog.winsqlsupport.com/wordpress/?p=388 (http://blog.winsqlsupport.com/wordpress/?p=388)

Part 4: ‐ hp://blog.winsqlsupport.com/wordpress/?p=406 (http://blog.winsqlsupport.com/wordpress/?p=406)

http://blog.winsqlsupport.com/wordpress/?p=392 10/12
22/02/2017 SQL­Server 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) says: Reply (http://blog.winsqlsupport.com/wordpress/?p=392&replytocom=12#respond)


August 20, 2016 at 9:51 pm (http://blog.winsqlsupport.com/wordpress/?p=392#comment-12)

http://mintfy.com (http://mintfy.com)

Leave a Reply
Your email address will not be published.

Comment

Name

Email

Website

POST COMMENT

Search … 

RECENT POSTS

SQL-Server 2016 Always on Availability Group Training & Workshop (http://blog.winsqlsupport.com/wordpress/?p=453)


Conퟛ�guring DNS in Server 2016 (http://blog.winsqlsupport.com/wordpress/?p=443)
How to generate and view Windows Server Failover Cluster Logs (http://blog.winsqlsupport.com/wordpress/?p=429)
SQL-Server Always on Availability Group Setup Step by Step – Part 1 (http://blog.winsqlsupport.com/wordpress/?p=377)

http://blog.winsqlsupport.com/wordpress/?p=392 11/12
22/02/2017 SQL­Server Always on Availability Group Lab Step by Step

SQL-Server Always on Availability Group Setup Step by Step – Part 4 (http://blog.winsqlsupport.com/wordpress/?p=406)

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

You might also like