PowerShell-dbachecks

Slides:



Advertisements
Ähnliche Präsentationen
Question words and word order
Advertisements

Verbs Used Impersonally With Dative Deutsch I/II Fr. Spampinato.
1000 Km bis zum Meer. “1000 Km to the sea” Luxuslärm
Durch die Nacht “through the night” Silbermond
Get the best grade you can in GCSE German speaking Anglia Ruskin University Tuesday 22 January 2013.
You need to use your mouse to see this presentation © Heidi Behrens.
Montag den 16.Dezember Lernziel: To begin stage 2 of preparation for speaking assessment.
ROLE-PLAY FOUNDATION You are talking about your house (you start) For help with the vocab, click herehere Say that you have your own room Nein, ich habe.
You need to use your mouse to see this presentation © Heidi Behrens.
Der formelle Imperativ – the Imperative
Konjunktiv II mit modal Verben Subjunctive mood with modals
Models In der Vergangenhe it. Modals in der Vergangenheit The modal verbs are super EASY to use in the past tense. Let’s name them first in the present.
Lust auf Lesen Treffpunkt Deutsch Sixth Edition. Relative Pronoun object of a preposition Recall from chapter 9 that relative clauses describe people,
Connect Four Print out a copy of the game board on the next slide and try to get four in a row: across, down or diagonally by answering the German questions.
Literary Machines, zusammengestellt für ::COLLABOR:: von H. Mittendorfer Literary MACHINES 1980 bis 1987, by Theodor Holm NELSON ISBN
Arbeiten in einem agilen Team mit VS & TFS 11
E STUNDE Deutsch AP. Donnerstag, der 9. Mai 2013 Deutsch AP (E Stunde)Heute ist ein G Tag Goal: to understand authentic written text, audio material and.
What is a “CASE”? in English: pronouns, certain interrogatives
You need to use your mouse to see this presentation.
Ordering Food A Guide. Im Restaurant An actual restaurant is the chance to use more formal ordering. “Ich hätte gern eine Pizza.” “Ich möchte eine Cola.”
Asking someone out in German.
The Journey to America… The Immigrant Experience.
E STUNDE Deutsch AP. Donnerstag, der 2. Mai 2013 Deutsch AP (E Stunde)Heute ist ein B Tag Goal: to understand authentic written text, audio material and.
Gregor Graf Oracle Portal (Part of the Oracle Application Server 9i) Gregor Graf (2001,2002)
Kapitel 4 Grammar INDEX 1.Ordinal Numbers 2.Relative Pronouns and Relative Clauses 3.Conditional Sentences 4.Posessive: Genitive Case.
You need to use your mouse to see this presentation © Heidi Behrens.
EUROPÄISCHE GEMEINSCHAFT Europäischer Sozialfonds EUROPÄISCHE GEMEINSCHAFT Europäischer Fonds für Regionale Entwicklung Workpackage 5 – guidelines Tasks.
FRAU SNELL Wie ist das Datum heute? _______________________________________________.
Imperfekt (Simple Past) Irregular or strong verbs
Kapitel 2 Grammar INDEX 1.Subjects & Verbs 2.Conjugation of Verbs 3.Subject Verb Agreement 4.Person and Number 5.Present Tense 6.Word Order: Position of.
Kapitel 3 Grammar INDEX 1.Modal Verbs: Möchten 2.3 rd Person Pronoun.
Here‘s what we‘ll do... Talk to the person sitting in front of you. Introduce each other, and ask each other questions concerning the information on your.
EUROPÄISCHE GEMEINSCHAFT Europäischer Sozialfonds EUROPÄISCHE GEMEINSCHAFT Europäischer Fonds für Regionale Entwicklung Workpackage 5 – guidelines Tasks.
VERBEN KONJUGIEREN. What is a verb? An ________ _______, mental __________ or ________.  Examples of verbs:  __________________________ actionword state.
What’s the odd one out and why? TeeBananenBier Orangensaft WasserMilsch KaffeeFisch PizzaSalatSchokoladeSandwich SchokoladeOrangenZitronenApfel PizzaFischOrangeChips.
Seminararbeit Release Management von Web-Systemen Minh Tran Lehrstuhl für Software Engineering RWTH Aachen
On the case of German has 4 cases NOMINATIVE ACCUSATIVE GENITIVE DATIVE.
€100 €400 €300€200€400 €200€100€100€400 €200€200€500 €500€300 €200€500 €100€300€100€300 €500€300€400€400€500 KlamottenwollensollenRandom vocab. Pronomen.
Indico Meeting Dennis Klein 4. August Übersicht  Korrespondenz CERN  Trouble Ticket Queue  Integration GSI-Accounts  Subversion & Wiki  Todo.
Essay structure Example: Die fetten Jahre sind vorbei: Was passiert auf der Almhütte? Welche Bedeutung hat sie für jede der vier Personen? Intro: One or.
My great friends let this not come to you as Meine großen Freunde, lasst dies nicht zu uns kommen, als.
Fitness. An english presentation.
Was hast du gemacht? Objektiv; To use the perfect tense
Thema: Umwelt: Was könnte man tun, um der Umwelt zu helfen?
Workshop 1 Getting Started 2016 Boris Wylutzki
FREE ICONS POWERPOINT TEMPLATE.
Premiere Conferencing GmbH
What can I offer you as an Ayurveda Consultant?
Du bist am dicksten und am dümmsten.
The Umlaut “Ö” in German: Exercises
Grundlagen Englisch Passive voice HFW Bern.
Connect Four Print out a copy of the game board on the next slide and try to get four in a row: across, down or diagonally by answering the German questions.
Englisch Grundlagen, Modal Verbs
Kapitel 5 INDEX Possessive Adjectives Grammar.
Get your Project started
You need to use your mouse to see this presentation
“wish” “as if” “if only it were so”
THE PERFECT TENSE IN GERMAN
THE PAST TENSE (Part 3) VERBS WHICH TAKE SEIN
eSciDoc als Plattform für die Wissenschaft Anwendungen und Szenarien
Impact of Digitalization for Engineers and Engineering Education
Wie viel Uhr ist es? Telling Time.
Was ist die Verbindung hier?
If you feel that the resources that I have created have helped you save time and/or money, please consider supporting the work that I do by doing your.
THE PAST TENSE (Part 3) VERBS WHICH TAKE SEIN
Explanations and Classwork Practice
The Perfect Tense.
- moodle – a internet based learning platform
Ich will ihn kennenlernen. He likes to read (do not use MODAL)
 Präsentation transkript:

