If you create a new cache with secondaries enabled

 new-cache -CacheName NamedCache1 -Secondaries 1

you need to have more than one cache host, otherwise the cache won't work. In my first velocity test I only had one server and created the cache with the previous command. After that I was trying to put objects to the cache with no success.

Taken from the Velocity CTP 2 documentation:

"High availability is configured at the cache level in the cluster configuration settings. You can only enable it when you create the cache. To do this, use the PowerShell 1.0 new-cache command, with the secondaries parameter equal to 1. This tells the cache administration PowerShell cmdlets that you want one copy of each cached object or region."

LEAVE A REPLY

Please enter your comment!
Please enter your name here