19
Security & Management

Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads

  • View
    215

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads

Security & Management

Page 2: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads
Page 3: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads
Page 4: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads

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

Import-Module DistributedCacheAdministrationImport-Module DistributedCacheConfigurationUse-CacheCluster

Page 6: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads

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

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

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

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

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
Page 12: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads

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

<?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

…<advancedProperties>

<securityProperties mode="None" protectionLevel="None" /></advancedProperties>…

Page 15: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads
Page 16: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads
Page 17: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads

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
Page 19: Security & Management. ArgumentDescription - ConnectionString Connection information for the cluster (will differ based on provider) -ProviderLoads