withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker...

Preview:

Citation preview

Configure High Availability

without PACEMAKER

onLinux

Edwin M Sarmientohttps://LearnSQLServerHADR.comedwin@EdwinMSarmiento.com@EdwinMSarmientohttp://ca.linkedin.com/in/EdwinMSarmiento

Microsoft MVP/Microsoft Certified Master: SQL Server

in

POLL QUESTION#1

POLL QUESTION#2

1you have an understanding of how Windows Server Failover Clustering

WORKS

ASSUMPTIONS

2you have an understanding of how SQL Server Always On

(Availability Groups or Failover Clustered Instances)

WORKS

ASSUMPTIONS

the second-largestdiscount store retailer in the United States

just because SOMETHING WORKS

IT ALWAYS WILLdoesn’t mean

same COMPANY

COUNTRYdifferent

just because you know Windows HA

Linux HA will be easydoesn’t mean

same SQL Server

Operating Systemdifferent

*you can apply the same principles

SQL Serverhigh availability

log data

windows high availability

Windows Server Failover Cluster

SQL Server

2-node clustert r a d i t i o n a l

log data*Availability Groups

data data

2-node clustert r a d i t i o n a l

windows high availability

SQL Server

Windows Server Failover Cluster

SQL Server

log data*Availability Groups

data data

2-node clustert r a d i t i o n a l

windows high availability

SQL Server

Windows Server Failover Cluster

SQL Server

cluster resource manager

(CRM)

cluster resource manager

(CRM)

SOFTWARE that runs on all of the nodes in the cluster responsible for maintaining a

consistent image of the cluster

cluster resource manager

(CRM)

the GOAL is to provide high availability and fault tolerance to resources running on top of the cluster

Cluster ServiceClusSvc.exe

Database Manager Failover Manager

Node Manager

Resource MonitorsR H S . e xe

Global Update Manager

Checkpoint Manager Membership Manager Resource Control Manager

Registry

File System

C l u s t e r A P I

M a n a g e m e n t To o l sP o w e r S h e l l , M M C , W M I

Resource DLL

Cluster-awareapplication

Resource DLL

Clusterr e s o u r c e

WSFC Nodes

POLL QUESTION#3

POLL QUESTION#4

SQL Serverhigh availability Linux

log data*Availability Groups

data data

2-node clustert r a d i t i o n a l

SQL Server SQL Server

linux high availability

Pacemaker

cibCluster Information Base

PEnginePolicy Engine

STONITHd

CRMdCluster Resource Management Daemon

Resource Agents

Clusterr e s o u r c e

Cluster Nodes

Pacemaker

linux high availability

ccmConsensus Cluster Membership

heartbeatLRMdLocal Resource

Manager Daemon

Corosync

Linux

Linuxvs

F a i l o v e r C l u s t e r i n g Pacemaker

SQL Serverhigh availability

LinuxvsF a i l o v e r C l u s t e r i n gPacemake

r

COMMUNICATION

2-way 1-wayin Windows, WSFC talks to SQL Server and vice versa

in Linux, only Pacemaker can talk to SQL Server

LinuxvsF a i l o v e r C l u s t e r i n gPacemake

r

COUPLING

tight loosein Windows, changes made in SQL Server is propagated to the

WSFC and vice versain Linux, Pacemaker does not see changes made in SQL Server

LinuxvsF a i l o v e r C l u s t e r i n gPacemake

r

WINDOWS INTEGRATION

tight loosein Windows, you can use Windows authentication to configure AG

in Linux, you can only use certificates to configure AG

DEMO configure high availability for

SQL Server on Linux w i t h P a c e m a k e r

THERE IS ABETTERWAY

IS A

configure high availability for

SQL Server on Linux w i t h o u t P a c e m a k e r

DxEnterprise

• 3rd party cluster manager• run in production environments since 2011• FEATURES • “clustered instances” and Availability Groups• supports SQL Server instances 2005+• supports any Docker Container• runs on Windows and Linux• easy setup and administration

DH2i’s DxEnterprise

DEMO configure high availability for

SQL Server on Linux without PacemakerDxEnterprise

create cluster across RHEL, Ubuntu, and Windows

manage an Availability Group & test automated HA

demo “FCI” and Docker management

tourconsolidated SQL Server cluster on Windows

Get in touchinfo@dh2i.com

DxEnterprise FREE trialhttp://dh2i.com/trial

Learn more http://dh2i.com

DH2i softwarewant to learn more about

FREE TRIAL

Edwin M Sarmiento

http://www.EdwinMSarmiento.comEdwin@EdwinMSarmiento.com@EdwinMSarmientohttp://ca.linkedin.com/in/EdwinMSarmiento

Microsoft MVP/Microsoft Certified Master: SQL Server

in

QUESTIONS