Desired State Configuration is the new configuration management platform built into Windows OS and is now available for Linux and Unix as an Open Source framework. This session at PowerShell Bangalore User Group demonstrated how DSC can be used to manage heterogeneous systems in a Data Center.
3. DSC PRIMER
• Address challenges in
– Continuous Delivery and Integration
– Configuration Management
• Management Platform
– Available for Windows and Linux/Unix
• Provides
– Language Extensions
– Resources
– PowerShell Cmdlets
• Declarative Style (DSL)
• Push and Pull configuration delivery
5. DSC PRIMER
• Configuration Management as an API
• Write your own tools to
– Author
– Stage
– Push
– Monitor
• Or use 3rd-party tools such as ScriptRock
GaurdRail and so on!
7. DSC PRIMER
• DSC logs provide insight into
configuration changes and issues
• Windows: Event Logs
– Applications and Services
Logs/Microsoft/Windows/Desired State
Configuration
• Linux: /opt/omi-1.0.8/var/log
9. DSC PRIMER
• Custom resource authoring is easy!
– Heard of Modules?
• For Windows OS
– Script Modules
– Binary Modules in C#
– MI Provider (native code)
• For Linux OS
– MI Provider