Download presentation
Presentation is loading. Please wait.
0
Troy Lanphier Senior Solutions Developer – GUIO, LLC
Zero to High Availability in 60 Minutes Building a SQL 2012 HA Solution for SharePoint (In under an hour) Troy Lanphier Senior Solutions Developer – GUIO, LLC
1
Welcome to SharePoint Saturday Houston
Thank you for being a part of the 4th Annual SharePoint Saturday for the greater Houston area! Please turn off all electronic devices or set them to vibrate. If you must take a phone call, please do so in the hall so as not to disturb others. Thanks to our Title Sponsor:
2
Information Speaker presentation slides will be available at bit.ly/GoSPSHOU within a week The Houston SharePoint User Group will be having its next meeting Wednesday April 17th. Please join us at
3
Who is this guy and why should we care?
Troy Lanphier
4
Who is this guy and why should we care?
Troy Lanphier Co-author: Microsoft SharePoint Foundation Inside Out
5
Who is this guy and why should we care?
Troy Lanphier Co-author: Microsoft SharePoint Foundation Inside Out Author: Exam-Ref : Core Solutions of Microsoft SharePoint Server 2013 (Available June 2013)
6
Who is this guy and why should we care?
Troy Lanphier Co-author: Microsoft SharePoint Foundation Inside Out Author: Exam-Ref : Core Solutions of Microsoft SharePoint Server 2013 (Available June 2013) Blog:
7
Today’s Goal – AlwaysOn in 60 Minutes
Where we’ll start:
8
Today’s Goal – AlwaysOn in 60 Minutes
Where we’ll start: MARS – Domain Controller
9
Today’s Goal – AlwaysOn in 60 Minutes
Where we’ll start: MARS – Domain Controller ROMULUS – Win Server 2012 (SQL bits installed)
10
Today’s Goal – AlwaysOn in 60 Minutes
Where we’ll start: MARS – Domain Controller ROMULUS – Win Server 2012 (SQL bits installed) REMUS – Win Server 2012 (SQL bits installed)
11
Today’s Goal – AlwaysOn in 60 Minutes
Where we’ll start: MARS – Domain Controller ROMULUS – Win Server 2012 (SQL bits installed) REMUS – Win Server 2012 (SQL bits installed) RHEA – Win Server 2012 (SP 2013 bits installed)
12
Today’s Goal – AlwaysOn in 60 Minutes
Where we’ll end up:
13
Today’s Goal – AlwaysOn in 60 Minutes
Where we’ll end up: MARS – Domain Controller
14
Today’s Goal – AlwaysOn in 60 Minutes
Where we’ll end up: MARS – Domain Controller WS 2012 Failover Cluster (ROMULUS and REMUS)
15
Today’s Goal – AlwaysOn in 60 Minutes
Where we’ll end up: MARS – Domain Controller WS 2012 Failover Cluster (ROMULUS and REMUS) SQL Server 2012 AlwaysOn Availability Group
16
Today’s Goal – AlwaysOn in 60 Minutes
Where we’ll end up: MARS – Domain Controller WS 2012 Failover Cluster (ROMULUS and REMUS) SQL Server 2012 AlwaysOn Availability Group (ROMULUS and REMUS Independent SQL Nodes)
17
Today’s Goal – AlwaysOn in 60 Minutes
Where we’ll end up: MARS – Domain Controller WS 2012 Failover Cluster (ROMULUS and REMUS) SQL Server 2012 AlwaysOn Availability Group (ROMULUS and REMUS Independent SQL Nodes) RHEA – Win Server 2012 (SharePoint Configured)
18
SQL Server High Availability
19
SQL Server High Availability (By Edition)
SQL Server Business Intelligence and Standard:
20
SQL Server High Availability (By Edition)
SQL Server Business Intelligence and Standard: Database Mirroring (Safety Full Only)
21
SQL Server High Availability (By Edition)
SQL Server Business Intelligence and Standard: Database Mirroring (Safety Full Only) DEPRECATED in 2012, possibly unavailable thereafter
22
SQL Server High Availability (By Edition)
SQL Server Business Intelligence and Standard: Database Mirroring (Safety Full Only) DEPRECATED in 2012, possibly unavailable thereafter Failover Clustering (Two Nodes Only)
23
SQL Server High Availability (By Edition)
SQL Server Enterprise (and Developer):
24
SQL Server High Availability (By Edition)
SQL Server Enterprise (and Developer): Database Mirroring
25
SQL Server High Availability (By Edition)
SQL Server Enterprise (and Developer): Database Mirroring Still DEPRECATED
26
SQL Server High Availability (By Edition)
SQL Server Enterprise (and Developer): Database Mirroring Still DEPRECATED Failover Clustering (OS Maximum)
27
SQL Server High Availability (By Edition)
SQL Server Enterprise (and Developer): Database Mirroring Still DEPRECATED Failover Clustering (OS Maximum) AlwaysOn Availability Groups
28
The Setup
29
Quorum Drive pre-built (5GB) on MARS (DC)
The Setup Quorum Drive pre-built (5GB) on MARS (DC)
30
Quorum Drive pre-built (5GB) on MARS (DC) Networking pre-built:
The Setup Quorum Drive pre-built (5GB) on MARS (DC) Networking pre-built:
31
The Setup Quorum Drive pre-built (5GB) on MARS (DC)
Networking pre-built: Heartbeat NIC – Non-routed Storage – iSCSI NIC Intrafarm – All Farm Communications
32
The Setup Quorum Drive pre-built (5GB) on MARS (DC)
Networking pre-built: Heartbeat NIC – Non-routed Storage – iSCSI NIC Intrafarm – All Farm Communications Firewalls Disabled
33
Step 1 Setting Up iSCSI Storage
34
Setting Up iSCSI Storage
Ensure that Windows Firewall is Off, or configure TCP Ports
35
Setting Up iSCSI Storage
Ensure that Windows Firewall is Off, or configure TCP Ports Setup iSCSI Initiator on SQL Servers iSCSI Initiator on Romulus and Remus Tools -> iSCSI Initiator Configuration Tab, locate the initiator name iSCSI Initiator Name: iqn com.microsoft:remus.roma.local and iqn com.microsoft:romulus.roma.local
36
Setting Up iSCSI Storage
Ensure that Windows Firewall is Off, or configure TCP Ports Setup iSCSI Initiator on SQL Servers Setup iSCSI Target on DC iSCSI Target on Mars File and Storage Services -> iSCSI Install iSCSI Target Server -> Next -> Install Create an iSCSI Virtual Disk Select iSCSI Virtual Disk -> Q: Name: Quorum Target Access Servers (Add) Query Initiator Computer ID (Browse) ROMULUS.roma.local REMUS.roma.local Create
37
Setting Up iSCSI Storage
Ensure that Windows Firewall is Off, or configure TCP Ports Setup iSCSI Initiator on SQL Servers Setup iSCSI Target on DC Connect Storage in iSCSI Initiator iSCSI Initiator Discovery Tab Discover Portal Targets Tab Connect Tools, Computer Management Online, Initialize Disk New Simple Volume Quorum Second Machine Online Disk
38
Step 2 Configure DNS and Install Failover Clustering
39
Configure DNS and Failover Clustering
Initial DNS Entries DNS Entries RomaCluster RomaSQL
40
Configure DNS and Failover Clustering
Initial DNS Entries Cluster Installation Cluster Installation Dashboard Add Roles and Features Features Failover Clustering Icon - Failover Cluster Validate Configuration Browse Select both machine names (Romulus, Remus) Cluster Name and IP IMPORTANT - Deselect "Add all eligible storage to the cluster" At the summary node, scroll down and show off the warning screen asking to either add another cluster node or a disk majority to the configuration. Show the errors on the cluster manager. On Remus, select Connect to Cluster
41
Configure DNS and Failover Clustering
Initial DNS Entries Cluster Installation Assign Permissions in DNS to the A Record DNS Permissions to the A Record Locate the cluster name (Cluster Name Object) in DNS Security Tab Add, Object Types Select Computers Add Cluster Name Object Full Control permissions On cluster summary page, select Cluster Name at the bottom of the page. Right-click the cluster name and select "Take Offline". Right-click the name, select More Actions -> Repair.
42
Configure DNS and Failover Clustering
Initial DNS Entries Cluster Installation Assign Permissions in DNS to the A Record Quorum Drive Addition Quorum Addition In Cluster Manager, the configuration is set to Node Majority. Select Storage Select Disks Select Add Disk Resource Name - Select Cluster Disk More Actions -> Configure Cluster Quorum Settings Use Typical Settings Changing to "Node and Disk Majority" Summary
43
Step 3 Configure Availability Groups
44
Configure Availability Groups
Enable AlwaysOn Availability Groups SQL Configuration Manager Select Server in SQL Server Services -> Properties AlwaysOn High Availability - Failover cluster name should show. Select "Enable AlwaysOn Availability Groups" Restart Service
45
Configure Availability Groups
Enable AlwaysOn Availability Groups SQL Configuration SQL Server Management Services Right-click databases -> New Database Database Name -> Seed Right-click database, Task -> Back Up Right-click AlwaysOn High Availability, select new Availability Group Specify Availability Group Name Availability Group Name - “Roma Availability Group" Select Databases "Seed" Add Replica Automatic Failover and Synchronous Commit (select all four) Select Backups on Primary Node Listener -> Create an availability listener Listener DNS Name: romasql Port: 1433 Static IP: Build a share on the mars server
46
Configure Availability Groups
Enable AlwaysOn Availability Groups SQL Configuration Create Seed Database and Backup SQL Server Management Services Right-click databases -> New Database Database Name -> Seed Right-click database, Task -> Back Up Right-click AlwaysOn High Availability, select new Availability Group Specify Availability Group Name Availability Group Name - "Mars Availability Group" Select Databases "Seed" Add Replica Automatic Failover and Synchronous Commit (select all four) Select Backups on Primary Node Listener -> Create an availability listener Listener DNS Name: marssql Port: 1433 Static IP: Build a share on the mars server
47
Configure Availability Groups
Enable AlwaysOn Availability Groups SQL Configuration Create Seed Database and Backup Create Availability Group Create Availability Listener SQL Server Management Services Right-click databases -> New Database Database Name -> Seed Right-click database, Task -> Back Up Right-click AlwaysOn High Availability, select new Availability Group Specify Availability Group Name Availability Group Name - "Mars Availability Group" Select Databases "Seed" Add Replica Automatic Failover and Synchronous Commit (select all four) Select Backups on Primary Node Listener -> Create an availability listener Listener DNS Name: marssql Port: 1433 Static IP: Build a share on the mars server
48
Configure Availability Groups
Enable AlwaysOn Availability Groups SQL Configuration Create Seed Database and Backup Create Availability Group Create Availability Listener Build Backup Share SQL Server Management Services Right-click databases -> New Database Database Name -> Seed Right-click database, Task -> Back Up Right-click AlwaysOn High Availability, select new Availability Group Specify Availability Group Name Availability Group Name - "Mars Availability Group" Select Databases "Seed" Add Replica Automatic Failover and Synchronous Commit (select all four) Select Backups on Primary Node Listener -> Create an availability listener Listener DNS Name: marssql Port: 1433 Static IP: Build a share on the mars server
49
Step 4 Configure SharePoint 2013
50
Step 5 Adding SharePoint 2013 Content Databases to Availability Groups
51
References SQL Server 2012 AlwaysOn - Features Supported by the Editions of SQL Server
52
Please Leave Feedback During Q&A
If you leave session feedback and provide contact information in the survey, you will be qualified for a book, ebook or DVD giveaway. Scan the QR Code to the right or go to bit.ly/spshou71
53
Thanks to all our Sponsors!
54
Contact Information Troy Lanphier Blog:
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.