Für was, wen, wann und überhaupt? DEVOP PART IV: DSC – DESIRED STATE CONFIGURATION.

Slides:



Advertisements
Ähnliche Präsentationen
.NET Users Group Karlsruhe Worum gehts? Goodby cmd.exe (ok ok, sie bleibt noch ein bisschen) Die Eingabeaufforderung erhält endlich einen.
Advertisements

Starter – Match up – Write the German AND English
Modal Verbs Pläne machen
Automatische Etikettierung in Sprachdatenbanken Tina John.
RDF R ESOURCE D ESCRIPTION F RAMEWORK Referentin: Claudia Langer.
Oracle WebServer - Einführung. © Prof. T. Kudraß, HTWK Leipzig Oracle Web Application Server HTML WebServer ® File system Static HTML PL/SQL Packages.
Web-Anwendungsentwicklung à la MVC. Übersicht Über Georg Heeg Ein industrielles Beispiel Web-Anwendungen aus Smalltalker-Sicht MVC für das Web Programmierdemo.
Was ist neu in VFX 9.5 im 2. Quartal 2006? Uwe Habermann Visual Extend Product Manager
Samba.
Can you think of some KEY phrases which would be useful in multiple contexts? Take 2 minutes with a partner and come up with as many as you can!
Open Services Gateway Initiative
Talking about future plans Expression of time + present tense.
Eine kurze Einführung von Boris Smeisser
| DC-IAP/SVC3 | © Bosch Rexroth Pneumatics GmbH This document, as well as the data, specifications and other information set forth in.
You need to use your mouse to see this presentation © Heidi Behrens.
You need to use your mouse to see this presentation © Heidi Behrens.
Java und Eclipse.
Tools und Verfahren Steffen Krause Technologieberater Microsoft Deutschland GmbH
Arbeitsgruppen-administration
Seminar Internet Technologien
Scripting mit Windows PowerShell
Heute ist Freitag, der 13. September 2013
Microsoft Student Partners
CALPER Publications From Handouts to Pedagogical Materials.
1 Copyright 2005 SCADA SOFT AG WizReport XL Professional Version 6 Produkte Übersicht Peter Schöttli.
Saia Service an PCD's Datensicherung
3rd Review, Vienna, 16th of April 1999 SIT-MOON ESPRIT Project Nr Siemens AG Österreich Robotiker Technische Universität Wien Politecnico di Milano.
Separable Verbs Turn to page R22 in your German One Book R22 is in the back of the book There are examples at the top of the page.
Zero Administration Kit für Microsoft® Windows® Jörg Kramer University Support Center.
Launch ON Global.vi System ID object name classname Services to suscribe Observer Control Ref vi-path Service name Step 1 : Objects register to the Global.vi´s,
Guten Morgen oder Guten Tag, Deutsch II! Dieses Jahr werde ich viel mehr Deutsch sprechen. So, passt auf und hört zu! Ich habe Klassinformation dass ihr.
Der formelle Imperativ – the Imperative
 Every part in a sentence has a grammatical function. Some common functions are: - Subject - Verb - Direct object / accusative object - Indirect object.
