security & management. argumentdescription - connectionstring connection information for the...
Post on 21-Dec-2015
214 views
TRANSCRIPT
![Page 1: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d5e5503460f94a3ebfc/html5/thumbnails/1.jpg)
Security & Management
![Page 2: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d5e5503460f94a3ebfc/html5/thumbnails/2.jpg)
![Page 3: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d5e5503460f94a3ebfc/html5/thumbnails/3.jpg)
![Page 4: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d5e5503460f94a3ebfc/html5/thumbnails/4.jpg)
Argument Description
-ConnectionString
Connection information for the cluster (will differ based on provider)
-Provider Loads the correct configuration provider
![Page 5: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d5e5503460f94a3ebfc/html5/thumbnails/5.jpg)
Import-Module DistributedCacheAdministrationImport-Module DistributedCacheConfigurationUse-CacheCluster
![Page 6: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d5e5503460f94a3ebfc/html5/thumbnails/6.jpg)
Cmdlet Description
Get-CacheHost Displays information about all the host services that are members of the cluster
Start-CacheCluster Starts all the host’s services in the cluster
Stop-CacheCluster Stops all services in the cluster
Restart-CacheCluster
Stops and starts all services in the cluster
Start-CacheHost Starts a specific cache host
Stop-CacheHost Stops a specific cache host
Restart-CacheHost Stops and starts a specific cache host
![Page 7: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d5e5503460f94a3ebfc/html5/thumbnails/7.jpg)
Cmdlet Description
Get-CacheClusterInfo Displays information about all the host services that are members of the cluster
Export-CacheClusterConfig
Exports the cluster configuration to an Xml file
Import-CacheClusterConfig
Imports and applies cluster configuration from an Xml file (note – cluster must be stopped to be able to apply modified configuration)
![Page 8: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d5e5503460f94a3ebfc/html5/thumbnails/8.jpg)
Cmdlet Description
New-Cache Creates a new cache
Remove-Cache Removes a specific cache
Get-Cache Returns information about all caches and regions
Get-CacheConfig Returns the configuration information about a specific cache
Set-CacheConfig Updates the configuration for a specific cache
Get-CacheStatistics
Returns information about cache performance
Get-CacheRegion Returns all cache regions, or the regions in a particular named cache
![Page 9: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d5e5503460f94a3ebfc/html5/thumbnails/9.jpg)
grant-cacheallowedclientaccount MyDomain\Machine1$ grant-cacheallowedclientaccount MyDomain\Jon
![Page 10: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d5e5503460f94a3ebfc/html5/thumbnails/10.jpg)
Cmdlet Description
Get-CacheAllowedClientAccounts Returns a list of all allowed clients
Grant-CacheAllowedClientAccount Grants the named account access to the cache
Revoke-CacheAllowedClientAccount Revokes cache access to the named account
![Page 11: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d5e5503460f94a3ebfc/html5/thumbnails/11.jpg)
![Page 12: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d5e5503460f94a3ebfc/html5/thumbnails/12.jpg)
Mode Value
Description
None No security
Transport Transport mode (NetTcp) enabled
ProtectionLevel Value
Description
None No message level security
Sign Messages are signed
EncryptAndSign Messages are signed and encrypted
![Page 13: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d5e5503460f94a3ebfc/html5/thumbnails/13.jpg)
<?xml version="1.0"?><configuration><configSections><!-- required to read the <dataCacheClient> element --><section name="dataCacheClient" type="Microsoft.ApplicationServer.Caching.DataCacheClientSection, Microsoft.ApplicationServer.Caching.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /></configSections><dataCacheClient>
<securityProperties mode="None" protectionLevel="None" /><localCache isEnabled="true"sync=“Timeoutbased" objectCount="100000"ttlValue="300" /><hosts><host name="Demo2010a" cachePort="22233" /></hosts></dataCacheClient></configuration>
![Page 14: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d5e5503460f94a3ebfc/html5/thumbnails/14.jpg)
…<advancedProperties>
<securityProperties mode="None" protectionLevel="None" /></advancedProperties>…
![Page 15: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d5e5503460f94a3ebfc/html5/thumbnails/15.jpg)
![Page 16: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d5e5503460f94a3ebfc/html5/thumbnails/16.jpg)
![Page 17: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d5e5503460f94a3ebfc/html5/thumbnails/17.jpg)
logman create trace MySessionName –o test.etl –p {A77DCF21-545F-4191-B3D0-C396CF2683F2} 0x00000005 -ets
Set-CacheLogging –LogLevel VERBOSE –File c:\cache.log
Log Level Value
NONE 0x00000001
ERROR 0x00000002
WARNING 0x00000003
INFO 0x00000004
VERBOSE 0x00000005
![Page 18: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d5e5503460f94a3ebfc/html5/thumbnails/18.jpg)
![Page 19: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d5e5503460f94a3ebfc/html5/thumbnails/19.jpg)