withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker...
Transcript of withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker...
![Page 1: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/1.jpg)
Configure High Availability
without PACEMAKER
onLinux
![Page 2: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/2.jpg)
Edwin M Sarmientohttps://[email protected]@EdwinMSarmientohttp://ca.linkedin.com/in/EdwinMSarmiento
Microsoft MVP/Microsoft Certified Master: SQL Server
in
![Page 3: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/3.jpg)
POLL QUESTION#1
![Page 4: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/4.jpg)
POLL QUESTION#2
![Page 5: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/5.jpg)
1you have an understanding of how Windows Server Failover Clustering
WORKS
ASSUMPTIONS
![Page 6: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/6.jpg)
2you have an understanding of how SQL Server Always On
(Availability Groups or Failover Clustered Instances)
WORKS
ASSUMPTIONS
![Page 7: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/7.jpg)
the second-largestdiscount store retailer in the United States
![Page 8: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/8.jpg)
![Page 9: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/9.jpg)
just because SOMETHING WORKS
IT ALWAYS WILLdoesn’t mean
![Page 10: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/10.jpg)
same COMPANY
COUNTRYdifferent
![Page 11: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/11.jpg)
![Page 12: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/12.jpg)
just because you know Windows HA
Linux HA will be easydoesn’t mean
![Page 13: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/13.jpg)
same SQL Server
Operating Systemdifferent
*you can apply the same principles
![Page 14: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/14.jpg)
SQL Serverhigh availability
![Page 15: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/15.jpg)
log data
windows high availability
Windows Server Failover Cluster
SQL Server
2-node clustert r a d i t i o n a l
![Page 16: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/16.jpg)
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
![Page 17: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/17.jpg)
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)
![Page 18: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/18.jpg)
cluster resource manager
(CRM)
SOFTWARE that runs on all of the nodes in the cluster responsible for maintaining a
consistent image of the cluster
“
![Page 19: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/19.jpg)
cluster resource manager
(CRM)
the GOAL is to provide high availability and fault tolerance to resources running on top of the cluster
“
![Page 20: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/20.jpg)
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
![Page 21: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/21.jpg)
POLL QUESTION#3
![Page 22: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/22.jpg)
POLL QUESTION#4
![Page 23: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/23.jpg)
SQL Serverhigh availability Linux
![Page 24: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/24.jpg)
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
![Page 25: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/25.jpg)
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
![Page 26: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/26.jpg)
Linuxvs
F a i l o v e r C l u s t e r i n g Pacemaker
SQL Serverhigh availability
![Page 27: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/27.jpg)
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
![Page 28: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/28.jpg)
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
![Page 29: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/29.jpg)
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
![Page 30: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/30.jpg)
DEMO configure high availability for
SQL Server on Linux w i t h P a c e m a k e r
![Page 31: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/31.jpg)
THERE IS ABETTERWAY
IS A
![Page 32: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/32.jpg)
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
![Page 33: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/33.jpg)
• 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
![Page 34: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/34.jpg)
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
![Page 35: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/35.jpg)
Get in [email protected]
DxEnterprise FREE trialhttp://dh2i.com/trial
Learn more http://dh2i.com
DH2i softwarewant to learn more about
FREE TRIAL
![Page 36: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/36.jpg)
![Page 37: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/37.jpg)
![Page 38: withoutPACEMAKERdh2i.com/wp-content/uploads/18-06-06-Edwin-Linux-HA-Slide-Deck.pdf · Pacemaker linuxhigh availability ccm Consensus Cluster Membership LRMd heartbeat Local Resource](https://reader035.fdocuments.in/reader035/viewer/2022062507/5fc02fba5adeb44f7f6032a7/html5/thumbnails/38.jpg)
Edwin M Sarmiento
http://[email protected]@EdwinMSarmientohttp://ca.linkedin.com/in/EdwinMSarmiento
Microsoft MVP/Microsoft Certified Master: SQL Server
in
QUESTIONS