Multiple instances of configuration in DSC

Welcome Forums DSC (Desired State Configuration) Multiple instances of configuration in DSC

This topic contains 1 reply, has 2 voices, and was last updated by

 
Keymaster
9 months, 1 week ago.

  • Author
    Posts
  • #91310

    Participant
    Points: 0
    Rank: Member

    Hi,

    I was wondering if the following scenario is supported:

    We currently run multiple instances of the same applications on our servers. We've created a DSC configuration that specifies what our application needs so we can quicly set up an environment. Is it possible to compile this configuration multiple times with different parameters and push it to the target nodes?

    Many thanks in advance

  • #91366

    Keymaster
    Points: 1,524
    Helping HandTeam Member
    Rank: Community Hero

    Sure. You'd normally use a configuration data block to provide the per-node information, and when you run the configuration it generates a MOF per node. Well-covered in "The DSC Book" on Leanpub, if you're interested.

The topic ‘Multiple instances of configuration in DSC’ is closed to new replies.