Building a SQL 2012 HA Solution for SharePoint (In under an hour) Troy Lanphier Senior SharePoint...

Preview:

Citation preview

Building a SQL 2012 HA Solution for SharePoint(In under an hour)

Troy LanphierSenior SharePoint Solutions Developer – GUIO, LLC

Zero to High Availability in 60 Minutes

2 | SharePoint Saturday Austin 2013

• Please turn off all electronic devices or set them to vibrate• If you must take a phone call, please do so in the hall• Wi-Fi is available, you will need your Guest ID/password

(at registration desk)• Feel free to tweet and blog during sessions. Remember to follow

@SPSATX and tag #SPSATX in your tweets!

THANK YOU FOR BEING A PART OF SHAREPOINT SATURDAY AUSTIN!

SharePoint Saturday Austin is hosted bythe Austin SharePoint User Group

(@AustinSPUG)

Today’s Goal – AlwaysOn in 60 Minutes

Where we’ll start:

Today’s Goal – AlwaysOn in 60 Minutes

Where we’ll start:

• MARS – Domain Controller

Today’s Goal – AlwaysOn in 60 Minutes

Where we’ll start:

• MARS – Domain Controller

• ROMULUS – Win Server 2012 (SQL bits installed)

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)

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)

Today’s Goal – AlwaysOn in 60 Minutes

Where we’ll end up:

Today’s Goal – AlwaysOn in 60 Minutes

Where we’ll end up:

• MARS – Domain Controller

Today’s Goal – AlwaysOn in 60 Minutes

Where we’ll end up:

• MARS – Domain Controller

• WS 2012 Failover Cluster (ROMULUS and REMUS)

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

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)

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)

SQL Server High Availability

SQL Server High Availability (By Edition)

SQL Server Business Intelligence and Standard:

SQL Server High Availability (By Edition)

SQL Server Business Intelligence and Standard:

• Database Mirroring (Safety Full Only)

SQL Server High Availability (By Edition)

SQL Server Business Intelligence and Standard:

• Database Mirroring (Safety Full Only)

• DEPRECATED in 2012, possibly unavailable thereafter

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)

SQL Server High Availability (By Edition)

SQL Server Enterprise (and Developer):

SQL Server High Availability (By Edition)

SQL Server Enterprise (and Developer):

• Database Mirroring

SQL Server High Availability (By Edition)

SQL Server Enterprise (and Developer):

• Database Mirroring

• Still DEPRECATED

SQL Server High Availability (By Edition)

SQL Server Enterprise (and Developer):

• Database Mirroring

• Still DEPRECATED

• Failover Clustering (OS Maximum)

SQL Server High Availability (By Edition)

SQL Server Enterprise (and Developer):

• Database Mirroring

• Still DEPRECATED

• Failover Clustering (OS Maximum)

• AlwaysOn Availability Groups

The Setup

The Setup

Quorum Drive pre-built (5GB) on MARS (DC)

The Setup

Quorum Drive pre-built (5GB) on MARS (DC)

Networking pre-built:

The Setup

Quorum Drive pre-built (5GB) on MARS (DC)

Networking pre-built:

• Heartbeat NIC – Non-routed

• Storage – iSCSI NIC

• Intrafarm – All Farm Communications

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

Step 1Setting Up iSCSI Storage

Setting Up iSCSI Storage

Ensure that Windows Firewall is Off, or configure TCP Ports

Setting Up iSCSI Storage

Ensure that Windows Firewall is Off, or configure TCP Ports

Setup iSCSI Initiator on SQL Servers

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

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

Step 2Configure DNS and Install Failover Clustering

Configure DNS and Failover Clustering

Initial DNS Entries

Configure DNS and Failover Clustering

Initial DNS Entries

Cluster Installation

Configure DNS and Failover Clustering

Initial DNS Entries

Cluster Installation

Assign Permissions in DNS to the A Record

Configure DNS and Failover Clustering

Initial DNS Entries

Cluster Installation

Assign Permissions in DNS to the A Record

Quorum Drive Addition

Step 3Configure Availability Groups

Configure Availability Groups

Enable AlwaysOn Availability Groups

Configure Availability Groups

Enable AlwaysOn Availability Groups

SQL Configuration

Configure Availability Groups

Enable AlwaysOn Availability Groups

SQL Configuration

• Create Seed Database and Backup

Configure Availability Groups

Enable AlwaysOn Availability Groups

SQL Configuration

• Create Seed Database and Backup

• Create Availability Group

• Create Availability Listener

Configure Availability Groups

Enable AlwaysOn Availability Groups

SQL Configurations

• Create Seed Database and Backup

• Create Availability Group

• Create Availability Listener

• Build Backup Share

Step 4Configure SharePoint 2013

Step 5Adding SharePoint 2013 Content Databases to Availability Groups

47 | SharePoint Saturday Austin 2013

• SQL Server 2012 AlwaysOn - http://technet.microsoft.com/en-us/sqlserver/gg490638.aspx• Features Supported by the Editions of SQL Server 2012 - http://

msdn.microsoft.com/en-us/library/cc645993.aspx

REFERENCES

PLEASE FILL OUT SESSION EVALUATIONS AND

THANK YOU FOR ATTENDING!

49 | SharePoint Saturday Austin 2013

THANKS TO OUR SPONSORS!

CONTACT INFORMATION:TROY LANPHIER

EMAIL: T.LANPHIER@GUIO.COMBLOG:

HTTP://WWW.GUIO.COM/TROYTWITTER: @TROYLANPHIER

Recommended