Unable to register second client with http pull server

This topic contains 3 replies, has 3 voices, and was last updated by Profile photo of Isaac Olson Isaac Olson 2 weeks, 3 days ago.

  • Author
  • #54987
    Profile photo of Isaac Olson
    Isaac Olson

    I followed the two sets of instructions below to set up a pull server and a test client.


    The test client works fine. I'm able to set the LCM and use an xSQLServer config to create a SQL alias. However, when I tried to add two more clients, I was able to set the LCM but got the following error when running "Update-DscConfiguration -Wait" (I replaced the server name and guid with placeholders).

    The attempt to get the action from server
    failed because pullserver is not available or there is no registered node with AgentId
    00000000-0000-0000-0000-000000000000 on the server.
    + CategoryInfo : ResourceUnavailable: (root/Microsoft/...gurationManager:String) [], CimException
    + FullyQualifiedErrorId : WebDownloadManagerGetActionNodeConfigurationNotFound,Microsoft.PowerShell.DesiredStateCo
    + PSComputerName : localhost

    Any idea why a second client might fail or in general why the above error might occur?

    • This topic was modified 2 weeks, 6 days ago by Profile photo of Isaac Olson Isaac Olson.
    • This topic was modified 2 weeks, 6 days ago by Profile photo of Isaac Olson Isaac Olson.
  • #54991
    Profile photo of Nitin Gupta
    Nitin Gupta

    PullServer logs would have more information on whats happening. You can obtain pull server logs using:

    Get-WinEvent -LogName "Microsoft-Windows-Powershell-DesiredStateConfiguration-PullServer/Operational"
    Get-WinEvent -LogName "Microsoft-Windows-ManagementOdataService/Operational"
  • #54998
    Profile photo of Arie H
    Arie H

    If you can also please link the scripts you used for the pull server and LCM, but mainly the configuration script itself minus the secure items of course, use Gist or PasteBin.

    After going through the logs as Nitin suggested, try from each of the failing nodes to simply open a browser and punch the pull server URL. Do you see the web page correctly as an xml response ?

  • #55108
    Profile photo of Isaac Olson
    Isaac Olson

    So I made a newbie mistake. This is my first attempt at using DSC. When I switched from using a single configuration for all of my nodes to using the ConfigurationNames property of the ConfigurationRepositoryWeb resource, I wasn't paying close enough attention to which nodes I was generating MOF files for since I had already partially automated that process. As it turns out, I was getting the error I posted above when running Update-DscConfiguration on nodes that I hadn't generated MOF files for.

    Thanks much for the replies though. I learned a good bit more about DSC troubleshooting by using both of your suggestions.

You must be logged in to reply to this topic.