Konjunktionen & Indirekte Fragen {Conjunctions}
Lust auf Lesen Treffpunkt Deutsch Sixth Edition. Relative Pronoun object of a preposition Recall from chapter 9 that relative clauses describe people,
Vocab Test #1 1.alone 2.attractive 3.older 4.passport/ID 5.poor 6.arbeitslos 7.altmodisch 8.ausländisch 9.auf die Nerven gehen 10.die Arbeit 1.allein 2.attraktiv.
Jan Rohe Education Support Centre
Ralf M. Schnell Technical Evangelist Microsoft Deutschland GmbH
Ralf M. Schnell Technical Evangelist Microsoft Deutschland GmbH.
1.Hast du ____________________ (my) Telefonnummer (f)?
FTS usage at GridKa Forschungszentrum Karlsruhe GmbH
Webserver einrichten mit Konfiguration, online stellen, Zugang © by Lars Koschinski 2003.
Present and past tense German 2. Basic present tense.
COMMANDS imperative 1. you (formal): Sie 2. you (familiar plural): ihr
1 Konica Minolta IT Solutions Prinzip Partnerschaft MANAGED MONITORING ÜBERWACHJUNG DER SERVERINFRASTRUKTUR UND ANWENDUNGEN DIREKT AUS DER CLOUD.
Gregor Graf Oracle Portal (Part of the Oracle Application Server 9i) Gregor Graf (2001,2002)
EUROPÄISCHE GEMEINSCHAFT Europäischer Sozialfonds EUROPÄISCHE GEMEINSCHAFT Europäischer Fonds für Regionale Entwicklung Workpackage 5 – guidelines Tasks.
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.
Fragen Wo wohnen Chris und Richard? Was bekommt Chris? Woher ist der Brief? Wer arbeitet in Zürich? Wo ist Zürich? Wann fährt ein Zug nach Zürich ab? Wo.
Remoting DEVOP PART II: WINDOWS POWERSHELL. Remoting  Ermöglicht es, alle CMDlets auch per Remote auf einem anderen Server auszuführen  Dafür gibt es.
Arrow ECS Training Get-KnowHow | Select-Object -property 'Essential' Windows PowerShell v5: Die Neuerungen im Überblick Thorsten Butz.
How to Pipelining DEVOP PART I: WINDOWS POWERSHELL.
Was machst du gern?.
Großvater Großmutter Großvater Großmutter Tante/Onkel Vater Mutter.
Lync and Learn mit Manfred Helber Thema heute: Überblick der Leistungserweiterungen von Windows Server 2016 Start: 9.30 Uhr 30 Minuten Vortrag & Demo 30.
IIS The microsoft way. © Windows NT Option pack optionale Server Komponenten IIS (Internet Information Server) Webserver von Microsoft.
B LOCKED DAY 1 OBJECTIVES: To consolidate vocabulary and structures within the theme of DIE UMWELT To further practise the techniques used in the prose.
Folder checken Ratschläge (advice) für zukünftige (future) Schüler, wenn du die das letzte mal nicht gemacht hast (if you did not have time for this last.
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.
LLP DE-COMENIUS-CMP Dieses Projekt wurde mit Unterstützung der Europäischen Kommission finanziert. Die Verantwortung für den Inhalt dieser.
1 Grundstruktur von Linux Manuel Blechschmidt & Volker Grabsch CdE Sommerakademie 2006 Kirchheim.
Your Logo Presentation Title Presentation Subtitle.
© Goethe-Institut London 2017
WS2016: Container von A bis Z
10 Gründe, weshalb ich Powershell hasse
Arrow ECS Training Get-KnowHow | Select-Object -property 'Essential'
„Förderwolke“ A Cloud-based exchange platform for the qualitative enhancement and improvement of inclusive education Dipl. Reha-Päd. Hanna Linke scientific.
OFFICE 365 FOCUS SESSION SHAREPOINT ONLINE 101:LERNE DIE BASICS 19. März 2018 Höhr-Grenzhausen.
- moodle – a internet based learning platform
 Präsentation transkript:

für was, wen, wann und überhaupt? DEVOP PART IV: DSC – DESIRED STATE CONFIGURATION

Dank DSC werden viele Administratoren nicht einmal mehr Powershell lernen müssen…

DSC ist komplett Textfile basierend – jeder kann es lesen, indexieren, anpassen und generieren.

DSC Architektur

Evolution des DevOps Basic Admin Scripter Programmierer

Configuration Scripts Configuration MonitoringSoftware { param( [string[]]$ComputerName="localhost" ) Node $ComputerName { File MonitoringInstallationFiles { Ensure = "Present" SourcePath = "\\dc01\Software\Monitoring" DestinationPath = "C:\Temp\Monitoring" Type = "Directory" Recurse = $true } MonitoringSoftware

Configuration Examples…

Registry Registry RegistryExample { Ensure = "Present" # You can also set Ensure to "Absent" Key = "HKEY_LOCAL_MACHINE\SOFTWARE\ExampleKey" ValueName ="TestValue" ValueData ="TestData" }

Package Resource Package PackageExample { Ensure = "Present" # You can also set Ensure to "Absent" Path = "$Env:SystemDrive\TestFolder\TestProject.msi" Name = "TestPackage" ProductId = "663A E0-4C48-898B-53D73CA2C14B" }

Umgebungsvariablen Environment EnvironmentExample { Ensure = "Present" # You can also set Ensure to "Absent" Name = "TestEnvironmentVariable" Value = "TestValue" }

Archiv Ressource Archive ArchiveExample { Ensure = "Present" Path = "C:\Users\Public\Documents\Test.zip" Destination = "C:\Users\Public\Documents\ExtractionPath" }

Windows Feature WindowsFeature IIS { Ensure = "Present" # To uninstall, set Ensure to "Absent" Name = "Web-Server“ # Name property from Get-WindowsFeature }

Gruppen Group GroupExample { # This will remove TestGroup, if present # To create a new group, set Ensure to "Present" Ensure = "Absent" GroupName = "TestGroup" }

Dienste Service ServiceExample { Name = "TermService" StartupType = "Manual" }

Script Ressource Script ScriptExample { SetScript = { $sw = New-Object System.IO.StreamWriter("C:\TempFolder\TestFile.txt") $sw.WriteLine("Some sample string") $sw.Close() } TestScript = { Test-Path "C:\TempFolder\TestFile.txt" } GetScript = { } }

Fehlt noch was…? Programmierer Scripter Basic Admin

DSC Resource Design

Resource Prototype

…da gibts noch was…  Riesige Sammlung von Ressourcen von Microsoft: 

Fehlt ein CMDlet…? Programmierer Scripter Basic Admin

Abgrenzung zu GPO’s?  Über Domänengrenzen hinweg anwendbar  Erweiterbarkeit durch eigene PS-Scripts  Standardisiertes Format

DSC vs. GPO FeatureGroup PolicyDSC Configuration stored inGPO fileConfiguration script / MOF file Target nodes by means ofAD links to OUs, sites, etc.Configuration specifies node names Configuration implemented byClient-side OS componentsClient-side shell scripts (resources) Extensible by means ofComplex native programmingWindows PowerShell scripts Primary configuration targetWindows registry Anything Windows PowerShell can “touch” PersistenceSettings reapply each timeSettings are persistent Number of configurations per nodeAs many GPOs as you want to linkOne

Was passiert, wenn GPOs und DSC gleichzeitig im Einsatz sind…?

…eine Anleitung… Ich habe die Configurations gemacht – und jetzt?

Jetzt benötigen wir zuerst ein MOF! MOF = Managed Object Format

Weshalb ein MOF?  Generisches File Format  Wird auch von Unix und NW-Komponenten unterstützt  Kann auch durch andere Tools (nicht PS) generiert werden

Wie mache ich ein MOF?  …indem einfach der Name der CONFIGURATION aufgerufen wird…

Wie sieht ein MOF @GenerationDate=11/24/2015 */ instance of MSFT_RoleResource as $MSFT_RoleResource1ref { ResourceID = "[WindowsFeature]IIS"; Ensure = "Present"; SourceInfo = "::7::1::WindowsFeature"; Name = "Web-Server"; ModuleName = "PsDesiredStateConfiguration"; ModuleVersion = "1.0"; ConfigurationName = "ContosoWebsite"; }; instance of OMI_ConfigurationDocument { Version="2.0.0"; MinimumCompatibleVersion = "1.0.0"; CompatibleVersionAdditionalProperties={"Omi_BaseResource:ConfigurationName"}; Author="Administrator"; GenerationDate="11/24/ :56:05"; GenerationHost="GM15-SRV01"; Name="ContosoWebsite"; }; Configuration ContosoWebsite { Node GM15-SRV07 { WindowsFeature BasicWebServerComponents { Ensure = "Present" Name = "Web-Server" } CONFIGURATIONMOF

Wie kommt das MOF nun auf die Rechner?

PUSH oder PULL?

PUSH  Zentral auf die Rechner verteilen:  Start-DSCConfiguration –path.\ContosoWebsite –computername GM15-SRV07

PULL  Praktikabler in produktiven Umgebungen  Über…:  HTTP/HTTPS (!!!)  SMB

It’s all about…

DEMO: DSC