PowerShell-dbachecks Chrissy LeMaire @cl netnerds.com Cláudio Silva @ClaudioESSilva claudioessilva.EU Rob Sewell @sqldbawithbeard sqldbawithABeard.com Zuverlässige, reproduzierbare, konfigurierbare und automatisierte Validierung mit PowerShell-dbachecks Reliable, Repeatable, Configurable & Automated Validation with PowerShell dbachecks

Vielen Dank William fuer die Uebersetzung unserer Praesentation  Die anderen wussten von nichts. Ich haette alles schreiben koennen  Thank you William They don’t know I could have written anything here 

Check Listen Foto von Glenn Carstens-Peters Auf Unsplash All good DBAs have check lists for all sorts of things Is my HADR set up correctly What are my defaults New Instances Etc etc etc Check Listen Foto von Glenn Carstens-Peters Auf Unsplash

Was ist Pester? Test Runner für PowerShell Ein Komponententest Framework Ein Infrastruktur Test Framework https://github.com/Pester Test Runner for PowerShell A Unit Testing Framework An Infrastructure Testing Framework https://www.youtube.com/watch?v=lNCR5yLSwi0 -- Test your Powershell with Pester and PSScriptAnalyzer “Untested Code is Broken Code” Infrastructure Testing with Pester - https://www.youtube.com/watch?v=zSEK74_fsLw Pester is a unit-testing framework for PowerShell, and perhaps the first open-source software product that ships with Windows itself! Author Adam Bertram will walk you through the Pester philosophy, syntax, and numerous real-world examples in this "Agile-published" book. The Pester Book https://leanpub.com/creatinghtmlreportsinwindowspowershell https://leanpub.com/powershell-scripting-toolmaking https://leanpub.com/pesterbook

Belästigen Das Schreiben von Pester Tests für eine SQL-Instanz ist einfach Das Schreiben von leicht unterschiedlichen Pester Tests für leicht unterschiedliche Instanzen ist kopieren und Einfügen Es ist möglich, Pester-Tests zu parametrisieren (aber nicht so einfach zu sagen!) Writing Pester Tests for one SQL instance is easy Writing slightly different Pester Tests for slightly different instances is copy and paste It is possible to parameterize Pester tests (but not so easy to say!)

Herausforderungen und Ziele Challenges & Goals

