3

I am using DSC to configure 30 servers.

They are configured to pull with ApplyAndAutoCorrect.

This generally works great, but randomly, servers will stop all DSC activity. The servers never attempt to pull configuration again.

The only way I can resolve the issue is by re-configuring the LocalConfigurationManager, but this gets tedious.

Does anyone know how I can troubleshoot this?

Update

Update-DscConfiguration -Wait -Verbose runs as expected. The issue is that it doesn't run automatically. I am checking this by looking in the operational event log.

Get-DscLocalConfigurationManager Output:

ActionAfterReboot : ContinueConfiguration AgentId : 9F0D574A-C0F5-11E6-80CA-005056B8643D AllowModuleOverWrite : True CertificateID : ConfigurationDownloadManagers : {} ConfigurationID : 64e35e72-6f65-4f44-9b5f-915bfe9d157a ConfigurationMode : ApplyAndAutoCorrect ConfigurationModeFrequencyMins : 15 Credential : DebugMode : {NONE} DownloadManagerCustomData : {MSFT_KeyValuePair (key = "ServerUrl"), MSFT_KeyValuePair (key = "AllowUnsecureConnection")} DownloadManagerName : WebDownloadManager LCMCompatibleVersions : {1.0, 2.0} LCMState : Busy LCMStateDetail : LCM is checking and applying new available configuration on pull server. LCMVersion : 2.0 StatusRetentionTimeInDays : 10 PartialConfigurations : RebootNodeIfNeeded : False RefreshFrequencyMins : 30 RefreshMode : Pull ReportManagers : {} ResourceModuleManagers : {} PSComputerName :

All servers are running WMF 5

2
  • Does Update-DscConfiguration -wait on those faulty servers work? Apr 26, 2017 at 13:54
  • @PeterHahndorf - Updated the main question
    – gregpakes
    May 2, 2017 at 0:26

1 Answer 1

0

if 'Update-DscConfiguration -wait -verbose' is not pulling down the configuration, it is mostly due to the fact that the node already has up to date configuration. DSC not running consistency regularly is mysterious. Can you paste the output of Get-DscLocalConfigurationManager? Which version of WMF are you using?

1
  • I have added an update to the main post
    – gregpakes
    May 1, 2017 at 4:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .