Jaa


Common Cache Cluster Management Tasks (AppFabric 1.1 Caching)

This section provides examples and guidance for common management tasks for Microsoft AppFabric 1.1 for Windows Server Caching. For additional documentation about these tasks and others not covered here, see Managing Windows Server AppFabric Caching Features.

  1. Reconfiguring Cache Cluster Settings (Windows Server AppFabric Caching)

  2. Managing Security (Windows Server AppFabric Caching)

  3. Managing Caches (Windows Server AppFabric Caching)

  4. Updating Cache Servers (Windows Server AppFabric Caching)

Using Windows PowerShell

To manage your cache cluster, you must install the Cache Administration feature of AppFabric. With this feature installed, you can run caching configuration and administration Windows PowerShell commands. Note that you must always set the context for the cache cluster on which you are operating. This is accomplished with the Use-CacheCluster command.

Use-CacheCluster

In this example, the Use-CacheCluster command is run without any parameters. This causes the command to examine the AppFabric Caching configuration on the local server to determine the appropriate cache cluster. If you are not running the commands on a cache host, or if you want to connect to a different cache cluster, you can specify additional parameters for the provider and connection string of the target cache cluster configuration store.

Use-CacheCluster -Provider System.Data.SqlClient -ConnectionString "Data Source=SQLServer1;Initial Catalog=CacheClusterConfigurationDB;Integrated Security=True"

To use the Windows PowerShell commands, click the Start Menu, select All Programs, Microsoft AppFabric 1.1 for Windows Server, and then click Caching Administration Windows PowerShell. In general, you will experience less problems and limitations if you can start Windows PowerShell as an administrator. For example, you cannot start or stop the cache cluster unless you running Windows PowerShell as an administrator.

Important

The examples shown in this section demonstrate common scenarios, but they are not comprehensive. For a complete list of commands, see Using Windows PowerShell to Manage AppFabric 1.1 Caching Features. Also note that the get-help command in Windows PowerShell can provide console-based help for any command.

See Also

Concepts

AppFabric 1.1 Caching Deployment and Management Guide

  2012-10-26