logo

SQL Course

course overview

Click to View dates & book now

Overview

This three-day instructor-led course is designed for database administrators and Windows engineers to familiarize them with the concepts in SQL AlwaysOn and High Availability. The course utilizes SQL 2016, but explains the differences from SQL 2012- SQL 2014.

Company Events

These events can be delivered exclusively for your company at our locations or yours, specifically for your delegates and your needs. The Company Events can be tailored or standard course deliveries.

Audience

Experienced DBAs, Windows Server pros, team leads.

We designed this course based on our experience of having taught hundreds of classes to literally thousands of students. We tried very hard to make the labs, of which there are over 30, very oriented to a single concept such as Adding a Replica or Transferring Logons. We did this because it is common in technical courses to write long labs with multiple exercises which in our opinion is not effective as they turn into “click streams”. We assume the student is new to the technology and that the instructor is knowledgeable in it.

Skills Gained

After completing this course, students will be able to:

  • Understaand AlwasyOn High Availability
  • Employ Server 2016 Failover Clustering
  • Deploy SQL Failover Clusters
  • Work with Availability Groups
  • Perform maintenance
  • Monitor and Troubleshoot Availability Groups

Prerequisites

Before attending this course, students must have:

  • Experience as SQL DBA
  • Experience as Windows IT PRO

Outline

Module 1: IntroductionThis module explains the course and objectives.Lessons

  • Course introduction

After completing this module, students will be able to:

Module 2: ALWAYSON AND HIGH AVAILABILITY CONCEPTS AND TERMINOLOGY This module will introduce the participants to the concepts and terminology used in the course.Lessons

  • Concepts and Terminology
  • Table of Availability
  • High Availability
  • Causes of Downtime
  • Planned downtime
  • Unplanned downtime
  • Disaster Recovery
  • Recovery Time Objective (RTO)
  • Recovery Point Objective (RPO)
  • Recovery Level Objective (RLO)
  • Storage Area Networks (SAN)
  • Edition Changes from SQL 2012
  • SQL Server 2014 Changes
  • SQL Server 2016 Changes
  • Legacy Solutions prior to Always On
  • Failover Cluster Instances
  • Log Shipping
  • A Typical Log Shipping Configuration
  • Monitor Server
  • Replication
  • Database Mirroring
  • Database Mirroring Terminology
  • Principle
  • Mirror
  • Witness (red box in image above)
  • Database Snapshots
  • Limitations of legacy solutions:
  • What do we mean by Always On?
  • Table of Always On Comparison
  • Terminology
  • SQL 2014 Changes
  • SQL2016 Changes
  • Understand the role of the SANS

Module 3: WINDOWS SERVER 2016 FAILOVER CLUSTERING Failover clustering is covered in this module and is a critical feature of AlwaysOn High Availability.Lessons

  • Understanding Failover Clustering in Server 2016
  • Statefull High Availability Solution
  • Supported in both Standard and Datacenter
  • Servers should run similar hardware
  • Should run same edition
  • Hyper-V best with datacenter
  • Certified for Windows server logo
  • Shared Storage
  • Quorums
  • Node Majority
  • Node and Disk Majority configuration:
  • Node and File Share Majority
  • No Majority
  • Configuration
  • Cluster Networks Best Practices
  • Connection to nodes to shared storage
  • Private network for internal cluster
  • Public network for client connections
  • Cluster Aware Updating
  • Virtual Machine Failover Clustering
  • Preferred Owners
  • Failover Failback
  • Resources
  • Dependences
  • Heartbeat

Lab : Set up iSCSI ServerLab : Install the iSCSI VMSLab : Add Servers to Server Manager for Ease of ManagementLab : Add the Windows Cluster Feature to SQL1, SQL2 And SQL3Lab : Create the iSCSI Initators to add the shared storageLab : Create the Windows ClusterLab : Add a Clustered ServiceLab : Test The Failover Of The Windows ServiceLab : Delete RoleLab : Examine the Quorum Settings

  • ISCSI Setup
  • Work with Roles
  • Understand Quorums
  • Understand Windows Failover
  • Understand Cluster Service
  • Understand  Preferred Owners
  • Understand  Node Majority

Module 4: SQL 2016 FAILOVER CLUSTER INSTANCESIn this module we move from the generic failover clustering to the specifics involving SQL.Lessons

  • Failover Cluster Instance
  • As A FCI Appears To A Client

