Dave Walden @DBADaveKC LIVE Linux AG Buildout!.

Slides:



Advertisements
Similar presentations
High Availability through Virtualization
Advertisements

SharePoint Business Continuity Management with SQL Server AlwaysOn
SQL Server Management Studio Introduction
Securing LAMP: Linux, Apache, MySQL and PHP Track 2 Workshop PacNOG 7 July 1, 2010 Pago Pago, American Samoa.
Sharepoint Portal Server Basics. Introduction Sharepoint server belongs to Microsoft family of servers Integrated suite of server capabilities Hosted.
XVII Encontro – 29/11/2011. Virgílio Esteves ID&T – Research & Founder of NetPonto Coimbra C# / WPF / Silverlight / XNA / Azure.
Maintaining a Microsoft SQL Server 2008 Database SQLServer-Training.com.
Introduction to SQL Server 2000 Security Dave Watts CTO, Fig Leaf Software
SQL-Server 2012 Always On.
Maintaining a Mirrored Database Tips and Tricks by Paul G. Hiles.
SQL2005 Cluster Build. IP Request Request 6 IP Addresses – One for EACH SQL virtual server (2) – One for the cluster – One for Distributed Transaction.
1 © 2001, Cisco Systems, Inc. All rights reserved. Session Number Presentation_ID SQL 2005.
The application of DRBD in Linux-HA Haibo Zhang 4/28/2014.
Server Performance, Scaling, Reliability and Configuration Norman White.
BSG Group - Dau Anh Trong1 Introduction about MS SQL Server 2005.
Michael Kelley Linux Monitoring and Management with Microsoft System Center and PowerShell DSC INF334 A.
(ITI310) By Eng. BASSEM ALSAID SESSIONS 10: Internet Information Services (IIS)
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
Introduction to MySQL  Working with MySQL and MySQL Workbench.
Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 19/09/2015David Postlethwaite.
High-Availability MySQL with DR:BD and Heartbeat: MTV Japan mobile services ©2008 MTV Networks Japan K.K.
COMP1321 Digital Infrastructure Richard Henson March 2016.
INFSO-RI Enabling Grids for E-sciencE GOCDB2 Matt Thorpe / Philippa Strange RAL, UK.
FUN WITH AVAILABILITY GROUPS Christopher Wolff SQL Server Database Engineer, Xero.
Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 18/06/2016David Postlethwaite.
MCSA Windows Server 2012 Pass Upgrading Your Skills to MCSA Windows Server 2012 Exam By The Help Of Exams4Sure Get Complete File From
High Availability Low Dollar Clustered Storage
ETRI Site Introduction
SQL Server 2016 features by edition
How to Start SQL Server and SSDT BI in Local
SQL Server on Linux CTP 1.1 Florian
Understanding and Improving Server Performance
Securing SQL Server Processes with Certificates
What’s new in SQL Server 2017 for BI?
System Center Marketing
Securing Data with SQL Server 2016
Glasgow, SQL Server Meetup
Database Corruption Advanced Recovery Techniques|
HP ArcSight ESM 6.8c HA Fail Over Illustrated
Introduction to SQL Server 2000 Security
Bare Metal Server Backup Solution
Deploying and Configuring SSIS Packages
Contained DB? Did it do something wrong?
Automating SQL Server Management
AlwaysOn Availability Groups 101
Getting Started with LANGuardian
Limiting SQL Server Exposure
INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT
High Availability Low Dollar Clustered Storage
Tips for SQL Server Performance and Resiliency
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
Oracle Architecture Overview
What’s new in SQL Server 2016 Availability Groups
Transforming Your Brain with SQL 2017 on Linux
Migrating your SQL Server Instance
SPC2012 – IT-Pro 11/30/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
SQL Server on Linux: High Availability And Disaster Recovery
Limiting SQL Server Exposure
DriveScale Log Collection Method of Procedure
AlwaysOn Availability Groups
MS AZURE By Sauras Pandey.
Backup Monitoring – EMC NetWorker
NAVIGATING THE MINEFIELD
Our awesome sponsors! Please visit the sponsor area in the break and interact with them. They are the reason we can hold this conference free of charge!
Michelle Haarhues Keeping up with SSMS.
Moving your on-prem data warehouse to cloud. What are your options?
Mark Quirk Head of Technology Developer & Platform Group
Distributed Availability Groups Praveen Kumar. What we will cover Availability group refresher The HA/DR solution Distributed availability groups – what.
ZORAN BARAC DATA ARCHITECT at CIN7
Introduction to SQL Server Essential Concepts
Presentation transcript:

Dave Walden @DBADaveKC LIVE Linux AG Buildout!

Thank You Sponsors Platinum Gold Silver Bronze Swag Venue

A few notes… We’re going to do this (mostly) LIVE! Things can (and probably will…) go wrong We’re using relatively new software Things may not (probably won’t…) work right Yes, I am using an unsupported operating system Bugs with Ubuntu, and RHEL/SuSE requires subscriptions to access the HA repos !!!USE SUPPORTED OS’s IN PRODUCTION!!!

In other words… I have done this once before, but: Things can break I rely on internet We may not finish the build Safety Not Guaranteed

The Scenario… We’re a traditional Windows shop, running SQL Server 2016 We’re asked by our new CTO to investigate this “SQL on Linux” thing – we have one hour We’ve had only basic experience with Linux, but are comfortable with tools We have not done this before, so we need help I know, lets use documentation from Microsoft.com!

What we’re going to do: Configure SQL Server on each node Configure Availability Group Install and configure clustering software Add the Availability Group as a resource to the cluster Fail over

How we’re going to do it: Prepare 3 VMs using Hyper-V ✓ Install CentOS 7 ✓ Install prerequisite software ✓ Install SQL Server 2017 Linux Configure a 3-node Availability Group Configure Linux clustering utilities Fail over using native tools (Hopefully…)

Tools we’ll use: CentOS 7 SQL Server 2017 Pacemaker (Cluster Resource Manager) Corosync (Cluster Communication, Quorum) PuTTY/MTPuTTY (Multi-Tab PuTTY) SQL Server Management Studio Web Browser Corosync provides reliable communication between nodes, manages cluster membership and determines quorum. Pacemaker is a cluster resource manager (CRM) that manages the resources that make up the cluster, such as IP addresses, mount points, file systems, DRBD devices, services such as MySQL or Apache and so on. Basically everything that can be monitored, stopped, started and moved around between nodes.

Node Configuration: CentOS 7 “Infrastructure Server” default install Node Names: SQLLinux01-03 IP Addresses: 10.254.254.11 - 13 Cluster Name: SQLLinux; IP 10.254.254.100 SQL Server 2017 Enterprise; latest CU

Enough PowerPoint Already… Let’s Do This!

STONITH Shoot The Other Node In The Head In the case of Heartbeat/Pacemaker HA clusters, there are basically three reasons for one node to STONITH the other: Nodes are alive but unable to communicate with each other (i.e. split-brain). A node is physically dead (kernel panic, HB/Pacemaker not running, no power, motherboard on fire and smoke seeping out of case, etc.) An HA resource failed to stop.

Unsupported Features (as of GA): Database engine Transactional replication   Merge replication Stretch DB Polybase Distributed query with 3rd-party connections System extended stored procedures (XP_CMDSHELL, etc.) Filetable CLR assemblies with the EXTERNAL_ACCESS or UNSAFE permission set Buffer Pool Extension SQL Server Agent Subsystems: CmdExec, PowerShell, Queue Reader, SSIS, SSAS, SSRS Alerts Log Reader Agent Change Data Capture Managed Backup High Availability Database mirroring Security Extensible Key Management AD Authentication for Linked Servers AD Authenticatin for Availibility Groups (AGs) Services SQL Server Browser SQL Server R services StreamInsight Analysis Services Reporting Services Data Quality Services Master Data Services

Questions? dwalden@fortifieddata.com