Hauptherausforderung-Konfiguration Wir wollten in der Lage sein, eine SQL-Umgebung wie Produktion, UAT, dev zu überprüfen- Horizontale Wir wollten in der Lage sein, alle zu überprüfen SQL-Umgebungen für eine ganze Anwendung – Vertikale Wir wollten in der Lage sein, die SQL-Estate für eine Lösung oder ein System zu überprüfen- Block We wanted to be able to check a SQL environment like Production, UAT, DEV – horizontal We wanted to be able to check all the SQL Environments for a whole application – vertical We wanted to be able to check the SQL estate for a solution or system – block

Herausforderung-Output DBAs benötigen möglicherweise sofort eine Ausgabe Challenge - Output DBAs may need output instantly

Herausforderung-Output DBAs möchten möglicherweise automatisieren und in andere Lösungen integrieren (DevOps, tägliche Überprüfungen, Vorfall Antwort, Wartungsfenster) Challenge - Output DBAs may want to automate and integrate with other solutions (DevOps, Daily Checks, Incident Response, Maintenance Windows)

Herausforderung-Output Management wollen Output Sie verstehen Challenge – Output Management want output they understand – (and with pretty interactive pictures !) – (und mit hübschen interaktiven Bildern!)

Unser Ziel Erstellen Sie wiederverwendare, leicht konfigurierbare Pester Tests mit Best-Practice Checklisten Ermöglichen Sie die Ausgabe, um die Anforderungen der unterschiedlichen Arten der Endbenutzer zu entsprechen Mensch und Maschine Fähigkeit, Antwort/Lösung zu liefern? Our Goal Create redistributable, easily configurable Pester tests using industry leaders checklists Enable output to suit the requirements of different types of end users human and machine Capability to provide response/resolution ?

dbachecks dbachecks ist ein Framework, das von und für SQL Server-Profis erstellt wurde, die ihre Umgebungen validieren müssen. Dieses Open-Source-Modul ermöglicht es uns, unsere Checklisten mit Pester Tests. dbachecks is a framework created by and for SQL Server pros who need to validate their environments. This open source module allows us to crowdsource our checklists using Pester tests.

System Voraussetzungen Empfohlen Minimale Client PowerShell v4 Module dbatools Belästigen (Pester!) PSFramework Client PowerShell v 5.1 Server Alles dbatools unterstützt Von sql2000 zu SQL vNext erhielten

Installation ist einfach PowerShell-Galerie Install-Module dbachecks Install-Module dbachecks –Scope Currentuser Install is easy * Automatically installs required modules * Installiert automatisch alle erforderliche Module

Get-DbcCheck -Welche Prüfungen sind verfügbar? Get-DbcCheck - What Checks Are Available?

Get-DbcConfig -Welche Konfigurationsmöglichkeiten gibt es? Get-DbcConfig - What Configs Are Available?

Invoke-DbcCheck – Führen Sie einen Check aus Invoke-DbcCheck – Run A Check

Set-DbcConfig – Config a Check > # Set the instances to check > Set-DbcConfig -Name app.sqlinstance Rob-XPS > Invoke-DbcCheck -Check OlaInstalled > Set-DbcConfig -Name policy.ola.database -Value DBA-Admin Set-DbcConfig – Config a Check

Export-DbcConfig Import-DbcConfig Export-DbcConfig –Path C:\Users\Beard\git\PesterConfigs\Application1_PROD.json Export-DbcConfig -Path C:\Users\Hair\git\PesterConfigs\Client1_System2_Quick.json Import-DbcConfig -Path Git:\PesterConfigs\Application1_PROD.json Invoke-DbcCheck Import-DbcConfig -Path Git:\PesterConfigs\Client1_System2_Quick.json

Start-DbcPowerBi Import-DbcConfig –path Git:\PesterConfigs\App1_Dev.json Invoke-DbcCheck -Show Summary -PassThru | Update-DbcPowerBiDataSource –Environment Development Import-DbcConfig –path Git:\PesterConfigs\App1_Test.json Invoke-DbcCheck -Show Summary -PassThru | Update-DbcPowerBiDataSource –Environment Test Import-DbcConfig –path Git:\PesterConfigs\App1_PROD.json Invoke-DbcCheck -Show Summary -PassThru | Update-DbcPowerBiDataSource –Environment Production Start-DbcPowerbi

Start-DbcPowerBi

Es wird zeit für eine Demo MUST BE TIME FOR A DEMO

Fragen? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Questions???????