Lab : Create A Configuration File By Running The Advanced Cluster Preparation WizardLab : Complete The SQL Cluster Installation On SQL1Lab : Install The Cluster On SQL2 And SQL3Lab : Test the SQL Cluster

  • Cluster Testing
  • Understand Configuration Files
  • Install Clusters

Module 5: SQL 2016 ALWAYS ON AVAILABILITY GROUPS Within the failover clusters of SQL are the concept of Availability groups and their enhancements with the release of SQL 2016 which is the focus of this module.Lessons

  • Availability Groups and Replicas
  • Primary Replica
  • Secondary Replicas
  • Availability Group Listener
  • Availability Mode
  • Synchronous Commit Mode
  • Asynchronous Commit Mode
  • Failover Modes
  • Automatic Failover Without Data Loss
  • Automatic Failover Requirements:
  • Manual
  • Manual Failover Requirements
  • Common Topologies

Lab : Create a SQL Instance For The Availability GroupLab : Enable the SQL Server AlwaysOn Availability Group FeatureLab : Set Up For Availability GroupsLab : The Availability Group WizardLab : SSMS and Availability Groups

  • Enable AlwaysOn
  • Understand and work with availability Groups

Module 6: The Dasboard Managing AlwaysOn High Availability groups wit SQL 2016 is accomplished with the Dashboard. This module will demonstrate the skills necessary for the accomplishment of the management tasks. Lessons

  • The Dashboard
  • How to view logs
  • Using replication with Logins
  • Using partially contained databases

Lab : The DashboardLab : Replicating Logins and JobsLab : Contained or Partially Contained Databases

  • Understand the Dashboard
  • Perform Logon and Job replication

Module 7: Active Secondary Availability Group Actions Within Availability groups you may have Active secondary SQL which is covered and demonstrated in this module.Lessons

  • Reporting with Secondary Replicas
  • Configuring a Readable secondary
  • Read-Only Routing
  • Load Balancing
  • Lab: Configure a Read-Only Secondary
  • Database Backups with Secondary
  • Steps of Backup Using secondary
  • Backup Preference Options

Lab : Database Backup Using Secondary ReplicaLab : Configure a Read-Only secondary

  • Perform backups with Secondary Replicas
  • Configure a Read-Only Replica

Module 8: MaintenanceIn this module you explore maintenance procedures for AlwaysOn High Availability Groups.Lessons

  • DBCC Checks
  • Database Adding and Removing

Lab : Add a DatabaseLab : Remove a DatabaseLab : Add a ReplicaLab : Remove a Replica

  • Add and Remove Databases
  • Add and Remove Replicas

Module 9: MONITORING AND TROUBLESHOOTING AVAILABILITY GROUPSIn this the final module you will learn how to monitor the clusters and Availability groups and various common troubleshooting procedures.Lessons

  • The Dashboard in Depth
  • Events
  • Policy Based Managemnt for Availability Groups

Lab : Dashboard WizardsLab : Create an Extended Event SessionLab : Using T-SQLLab : Policy based management for Availability GroupsLab : Observe a Policy In ActionLab : Create Three Conditions To Be Used In The RTO And RPO PoliciesLab : Create Two Policies RTO and RPOLab : Test The PoliciesLab : Change Endpoint Owner

  • Migrating Settings by using Windows Easy Transfer
  • Configuring a Reference Image of Windows 7
  • Configuring a Reference Image
  • Change Owners
  • Work with Policies
  • Work with Extended Events

Talk to an expert

Thinking about Onsite?

If you need training for 3 or more people, you should ask us about onsite training. Putting aside the obvious location benefit, content can be customised to better meet your business objectives and more can be covered than in a public classroom. Its a cost effective option. One on one training can be delivered too, at reasonable rates.

Submit an enquiry from any page on this site, and let us know you are interested in the requirements box, or simply mention it when we contact you.

All $ prices are in USD unless it’s a NZ or AU date

SPVC = Self Paced Virtual Class

LVC = Live Virtual Class

Please Note: All courses are availaible as Live Virtual Classes

Trusted by over 1/2 million students in 15 countries

Our clients have included prestigious national organisations such as Oxford University Press, multi-national private corporations such as JP Morgan and HSBC, as well as public sector institutions such as the Department of Defence and the Department of Health.