Monday, January 24, 2011

Register Cache Host in Cluster - Powershell

After executing Get-CacheHost and our host is not listed in the results:

1. Register the local host in the cluster using:
> Register-CacheHost
// Then provide System.Data.SqlClient and the connection string for the AppFabric cache cluster configuration DB
2. Execute Get-CacheHost and will see our host is now listed (as DOWN)
3. Execute Start-CacheHost (or start the AppFabric service in the service.msc console)
4. Execute Get-CacheHost again and will see our host as UP







1 comment:

fc said...

Cache Administration with Windows PowerShell (Windows Server AppFabric Caching)

http://msdn.microsoft.com/en-us/library/ff718177.aspx

Restart-CacheCluster
Stop-CacheHost
Start-CacheHost

Get-Cache
Get-CacheRegion
Get-CacheStatistics