SPDistributedCacheClientSetting: Missing SP2019 and SE Values
Problem description
The Ressource is missing the SP2019 and SPSE specific container Settings:
- DistributedDbLevelFailoverCache
- DistributedEdgeHeaderCache
- DistributedFileStorePerformanceTraceCache
- DistributedSPAbsBlobCache
- DistributedSPCertificateValidatorCache
- DistributedSPOAuthTokenCache
- DistributedStopgapCache
- DistributedStopgapCache
They are documented at SharePoint Server Subscription Edition and SharePoint Server 2019 PowerShell script
I'm happy to create a pull request, after I've done my other tasks :)
Verbose logs
N/A
DSC configuration
N/A
Suggested solution
Add the SP2019/SE specific Container like it has been done with SP2016
SharePoint version and build
N/A
Operating system the target node is running
N/A
PowerShell version and build the target node is running
N/A
SharePointDsc version
5.1.0
Perfect, it is all yours! Just two comments:
- You are mentioning DistributedStopgapCache twice
- Settings DistributedUnifiedAppsCache and DistributedUnifiedAuditCache are missing from the above list, but are listed in the article
Hi @ChristophHannappel, any idea when you are able to fix this issue?
Hi @ykuijs since its mostly copy and paste ill think i can create a pull request until 20. May.
For documentation purposes - I've compared the valid values for the ContainerType Parameter of the Get-SPDistributedCacheClientSetting between SharePoint Server 2016, 2019 and Subscription Edition.
The new Cache Container are:
- DistributedClientSideAppUpdateTimeCache
- DistributedDbLevelFailoverCache
- DistributedEdgeHeaderCache
- DistributedFileStorePerformanceTraceCache
- DistributedSPAbsBlobCache
- DistributedSPCertificateValidatorCache
- DistributedSPOAuthTokenCache
- DistributedStopgapCache
- DistributedUnifiedAppsCache
- DistributedUnifiedAuditCache
@ykuijs
The Cache DistributedClientSideAppUpdateTimeCache is not mentioned in the Script "SharePoint Server Subscription Edition and SharePoint Server 2019 PowerShell script" so I'm missing an abbreviation for the variable names.
Based on the syntax of the existing variables my proposal is: DCSAUTC
Does this work for you or do you have a different one?
Also the Script example uses the variable DHSC twice. First for DistributedHealthScoreCache than later again for DistributedUnifiedAuditCache - which seems like a copy and paste error
#DistributedUnifiedAuditCache
$DHSC = Get-SPDistributedCacheClientSetting -ContainerType DistributedUnifiedAuditCache
$DHSC.MaxConnectionsToServer = 1
$DHSC.requestTimeout = "3000"
$DHSC.channelOpenTimeOut = "3000"
Set-SPDistributedCacheClientSetting -ContainerType DistributedUnifiedAuditCache $DHSC
Based on the naming scheme my proposal is DUAuC for DistributedUnifiedAuditCache since DUAC is already used for DistributedUnifiedAppsCache