This topic contains 3 replies, has 2 voices, and was last updated by
August 30, 2016 at 3:48 pm #52533ParticipantPoints: 0Rank: Member
I have configured https based DSC pull server and multiple target nodes registered to this server. When I execute
on any of the target nodes I verified that RefreshMode is set as 'PULL'. The set-up is working as expected.
There are scenarios where I'm running some configurations manually. The configurations are applied successfully to these target nodes however when I run
on target node now, it's flipped back to 'PUSH' mode. This is what I used to manually apply the configurations on target node:
Start-DSCConfiguration -Path C:\Dsc\Mof -Wait -Verbose -Force
If I exclude the '-Force' parameter, I get this error:
A PUSH operation was requested without -Force while configured for PULL processing. + CategoryInfo : InvalidArgument: (root/Microsoft/...gurationManager:String) , CimException + FullyQualifiedErrorId : MI RESULT 4 + PSComputerName : localhost
So does it mean that a node can either be in PUSH or PULL mode in its life time?
Thanks for your help!
August 30, 2016 at 4:01 pm #52543KeymasterPoints: 1,704Rank: Community Hero
So, in single-MOF mode (as opposed to Partial Configurations), the node can be configured for one or the other. If configured for PULL, it won't accept a PUSH. You'd have to reconfigure the LCM for PUSH, push the config, and then reconfigure it again for PULL.
August 30, 2016 at 6:28 pm #52579ParticipantPoints: 0Rank: Member
Got it! Looks like I need to setup Partial Configurations in my environment. Let me read more to it.
Thanks for pointers.
August 30, 2016 at 6:37 pm #52583KeymasterPoints: 1,704Rank: Community Hero
Well... yes. Definitely do (leanpub.com/the-dsc-book as an example), because Partials aren't the be-all solution they can sometimes seen. They have some downsides. And you have to be careful to not try and configure the same thing in multiple partials (e.g., set it one way in a Pulled MOF, and another way in a Pushed MOF), or it'll all fight itself like two raccoons in a bag.
The topic ‘Hybrid RefreshMode for LCM on target node’ is closed to new replies.