configuration management on windows server
Download
Skip this Video
Download Presentation
Configuration Management on Windows Server

Loading in 2 Seconds...

play fullscreen
1 / 18

Configuration Management on Windows Server - PowerPoint PPT Presentation


  • 106 Views
  • Uploaded on

Configuration Management on Windows Server. Desired State Configuration. Declarative Configuration Management. Provisioning Verification Iterative Development. Desired State Configuration. Platform Feature – Not a product API over Open Standards So why do you need to know this stuff?

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Configuration Management on Windows Server' - brie


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
declarative configuration management
Declarative Configuration Management
  • Provisioning
  • Verification
  • Iterative Development
desired state configuration
Desired State Configuration
  • Platform Feature – Not a product
  • API over Open Standards
  • So why do you need to know this stuff?
    • DSC can run standalone
    • Be able to build composite configurations
    • Be able to build custom resources
desired state configuration1
Desired State Configuration
  • Local Configuration Manager
  • Configurations
  • Resources
local configuration manager
Local Configuration Manager
  • AllowModuleOverwrite
  • CertificateID
  • ConfigurationID
  • ConfigurationMode
  • ConfigurationModeFrequencyMins
  • Credential
  • DownloadManagerCustomData
  • DownloadManagerName
  • RebootNodeIfNeeded
  • RefreshFrequencyMins
  • RefreshMode
configurations
Configurations
  • Declarative-ish
  • New keywords – configuration and node
  • Dynamic keywords (from resources)
  • Plus all the richness of PowerShell when you need it
lab details
Lab details
  • User – localhost\administrator
  • Password – Cascadia!
  • Wireless network – DoinDSC
  • Wireless password – Cascadia2014
  • Available machines
    • 172.18.20.12
    • 172.18.20.13
    • 172.18.20.14
    • 172.18.20.15
    • 172.18.20.16
    • 172.18.20.17
configurations1
Configurations

Configuration MyLocalConfig

{

Node localhost

{

File SomeConfigFile {…}

}

}

configurations2
Configurations
  • Separate your environment from your data
  • How?
    • With ConfigurationData
composite configurations
Composite Configurations
  • Configurations can use other configurations like resources.
  • Configurations are just like functions... They can have parameters.
  • Composite configurations are a way to logically group resources.
applying configurations
Applying Configurations
  • Send-DscConfiguration
troubleshooting configurations
Troubleshooting Configurations
  • cDscDiagnostics module
resources
Resources
  • WMI - based
  • PowerShell - based
resources1
Resources
  • WMI - Three methods
    • GetTargetResource
    • SetTargetResource
    • TestTargetResource
resources2
Resources
  • Powershell-based resources
  • They reside in a module under a subfolder DscResources
  • They are modules themselves with three functions
    • Get-TargetResource
    • Set-TargetResource
    • Test-TargetResource
resources3
Resources
  • Resources reside in modules on PSModulePath
  • Defaults are
    • $pshome/modules
    • $env:programfiles/windowspowershell/modules
other stuff
Other Stuff
  • Pull Server
    • SMB vs REST
    • Workflow
    • Source Control
docs and resources
Docs and Resources
  • Github.com/powershellorg/ebooks
  • Blogs.msdn.com/b/powershell
  • Github.com/powershellorg/dsc
  • Version Control By Example – ebook by Eric Sink
ad