-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SPSideBySideSettings: New resource for enabling ZDP with DSC in SP 2016 and 2019 #1097
Comments
See my comment in the other issue. I don't think this resource is needed, since the two examples will be in constant conflict and the server will never be in a compliant state. |
I think, there is a chance to resolve this potential conflict. Both examples need to return true (test-method) for the following case: Local Version obtained from the SPProductUpdate Method equals the Farm Version and SideBySide is enabled and the SideBySideToken equals the Farm Version False for
Basically both would return the same status - the set method would differ though. I’m “Enable” the set method would pass the current Version to SharePoint. In “Upgrade” it would set the installed Version. |
wouldn't this work?
The idea would be if the Test-Resource would return true if local version on a specific node was equal to or greater than the version specified. Could also just include a "Version" tag to force set to a specific version (perhaps as part of an install scriptj). |
The suggestion for the SPZeroDownTimePatching resource would work indeed. The MinimumVersion needs to be Key parameter in this case. And out of interest, what would the Enabled parameter do in this case? |
Using the parameter @ykuijs For my understanding the parameter |
Following up on #1096 about ZDP there would be the need to create a new resource to handle Side-by-Side in this scenario. The new resource could look like this:
Enabling SideBySide could look like this and would set the SideBySide token to the current patch level.
After the patching is done...
Setting SideBySideToken to the new Farm Version could look like this:
All information needed to set the web application property
WebSerivce.SideBySideToken
can be obtained within this resource, by querying the farm or using a part of the new methods introduced with the refactoring ofSPProductUpdate
Maybe there should be an option available to disable SideBySide - but this is not necessarily a key feature we should implement.
Edit: The resource needs to have a key that can be only two values. This would make it possible to use this resource in a given configuration twice.
The text was updated successfully, but these errors were encountered: