Download presentation
Presentation is loading. Please wait.
1
Security & Management
4
ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads the correct configuration provider
5
Import-Module DistributedCacheAdministration Import-Module DistributedCacheConfiguration Use-CacheCluster
6
CmdletDescription Get-CacheHostDisplays information about all the host services that are members of the cluster Start-CacheClusterStarts all the host’s services in the cluster Stop-CacheClusterStops all services in the cluster Restart-CacheClusterStops and starts all services in the cluster Start-CacheHostStarts a specific cache host Stop-CacheHostStops a specific cache host Restart-CacheHostStops and starts a specific cache host
7
CmdletDescription Get-CacheClusterInfoDisplays information about all the host services that are members of the cluster Export-CacheClusterConfigExports the cluster configuration to an Xml file Import-CacheClusterConfigImports and applies cluster configuration from an Xml file (note – cluster must be stopped to be able to apply modified configuration)
8
CmdletDescription New-CacheCreates a new cache Remove-CacheRemoves a specific cache Get-CacheReturns information about all caches and regions Get-CacheConfigReturns the configuration information about a specific cache Set-CacheConfigUpdates the configuration for a specific cache Get-CacheStatisticsReturns information about cache performance Get-CacheRegionReturns all cache regions, or the regions in a particular named cache
9
grant-cacheallowedclientaccount MyDomain\Machine1$ grant-cacheallowedclientaccount MyDomain\Jon
10
CmdletDescription Get-CacheAllowedClientAccountsReturns a list of all allowed clients Grant-CacheAllowedClientAccountGrants the named account access to the cache Revoke-CacheAllowedClientAccountRevokes cache access to the named account
12
Mode ValueDescription NoneNo security TransportTransport mode (NetTcp) enabled ProtectionLevel Value Description NoneNo message level security SignMessages are signed EncryptAndSignMessages are signed and encrypted
13
element --> <section name="dataCacheClient" type="Microsoft.ApplicationServer.Caching.DataCacheClientSection, Microsoft.ApplicationServer.Caching.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> <localCache isEnabled="true" sync=“Timeoutbased" objectCount="100000" ttlValue="300" />
14
Export-CacheClusterConfig Change configuration fileImport-CacheClusterConfig … …
15
Rich set of counters for monitoring both cache and host performance
17
logman create trace MySessionName –o test.etl –p {A77DCF21-545F- 4191-B3D0-C396CF2683F2} 0x00000005 -ets Set-CacheLogging –LogLevel VERBOSE –File c:\cache.log Log LevelValue NONE0x00000001 ERROR0x00000002 WARNING0x00000003 INFO0x00000004 VERBOSE0x00000005
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.