This topic contains 3 replies, has 4 voices, and was last updated by
July 5, 2016 at 1:29 pm #45757ParticipantPoints: 0Rank: Member
In WMF 4 the refresh and configuration check-ins were controlled by a scheduled task – I hadn't before but I assumed these could be managed and changed from there.
On WMF5 how can you control the time the nodes check in? The scheduled tasks no longer exist and there seems to be no way to define in this in the LCM. Any ideas?
I've tried resetting the LCM over a staggered period, but it doesn't appear to have an effect.
Reason for asking is we have a large number of VM's on the same cluster all currently checking in at the same time, causing IO problems due to the CmdletCaching.
July 5, 2016 at 1:35 pm #45761KeymasterPoints: 1,644Rank: Community Hero
You can't schedule check-in times, and never could; it's always interval-based (every 15m by default). The most you could perhaps do – and I've never tried this – is manually trigger a set of machines, and then a few minutes later another set, and so on, so that if they're running the same interval then they'll remain somewhat offset. I mean, honestly, what you're running into is a problem in your underlying infrastructure. In the current implementation, the LCM doesn't provide a lot of workarounds for that.
July 5, 2016 at 4:25 pm #45827ParticipantPoints: 0Rank: Member
You can control it via LCM properties 'ConfigurationModeFrequencyMins' (default value is 15) and 'RefreshFrequencyMins' (default value is 30).
Unlike in WMF 4.0, these two values are not needed to be multiple of each other in WMF 5.0.
July 6, 2016 at 7:53 am #45939ParticipantPoints: 0Rank: Member
You can setup your own scheduled task, and even use DSC to do it.
Assuming you are setup to Pull:
As far as I know, the Check-in is basically just running "Update-DSCConfiguration"
Setup a random start time delay in the script that runs and you're good!
Here is your randomized 3 minute delay script
sleep -Seconds (Get-Random -Minimum 0 -Maximum 180) Update-DSCConfiguration -wait
The topic ‘how to schedule a refresh in WMF5’ is closed to new replies.