How to update Pull Server

Welcome Forums DSC (Desired State Configuration) How to update Pull Server

This topic contains 5 replies, has 3 voices, and was last updated by

 
Participant
3 years, 7 months ago.

  • Author
    Posts
  • #24584

    Participant
    Points: 0
    Rank: Member

    I configured one pull server and one client in DSC. I created some File resource to copy files from pull server to client machine. And I created one Registry resource to create some registry(I have lot of configurations like this). This registry is created in node machine.

    How could I create that registry in Pull server? Do I need to create manually or Can I use DSC for this? If I could use DSC , which modal I need to use Pull or Push? It would be fine if you give some code samples.

    I hope we should not change the Pull server LCM to Pull with other LCM configuration like pull node. Should we?

    Thanks in advance.

  • #24588

    Moderator
    Points: 24
    Team Member
    Rank: Member

    Hi Vinoth,

    Sorry I do not understand what you mean with update Pull server. Please attach your configuration script and may be try to rephrase what you are trying to do. Have you read our free ebook on DSC? https://www.penflip.com/powershellorg/the-dsc-book

    Thanks
    Daniel

  • #24598

    Participant
    Points: 0
    Rank: Member

    Hi Daniel,

    Thanks for the response. I think I am not explain the issue well. Here is my scenario.

      1] I configured one pull server and one pull client node.
      2] I have PullNodeConfig.ps1 script with two resources[Registry Resource –Create Registry, Script Resource – Create AppPool]].
      3] When I execute the script one MOF file is generated for pull client node. I rename the MOF file with respect GUID and create one checksum file. I put that in Pull Server configuration folder.
      4] Now the AppPool and registry is created in Pull client node machine.

    Now my requirement is I want to create that registry and AppPool in my Pull Server itself. I have below plans to implement that.

      1] Create separate configuration file for Pull server along with that resources. And using PUSH [Start-DSCConfiguration] method I will implement and create that registry and AppPool in my Pull server.
      2] Or Modify the Pull the Server Local configuration Manger like pull client machine and create MOF file with GUID and put it in configuration folder with checksum values.

    I am not sure about above process is good or not and the impacts. Please let me know if it is good practices or let me know is there any other way to do. If nothing is possible I will configure it manually .

    Please let me know if you need any details.

    Thanks again for providing instance response.

  • #24603

    Participant
    Points: 0
    Rank: Member

    I would use Pull Server but both will work .

  • #24641

    Moderator
    Points: 24
    Team Member
    Rank: Member

    Hi Vinoth,

    Yes. You can configure your Pull server to be a client to itself. For consistency reasons use the same LCM configuration apart from the client specific properties.

    Best,
    Daniel

  • #24651

    Participant
    Points: 0
    Rank: Member

    Hi Daniel,

    I tried it and it works as expected. Thank you so much.

    Thanks,
    Vinoth

The topic ‘How to update Pull Server’ is closed to new replies.