Skip to content

SPDistributedCacheClientSettings

Yorick Kuijs edited this page Feb 19, 2019 · 13 revisions

SPDistributedCacheClientSettings

Parameters

Parameter Attribute DataType Description Allowed Values
IsSingleInstance Key String Unique key for the resource. Set to 'Yes' to apply configuration. Yes
DLTCMaxConnectionsToServer Write UInt32 Maximum number of connections to the Distributed Logon Token Cache
DLTCRequestTimeout Write UInt32 Request timeout for the Distributed Logon Token Cache
DLTCChannelOpenTimeOut Write UInt32 Channel timeout for the Distributed Logon Token Cache
DVSCMaxConnectionsToServer Write UInt32 Maximum number of connections to the Distributed View State Cache
DVSCRequestTimeout Write UInt32 Request timeout for the Distributed View State Cache
DVSCChannelOpenTimeOut Write UInt32 Channel timeout for the Distributed View State Cache
DACMaxConnectionsToServer Write UInt32 Maximum number of connections to the Distributed Access Cache
DACRequestTimeout Write UInt32 Request timeout for the Distributed Access Cache
DACChannelOpenTimeOut Write UInt32 Channel timeout for the Distributed Access Cache
DAFMaxConnectionsToServer Write UInt32 Maximum number of connections to the Distributed Activity Feed Cache
DAFRequestTimeout Write UInt32 Request timeout for the Distributed Activity Feed Cache
DAFChannelOpenTimeOut Write UInt32 Channel timeout for the Distributed Activity Feed Cache
DAFCMaxConnectionsToServer Write UInt32 Maximum number of connections to the Distributed Activity Feed LMT Cache
DAFCRequestTimeout Write UInt32 Request timeout for the Distributed Activity Feed LMT Cache
DAFCChannelOpenTimeOut Write UInt32 Channel timeout for the Distributed Activity Feed LMT Cache
DBCMaxConnectionsToServer Write UInt32 Maximum number of connections to the Distributed Bouncer Cache
DBCRequestTimeout Write UInt32 Request timeout for the Distributed Bouncer Cache
DBCChannelOpenTimeOut Write UInt32 Channel timeout for the Distributed Bouncer Cache
DDCMaxConnectionsToServer Write UInt32 Maximum number of connections to the Distributed Default Cache
DDCRequestTimeout Write UInt32 Request timeout for the Distributed Default Cache
DDCChannelOpenTimeOut Write UInt32 Channel timeout for the Distributed Default Cache
DSCMaxConnectionsToServer Write UInt32 Maximum number of connections to the Distributed Search Cache
DSCRequestTimeout Write UInt32 Request timeout for the Distributed Search Cache
DSCChannelOpenTimeOut Write UInt32 Channel timeout for the Distributed Search Cache
DTCMaxConnectionsToServer Write UInt32 Maximum number of connections to the Distributed Security Trimming Cache
DTCRequestTimeout Write UInt32 Request timeout for the Distributed Security Trimming Cache
DTCChannelOpenTimeOut Write UInt32 Channel timeout for the Distributed Security Trimming Cache
DSTACMaxConnectionsToServer Write UInt32 Maximum number of connections to the Distributed Server to Application Server Cache
DSTACRequestTimeout Write UInt32 Request timeout for the Distributed Server to Application Server Cache
DSTACChannelOpenTimeOut Write UInt32 Channel timeout for the Distributed Server to Application Server Cache
InstallAccount Write PSCredential POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5

Description

Type: Distributed Requires CredSSP: No

This resource is responsible for configuring the distributed cache client settings. It only accepts Ensure='Present' as a key. The resource can configure the following cache components: DistributedLogonTokenCache, DistributedViewStateCache, DistributedAccessCache, DistributedActivityFeedCache, DistributedActivityFeedLMTCache, DistributedBouncerCache, DistributedDefaultCache, DistributedSearchCache, DistributedSecurityTrimmingCache, and DistributedServerToAppServerAccessTokenCache.

Examples

Example 1

This example configures the distributed cache client settings.

    Configuration Example
    {
        param(
            [Parameter(Mandatory = $true)]
            [PSCredential]
            $SetupAccount
        )
        Import-DscResource -ModuleName SharePointDsc

        node localhost {
            SPDistributedCacheClientSettings Settings
            {
                IsSingleInstance            = "Yes"
                DLTCMaxConnectionsToServer  = 3
                DLTCRequestTimeout          = 1000
                DLTCChannelOpenTimeOut      = 1000
                DVSCMaxConnectionsToServer  = 3
                DVSCRequestTimeout          = 1000
                DVSCChannelOpenTimeOut      = 1000
                DACMaxConnectionsToServer   = 3
                DACRequestTimeout           = 1000
                DACChannelOpenTimeOut       = 1000
                DAFMaxConnectionsToServer   = 3
                DAFRequestTimeout           = 1000
                DAFChannelOpenTimeOut       = 1000
                DAFCMaxConnectionsToServer  = 3
                DAFCRequestTimeout          = 1000
                DAFCChannelOpenTimeOut      = 1000
                DBCMaxConnectionsToServer   = 3
                DBCRequestTimeout           = 1000
                DBCChannelOpenTimeOut       = 1000
                DDCMaxConnectionsToServer   = 3
                DDCRequestTimeout           = 1000
                DDCChannelOpenTimeOut       = 1000
                DSCMaxConnectionsToServer   = 3
                DSCRequestTimeout           = 1000
                DSCChannelOpenTimeOut       = 1000
                DTCMaxConnectionsToServer   = 3
                DTCRequestTimeout           = 1000
                DTCChannelOpenTimeOut       = 1000
                DSTACMaxConnectionsToServer = 3
                DSTACRequestTimeout         = 1000
                DSTACChannelOpenTimeOut     = 1000
                PsDscRunAscredential        = $SetupAccount
            }
        }
    }
Clone this wiki locally