- Learning PowerShell DSC(Second Edition)
- James Pogran
- 320字
- 2021-07-02 18:31:24
The push management model
DSC offers a push-based approach that is controlled by a user workstation initiating an execution on agents on target nodes, but there isn't a central server orchestrating things. Push management is very much an interactive process, where the user directly initiates and executes a specified configuration.
The following diagram shows the Push Deployment model:

This diagram shows the steps to perform a Push Deployment. The next section discusses the DSC workflow, where these steps will be covered, but for now, we see that a push deployment is comprised of three steps:
- Authoring a configuration file
- Compiling the file to an MOF file
- Executing the MOF on the target node
DSC operates in a push scenario when configurations are manually pushed to target nodes using the Start-DscConfiguration cmdlet. It can be executed interactively, where the configuration is executed and the status is reported back to the user as it is running. It can also be initiated in a fire and forget manner as a job on the target node, where the configuration will be executed without reporting the status back to the user directly, but is logged to the DSC event log instead.
Pushing configurations allows a great deal of flexibility. It's the primary way you will test your configurations. Run interactively with the Verbose and Wait parameter; the Start-DscConfiguration cmdlet shows you a log of every step taken by the LCM, the DSC resources it executes, and the entire DSC configuration run. A push-based approach also gives you an absolute time when the target node will have a configuration applied instead of waiting on a schedule. This is useful in server environments when servers are set up once and stay around for a long time.
This is the easiest to set up and the most flexible of the two DSC methods but is the hardest to maintain in large quantities and over the long term.
- UI設(shè)計(jì)基礎(chǔ)培訓(xùn)教程
- C#高級編程(第10版) C# 6 & .NET Core 1.0 (.NET開發(fā)經(jīng)典名著)
- .NET之美:.NET關(guān)鍵技術(shù)深入解析
- Mastering Adobe Captivate 2017(Fourth Edition)
- Visual Basic編程:從基礎(chǔ)到實(shí)踐(第2版)
- Python測試開發(fā)入門與實(shí)踐
- Learning AndEngine
- Visualforce Developer’s guide
- HTML+CSS+JavaScript網(wǎng)頁設(shè)計(jì)從入門到精通 (清華社"視頻大講堂"大系·網(wǎng)絡(luò)開發(fā)視頻大講堂)
- HTML5+CSS3+JavaScript 從入門到項(xiàng)目實(shí)踐(超值版)
- Vue.js 3應(yīng)用開發(fā)與核心源碼解析
- Microsoft Dynamics GP 2013 Cookbook
- Flink原理深入與編程實(shí)戰(zhàn):Scala+Java(微課視頻版)
- 快速搞定Spring Boot+Vue全棧開發(fā)
- Python for Secret Agents