SlideShare a Scribd company logo
1 of 21
Download to read offline
Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk
Mark Broadbent
Principal
SQL Consultant
SQLCloud
SQLCLOUD.CO.UK
Tri le Troublep
Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk
About
Mark Broadbent.
“30 billion times more intelligent than a live mattress”
Microsoft Certified Master/ Certified Solutions Master: SQL Server
Owner/ Principal at SQLCloud
Useless fact: I’m a Chelsea supporter and I firmly believe that Porto got
LUCKY in the Champions League!!!
Email: mark.broadbent@sqlcambs.org.uk
Twitter: retracement
Blog: http://tenbulls.co.uk
Event Lead to the UK’s first ever SQLSaturday (Cambridge)
– now also SharePoint Saturday
http://sqlcambs.org.uk
Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk
Agenda
Overview from 50,000
feet
1
Hyper-V and Hyper-V
Clustering
3
Cluster
Storage
2
Import generic
Import generic
Import generic
Guest
Clustering
4
The best part of the presentation…
Super Bock O‘Clock
5
Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk
So what exactly is a Cluster?
• Shared Everything vs Shared Nothing
• A compromise between scalability and flexibility
• Or simplicity over complexity
Cluster App A Cluster App A
Cluster App A Cluster App A
Shared Everything
Cluster App A
Shared Nothing
*1
*1 The term Shared Nothing in this scenario is a little misleading
Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk
So what exactly is a Cluster?
• Shared Everything vs Shared Nothing
• A compromise between scalability and flexibility
• Or simplicity over complexity
Cluster App A Cluster App A
Cluster App A Cluster App A
Shared Everything
Cluster App A
Shared Nothing
*1
But the lines are getting blurred!
CA File Share CA File Share
CA File Share CA File Share
Shared Everything!
Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk
SQL Server at 50,000 feet
• Traditional SQL Deployments on physical hardware are fairly
straight foreword
SQL Instance
WindowsOS
Storage
SQL installation requires Operating System (yeah Duh!)
And Operating System requires “locally attached”
storage to the physical server
Important to see distinction between physically attached local storage,
and remote, the latter potentially coming from lots of different places and
used by many different Services or Platforms
Storage
Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk
Hyper-V Clustering
SQL Server “Triple Trouble” at 50,000 feet
Windows Clustering
SQL Failover Clustered
Instance
Windows OS
Guest
Storage
Windows OS
Storage
Host
Storage
Virtual Machine
Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk
Storage options are either:
• Presented to Cluster nodes over SAS, Fibre Channel, iSCSI or SMB
• Require *1 drive letters or mount points
• 1-1 mapping between LUN and Cluster Volume
• Can be added as Cluster Shared Volumes (not FS)
1
2
Locally attached
Something else…
Serial Attached SCSI
Import generic
Fibre Channel iSCSI
Import generic
Import generic
SMB 3.0 Fileshare
Serial ATA is not
Supported on clusters
*1 Unless added to Cluster Shared Volumes
or if they are fileshares
Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk
Cluster Shared Volumes for SQL FCIs
• Supported by SQL Server 2014 on Windows 2012 R2 (introduced
in Windows 2012)
• Consolidation of multiple SQL instances
• Large FCI cluster deployments could run out of drive letters
• Consolidating multiple SQL instances on single LUN makes the
storage utilization more efficient
• Fast failover – no dismount and mount during failover!
• Easier to configure and more resilient
• Zero downtime chkdsk
• Resilience from network failures (CSV can reroute traffic over the
network using SMB 3.0 allowing the SQL instance to remain
operational
• Good for Hyper-V Cluster Storage but consider performance hit
from redirected IO
Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk
SMB 3.0
• SMB Multichannel
• Multi-network detect
• Transparent failover with (transparent) recovery
• Network bandwidth aggregation
• SMB Direct (SMB over RDMA)
• Lower CPU consumption (CPU offloading) –no context switching
• Low latency (client & server)
• High bandwidth utilization
• Reads and writes directly against memory of remote storage node
• Currently supports Infiniband, Internet Wide Area RDMA (iWARP)
and RDMA over Converged Ethernet (RoCE)
Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk
SMB 3.0 File Shares
• SMB 3.0 supported by Hyper-V Windows 2012/R2 & SQL
2012/2014
• Not assigned to the Cluster
• Cannot be added to Cluster Shared Volumes
• Very easy to configure and consume
• Low cost connectivity
Failover Cluster
File Server
Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk
Scale-Out File Server Cluster
Failover Cluster
HDD
3TB
HDD
3TB
HDD
3TB
HDD
3TB
HDD
3TB
HDD
3TB
HDD
3TB
HDD
3TB
HDD
3TB
HDD
3TB
HDD
3TB
HDD
3TB
SSD
600GB
HDD
3TB
HDD
3TB
HDD
3TB
RDMA Cards
HBA Storage Adapters
JBOD Array
SMB
Multichannel
SMB Direct
RDMA
Continuous
Availability
File Share
Cluster
Shared
Volumes
Multipath
IO
Storage
Spaces
Failover
Clustering
Scale-Out File
Server
Infiniband Switches
Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk
Scale-Out File Server setup
• Build Windows Cluster
• Create Storage Pool of disks from storage enclosure/s
• Create Virtual Disk in Storage Pool
• Add Disk to Cluster Shared Volumes
• Add Scale-Out File Server Role
• Complete create File Share in File Server Role (in the CSV namespace)
Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk
Why Hyper-V?
• Up to 64 Virtual CPUs
• Hyper-V Storage NUMU I/O (good for intensive IO workloads such
as SQL)
• VHDX disk format (from Windows 2012)
• 64TB Disks
• Power failure corruption protection (through logging updates)
• Storage reclamation through TRIM command support
• Storage QoS and Hyper-V IO Balancing*1
*1 IO Balancer currently only supports host-side storage (i.e. non-shared)
Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk
Hyper-V Benefits
• Replication
• Exports
• Live Storage Migration
• Live Migration
• Quick Migration
• Checkpoints (snapshots)
• QoS on disks, Bandwidth, CPU etc
• Fast Boot
• Azure portability *1
*1 Generation 2 Machines not compatible (although ASR can support)
Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk
Hyper-V Clustering
• Uses Windows Clustering (surprise surprise!)
• Each Hyper-V server is a cluster node
• Can therefore host Clustered Roles (Clustered Virtual Machine)
• Still act as a standalone Hypervisor
• Perform very fast live migration (secs) or quick migration
• Hyper-V Server is FREE.
• But virtualization rights aren’t!
• Consider Datacenter SKU
Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk
PhysicalInfrastructure
Guest Clustering across Hyper-V hosts
• Shared Nothing Storage for Guest
Virtual Disks
• Windows Cluster is created across
guests
• Physical fabric provides services
• Virtualization benefits and SQL Instance
protection across multiple VMs/
Hypervisors
• Hypervisor level HA benefits (e.g.
“Shared Nothing Live Migration” in
Hyper-V
GuestCluster
SAN, Network and Storage
Fabric
Hypervisors
Guests
Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk
Guest Clustering on a Hyper-V Cluster
• Can be thought of as a “Cluster on a
Cluster”. Clustered Virtual Machines
as deployed as roles in the cluster
• The SQL/ SSAS Failover Clustered
Instance can failover to each VM in
the Guest Cluster
• The Guest VM can benefit from live
fast migration failover to new Hyper-
V host without downtime to SQL FCI!
– Otherwise known as a Clustered
Live Migration” in Hyper-V
PhysicalInfrastructureGuestCluster
SAN, Network and Storage
Fabric
Hypervisors
Guests
Hyper-V Cluster
SQL Server Cluster
Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk
NetFT
• Virtual adapter running over top
of NICs
• Can provide transparent
network failover if one NIC fails
• Autoconfiguring and hands free
• Provides performance filter
• Disabled by default
• Do not turn on for Hyper-V
Cluster nodes (otherwise
enable)
Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk
In Summary…
• Failover Clustering and all its complexities is not getting easier but
it is getting more robust and richer.
• When combined with other MS Technologies such as Hyper-V and
Scalable File Server, SQL Failover Clustering provides *the*
definitive HA solution.
• Choose wisely which Cluster storage you use for Hyper-V and SQL
-should you use SMB 3.0 File Share/s from SO-FS OR CSV?
• Layering technologies can exacerbate the confusion!
Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk
Thank you for listening!
Email: mark.broadbent@sqlcambs.org.uk
Twitter: retracement
Blog: http://tenbulls.co.uk

More Related Content

Viewers also liked

SQL Server Clustering and High Availability
SQL Server Clustering and High AvailabilitySQL Server Clustering and High Availability
SQL Server Clustering and High Availability► Supreme Mandal ◄
 
SQL Server Cluster Presentation
SQL Server Cluster PresentationSQL Server Cluster Presentation
SQL Server Cluster Presentationwebhostingguy
 
Disaster recovery with sql server
Disaster recovery with sql serverDisaster recovery with sql server
Disaster recovery with sql serverRajib Kundu
 
Disaster recovery in sql server
Disaster recovery in  sql serverDisaster recovery in  sql server
Disaster recovery in sql serverRajib Kundu
 
Presentation citrix desktop virtualization (2)
Presentation   citrix desktop virtualization (2)Presentation   citrix desktop virtualization (2)
Presentation citrix desktop virtualization (2)xKinAnx
 
Nimble Storage presentation used during the SWITCHPOINT NV/SA Quarterly Exper...
Nimble Storage presentation used during the SWITCHPOINT NV/SA Quarterly Exper...Nimble Storage presentation used during the SWITCHPOINT NV/SA Quarterly Exper...
Nimble Storage presentation used during the SWITCHPOINT NV/SA Quarterly Exper...SWITCHPOINT NV/SA
 
Nimble storage
Nimble storageNimble storage
Nimble storagedvmug1
 
Presentation v center site recovery manager
Presentation   v center site recovery managerPresentation   v center site recovery manager
Presentation v center site recovery managersolarisyourep
 
Azure DRaaS v0.7
Azure DRaaS v0.7Azure DRaaS v0.7
Azure DRaaS v0.7Luca Mauri
 
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...VMworld
 
Disaster Recovery Planning using Azure Site Recovery
Disaster Recovery Planning using Azure Site RecoveryDisaster Recovery Planning using Azure Site Recovery
Disaster Recovery Planning using Azure Site RecoveryNitin Agarwal
 
Sql 2012 always on
Sql 2012 always onSql 2012 always on
Sql 2012 always ondilip nayak
 

Viewers also liked (14)

SQL Server Clustering and High Availability
SQL Server Clustering and High AvailabilitySQL Server Clustering and High Availability
SQL Server Clustering and High Availability
 
SQL Server Cluster Presentation
SQL Server Cluster PresentationSQL Server Cluster Presentation
SQL Server Cluster Presentation
 
HP StorageWorks
HP StorageWorksHP StorageWorks
HP StorageWorks
 
Disaster recovery with sql server
Disaster recovery with sql serverDisaster recovery with sql server
Disaster recovery with sql server
 
Disaster recovery in sql server
Disaster recovery in  sql serverDisaster recovery in  sql server
Disaster recovery in sql server
 
Presentation citrix desktop virtualization (2)
Presentation   citrix desktop virtualization (2)Presentation   citrix desktop virtualization (2)
Presentation citrix desktop virtualization (2)
 
Nimble Storage presentation used during the SWITCHPOINT NV/SA Quarterly Exper...
Nimble Storage presentation used during the SWITCHPOINT NV/SA Quarterly Exper...Nimble Storage presentation used during the SWITCHPOINT NV/SA Quarterly Exper...
Nimble Storage presentation used during the SWITCHPOINT NV/SA Quarterly Exper...
 
Select enterprise backup software
Select enterprise backup softwareSelect enterprise backup software
Select enterprise backup software
 
Nimble storage
Nimble storageNimble storage
Nimble storage
 
Presentation v center site recovery manager
Presentation   v center site recovery managerPresentation   v center site recovery manager
Presentation v center site recovery manager
 
Azure DRaaS v0.7
Azure DRaaS v0.7Azure DRaaS v0.7
Azure DRaaS v0.7
 
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...
 
Disaster Recovery Planning using Azure Site Recovery
Disaster Recovery Planning using Azure Site RecoveryDisaster Recovery Planning using Azure Site Recovery
Disaster Recovery Planning using Azure Site Recovery
 
Sql 2012 always on
Sql 2012 always onSql 2012 always on
Sql 2012 always on
 

More from Mark Broadbent

Persistence Is Futile - Implementing Delayed Durability
Persistence Is Futile - Implementing Delayed DurabilityPersistence Is Futile - Implementing Delayed Durability
Persistence Is Futile - Implementing Delayed DurabilityMark Broadbent
 
Lockless in Seattle - Using In-Memory OLTP for Transaction Processing
Lockless in Seattle -  Using In-Memory OLTP for Transaction ProcessingLockless in Seattle -  Using In-Memory OLTP for Transaction Processing
Lockless in Seattle - Using In-Memory OLTP for Transaction ProcessingMark Broadbent
 
Schizophrenic High Availability with SQL and Windows 2016
Schizophrenic High Availability with SQL and Windows 2016Schizophrenic High Availability with SQL and Windows 2016
Schizophrenic High Availability with SQL and Windows 2016Mark Broadbent
 
SharePoint is from Mars, SQL Server is from Venus (SQL Server for SharePoint ...
SharePoint is from Mars, SQL Server is from Venus (SQL Server for SharePoint ...SharePoint is from Mars, SQL Server is from Venus (SQL Server for SharePoint ...
SharePoint is from Mars, SQL Server is from Venus (SQL Server for SharePoint ...Mark Broadbent
 
lock, block & two smoking barrels
lock, block & two smoking barrelslock, block & two smoking barrels
lock, block & two smoking barrelsMark Broadbent
 
Enter the Dragon - SQL 2014 on Server Core PASS Summit 2014 Edition
Enter the Dragon -  SQL 2014 on Server Core PASS Summit 2014 EditionEnter the Dragon -  SQL 2014 on Server Core PASS Summit 2014 Edition
Enter the Dragon - SQL 2014 on Server Core PASS Summit 2014 EditionMark Broadbent
 
Being Buck Woody - PASS Summit 2014 Edition
Being Buck Woody - PASS Summit 2014 EditionBeing Buck Woody - PASS Summit 2014 Edition
Being Buck Woody - PASS Summit 2014 EditionMark Broadbent
 
Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition
Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto EditionEnter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition
Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto EditionMark Broadbent
 
Ye Olde Cluster Curiosity Shoppe
Ye Olde Cluster Curiosity ShoppeYe Olde Cluster Curiosity Shoppe
Ye Olde Cluster Curiosity ShoppeMark Broadbent
 
SQL Server AlwaysOn for Dummies SQLSaturday #202 Edition
SQL Server AlwaysOn for Dummies SQLSaturday #202 EditionSQL Server AlwaysOn for Dummies SQLSaturday #202 Edition
SQL Server AlwaysOn for Dummies SQLSaturday #202 EditionMark Broadbent
 
Moves Like Jagger - Upgrading to SQL Server 2012 (SQLBits XI Edition)
Moves Like Jagger - Upgrading to SQL Server 2012 (SQLBits XI Edition)Moves Like Jagger - Upgrading to SQL Server 2012 (SQLBits XI Edition)
Moves Like Jagger - Upgrading to SQL Server 2012 (SQLBits XI Edition)Mark Broadbent
 
SQLSaturday #188 Lisbon - READPAST & Furious: Transactions, Locking and Isola...
SQLSaturday #188 Lisbon - READPAST & Furious: Transactions, Locking and Isola...SQLSaturday #188 Lisbon - READPAST & Furious: Transactions, Locking and Isola...
SQLSaturday #188 Lisbon - READPAST & Furious: Transactions, Locking and Isola...Mark Broadbent
 
READPAST & Furious - Transactions, Locking and Isolation. PASS Summit 2012 Ed...
READPAST & Furious - Transactions, Locking and Isolation. PASS Summit 2012 Ed...READPAST & Furious - Transactions, Locking and Isolation. PASS Summit 2012 Ed...
READPAST & Furious - Transactions, Locking and Isolation. PASS Summit 2012 Ed...Mark Broadbent
 
PASS 2012 "Moves Like Jagger" - Upgrading to SQL Server 2012
PASS 2012 "Moves Like Jagger" - Upgrading to SQL Server 2012PASS 2012 "Moves Like Jagger" - Upgrading to SQL Server 2012
PASS 2012 "Moves Like Jagger" - Upgrading to SQL Server 2012Mark Broadbent
 
READPAST & Furious: Locking
READPAST & Furious: Locking READPAST & Furious: Locking
READPAST & Furious: Locking Mark Broadbent
 
SQL Server Clustering for Dummies
SQL Server Clustering for DummiesSQL Server Clustering for Dummies
SQL Server Clustering for DummiesMark Broadbent
 
Orders of-magnitude-scale-out-your-sql-server-data-slideshare
Orders of-magnitude-scale-out-your-sql-server-data-slideshareOrders of-magnitude-scale-out-your-sql-server-data-slideshare
Orders of-magnitude-scale-out-your-sql-server-data-slideshareMark Broadbent
 
Thinking outside the box, learning a little about a lot
Thinking outside the box, learning a little about a lotThinking outside the box, learning a little about a lot
Thinking outside the box, learning a little about a lotMark Broadbent
 

More from Mark Broadbent (18)

Persistence Is Futile - Implementing Delayed Durability
Persistence Is Futile - Implementing Delayed DurabilityPersistence Is Futile - Implementing Delayed Durability
Persistence Is Futile - Implementing Delayed Durability
 
Lockless in Seattle - Using In-Memory OLTP for Transaction Processing
Lockless in Seattle -  Using In-Memory OLTP for Transaction ProcessingLockless in Seattle -  Using In-Memory OLTP for Transaction Processing
Lockless in Seattle - Using In-Memory OLTP for Transaction Processing
 
Schizophrenic High Availability with SQL and Windows 2016
Schizophrenic High Availability with SQL and Windows 2016Schizophrenic High Availability with SQL and Windows 2016
Schizophrenic High Availability with SQL and Windows 2016
 
SharePoint is from Mars, SQL Server is from Venus (SQL Server for SharePoint ...
SharePoint is from Mars, SQL Server is from Venus (SQL Server for SharePoint ...SharePoint is from Mars, SQL Server is from Venus (SQL Server for SharePoint ...
SharePoint is from Mars, SQL Server is from Venus (SQL Server for SharePoint ...
 
lock, block & two smoking barrels
lock, block & two smoking barrelslock, block & two smoking barrels
lock, block & two smoking barrels
 
Enter the Dragon - SQL 2014 on Server Core PASS Summit 2014 Edition
Enter the Dragon -  SQL 2014 on Server Core PASS Summit 2014 EditionEnter the Dragon -  SQL 2014 on Server Core PASS Summit 2014 Edition
Enter the Dragon - SQL 2014 on Server Core PASS Summit 2014 Edition
 
Being Buck Woody - PASS Summit 2014 Edition
Being Buck Woody - PASS Summit 2014 EditionBeing Buck Woody - PASS Summit 2014 Edition
Being Buck Woody - PASS Summit 2014 Edition
 
Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition
Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto EditionEnter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition
Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition
 
Ye Olde Cluster Curiosity Shoppe
Ye Olde Cluster Curiosity ShoppeYe Olde Cluster Curiosity Shoppe
Ye Olde Cluster Curiosity Shoppe
 
SQL Server AlwaysOn for Dummies SQLSaturday #202 Edition
SQL Server AlwaysOn for Dummies SQLSaturday #202 EditionSQL Server AlwaysOn for Dummies SQLSaturday #202 Edition
SQL Server AlwaysOn for Dummies SQLSaturday #202 Edition
 
Moves Like Jagger - Upgrading to SQL Server 2012 (SQLBits XI Edition)
Moves Like Jagger - Upgrading to SQL Server 2012 (SQLBits XI Edition)Moves Like Jagger - Upgrading to SQL Server 2012 (SQLBits XI Edition)
Moves Like Jagger - Upgrading to SQL Server 2012 (SQLBits XI Edition)
 
SQLSaturday #188 Lisbon - READPAST & Furious: Transactions, Locking and Isola...
SQLSaturday #188 Lisbon - READPAST & Furious: Transactions, Locking and Isola...SQLSaturday #188 Lisbon - READPAST & Furious: Transactions, Locking and Isola...
SQLSaturday #188 Lisbon - READPAST & Furious: Transactions, Locking and Isola...
 
READPAST & Furious - Transactions, Locking and Isolation. PASS Summit 2012 Ed...
READPAST & Furious - Transactions, Locking and Isolation. PASS Summit 2012 Ed...READPAST & Furious - Transactions, Locking and Isolation. PASS Summit 2012 Ed...
READPAST & Furious - Transactions, Locking and Isolation. PASS Summit 2012 Ed...
 
PASS 2012 "Moves Like Jagger" - Upgrading to SQL Server 2012
PASS 2012 "Moves Like Jagger" - Upgrading to SQL Server 2012PASS 2012 "Moves Like Jagger" - Upgrading to SQL Server 2012
PASS 2012 "Moves Like Jagger" - Upgrading to SQL Server 2012
 
READPAST & Furious: Locking
READPAST & Furious: Locking READPAST & Furious: Locking
READPAST & Furious: Locking
 
SQL Server Clustering for Dummies
SQL Server Clustering for DummiesSQL Server Clustering for Dummies
SQL Server Clustering for Dummies
 
Orders of-magnitude-scale-out-your-sql-server-data-slideshare
Orders of-magnitude-scale-out-your-sql-server-data-slideshareOrders of-magnitude-scale-out-your-sql-server-data-slideshare
Orders of-magnitude-scale-out-your-sql-server-data-slideshare
 
Thinking outside the box, learning a little about a lot
Thinking outside the box, learning a little about a lotThinking outside the box, learning a little about a lot
Thinking outside the box, learning a little about a lot
 

Recently uploaded

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 

Recently uploaded (20)

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 

Triple trouble - Running a SQL Failover Cluster on a Cluster from a Cluster

  • 1. Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk Mark Broadbent Principal SQL Consultant SQLCloud SQLCLOUD.CO.UK Tri le Troublep
  • 2. Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk About Mark Broadbent. “30 billion times more intelligent than a live mattress” Microsoft Certified Master/ Certified Solutions Master: SQL Server Owner/ Principal at SQLCloud Useless fact: I’m a Chelsea supporter and I firmly believe that Porto got LUCKY in the Champions League!!! Email: mark.broadbent@sqlcambs.org.uk Twitter: retracement Blog: http://tenbulls.co.uk Event Lead to the UK’s first ever SQLSaturday (Cambridge) – now also SharePoint Saturday http://sqlcambs.org.uk
  • 3. Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk Agenda Overview from 50,000 feet 1 Hyper-V and Hyper-V Clustering 3 Cluster Storage 2 Import generic Import generic Import generic Guest Clustering 4 The best part of the presentation… Super Bock O‘Clock 5
  • 4. Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk So what exactly is a Cluster? • Shared Everything vs Shared Nothing • A compromise between scalability and flexibility • Or simplicity over complexity Cluster App A Cluster App A Cluster App A Cluster App A Shared Everything Cluster App A Shared Nothing *1 *1 The term Shared Nothing in this scenario is a little misleading
  • 5. Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk So what exactly is a Cluster? • Shared Everything vs Shared Nothing • A compromise between scalability and flexibility • Or simplicity over complexity Cluster App A Cluster App A Cluster App A Cluster App A Shared Everything Cluster App A Shared Nothing *1 But the lines are getting blurred! CA File Share CA File Share CA File Share CA File Share Shared Everything!
  • 6. Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk SQL Server at 50,000 feet • Traditional SQL Deployments on physical hardware are fairly straight foreword SQL Instance WindowsOS Storage SQL installation requires Operating System (yeah Duh!) And Operating System requires “locally attached” storage to the physical server Important to see distinction between physically attached local storage, and remote, the latter potentially coming from lots of different places and used by many different Services or Platforms Storage
  • 7. Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk Hyper-V Clustering SQL Server “Triple Trouble” at 50,000 feet Windows Clustering SQL Failover Clustered Instance Windows OS Guest Storage Windows OS Storage Host Storage Virtual Machine
  • 8. Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk Storage options are either: • Presented to Cluster nodes over SAS, Fibre Channel, iSCSI or SMB • Require *1 drive letters or mount points • 1-1 mapping between LUN and Cluster Volume • Can be added as Cluster Shared Volumes (not FS) 1 2 Locally attached Something else… Serial Attached SCSI Import generic Fibre Channel iSCSI Import generic Import generic SMB 3.0 Fileshare Serial ATA is not Supported on clusters *1 Unless added to Cluster Shared Volumes or if they are fileshares
  • 9. Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk Cluster Shared Volumes for SQL FCIs • Supported by SQL Server 2014 on Windows 2012 R2 (introduced in Windows 2012) • Consolidation of multiple SQL instances • Large FCI cluster deployments could run out of drive letters • Consolidating multiple SQL instances on single LUN makes the storage utilization more efficient • Fast failover – no dismount and mount during failover! • Easier to configure and more resilient • Zero downtime chkdsk • Resilience from network failures (CSV can reroute traffic over the network using SMB 3.0 allowing the SQL instance to remain operational • Good for Hyper-V Cluster Storage but consider performance hit from redirected IO
  • 10. Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk SMB 3.0 • SMB Multichannel • Multi-network detect • Transparent failover with (transparent) recovery • Network bandwidth aggregation • SMB Direct (SMB over RDMA) • Lower CPU consumption (CPU offloading) –no context switching • Low latency (client & server) • High bandwidth utilization • Reads and writes directly against memory of remote storage node • Currently supports Infiniband, Internet Wide Area RDMA (iWARP) and RDMA over Converged Ethernet (RoCE)
  • 11. Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk SMB 3.0 File Shares • SMB 3.0 supported by Hyper-V Windows 2012/R2 & SQL 2012/2014 • Not assigned to the Cluster • Cannot be added to Cluster Shared Volumes • Very easy to configure and consume • Low cost connectivity Failover Cluster File Server
  • 12. Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk Scale-Out File Server Cluster Failover Cluster HDD 3TB HDD 3TB HDD 3TB HDD 3TB HDD 3TB HDD 3TB HDD 3TB HDD 3TB HDD 3TB HDD 3TB HDD 3TB HDD 3TB SSD 600GB HDD 3TB HDD 3TB HDD 3TB RDMA Cards HBA Storage Adapters JBOD Array SMB Multichannel SMB Direct RDMA Continuous Availability File Share Cluster Shared Volumes Multipath IO Storage Spaces Failover Clustering Scale-Out File Server Infiniband Switches
  • 13. Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk Scale-Out File Server setup • Build Windows Cluster • Create Storage Pool of disks from storage enclosure/s • Create Virtual Disk in Storage Pool • Add Disk to Cluster Shared Volumes • Add Scale-Out File Server Role • Complete create File Share in File Server Role (in the CSV namespace)
  • 14. Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk Why Hyper-V? • Up to 64 Virtual CPUs • Hyper-V Storage NUMU I/O (good for intensive IO workloads such as SQL) • VHDX disk format (from Windows 2012) • 64TB Disks • Power failure corruption protection (through logging updates) • Storage reclamation through TRIM command support • Storage QoS and Hyper-V IO Balancing*1 *1 IO Balancer currently only supports host-side storage (i.e. non-shared)
  • 15. Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk Hyper-V Benefits • Replication • Exports • Live Storage Migration • Live Migration • Quick Migration • Checkpoints (snapshots) • QoS on disks, Bandwidth, CPU etc • Fast Boot • Azure portability *1 *1 Generation 2 Machines not compatible (although ASR can support)
  • 16. Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk Hyper-V Clustering • Uses Windows Clustering (surprise surprise!) • Each Hyper-V server is a cluster node • Can therefore host Clustered Roles (Clustered Virtual Machine) • Still act as a standalone Hypervisor • Perform very fast live migration (secs) or quick migration • Hyper-V Server is FREE. • But virtualization rights aren’t! • Consider Datacenter SKU
  • 17. Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk PhysicalInfrastructure Guest Clustering across Hyper-V hosts • Shared Nothing Storage for Guest Virtual Disks • Windows Cluster is created across guests • Physical fabric provides services • Virtualization benefits and SQL Instance protection across multiple VMs/ Hypervisors • Hypervisor level HA benefits (e.g. “Shared Nothing Live Migration” in Hyper-V GuestCluster SAN, Network and Storage Fabric Hypervisors Guests
  • 18. Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk Guest Clustering on a Hyper-V Cluster • Can be thought of as a “Cluster on a Cluster”. Clustered Virtual Machines as deployed as roles in the cluster • The SQL/ SSAS Failover Clustered Instance can failover to each VM in the Guest Cluster • The Guest VM can benefit from live fast migration failover to new Hyper- V host without downtime to SQL FCI! – Otherwise known as a Clustered Live Migration” in Hyper-V PhysicalInfrastructureGuestCluster SAN, Network and Storage Fabric Hypervisors Guests Hyper-V Cluster SQL Server Cluster
  • 19. Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk NetFT • Virtual adapter running over top of NICs • Can provide transparent network failover if one NIC fails • Autoconfiguring and hands free • Provides performance filter • Disabled by default • Do not turn on for Hyper-V Cluster nodes (otherwise enable)
  • 20. Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk In Summary… • Failover Clustering and all its complexities is not getting easier but it is getting more robust and richer. • When combined with other MS Technologies such as Hyper-V and Scalable File Server, SQL Failover Clustering provides *the* definitive HA solution. • Choose wisely which Cluster storage you use for Hyper-V and SQL -should you use SMB 3.0 File Share/s from SO-FS OR CSV? • Layering technologies can exacerbate the confusion!
  • 21. Copyright © 2014, SQLCloud Limited. Please do not redistribute, republish in whole or in part without prior permission of content owner. www.sqlcloud.co.uk Thank you for listening! Email: mark.broadbent@sqlcambs.org.uk Twitter: retracement Blog: http://tenbulls.co.uk