Important Considerations of Velocity (Powershell Command)
When using the PowerShell commands described in this topic, it is important to consider the following points:
-
The security identity of the person using these PowerShell commands must have administrator privileges on all cache servers in the cache cluster.
-
Parameter values for the commands are case sensitive. For example, if you create a cache called
NamedCache1, the commandGet-CacheConfig -CacheName namedcache1will not work. You must match the case, as inGet-CacheConfig -CacheName NamedCache1. -
When making XML-based cluster configuration changes with the
Export-CacheClusterConfigandImport-CacheClusterConfigcommands, you can change cluster configuration settings (XML attributes) in the XML file, but adding or removing named caches and cache hosts by inserting or removing XML elements is not supported. -
Start-CacheCluster,Stop-CacheCluster, andRestart-CacheClustercache cluster commands involve coordinating the state of the cache host Windows service on all cache servers in the cluster. These commands may take longer when lead hosts perform the cluster management role; there must be a majority of lead host running while the rest of the cache hosts stop and start. -
Stop-CacheClusterorRestart-CacheClustercache cluster commands cause all data to be flushed from the memory of all cache hosts in the cluster. -
Set-CacheConfigandImport-CacheClusterConfigcommands require you to restart the cache cluster with Restart-CacheCluster in order for changes to take effect. -
Remove-CacheandNew-Cachecommands can be used to change a named cache configuration without impacting other named caches in the cluster.