Alachisoft StorageEdge - Online Documentation

Create New Cache Cluster

A clustered cache can be Mirrored, Partitioned, Partitioned Replica or Replicated. This section describes how to create these caches.
From the 'File' menu select 'New'->'Clustered Cache'. A 'New Clustered Cache Wizard' will appear. Steps to create a new clustered cache through wizard are as follows:
Step 1 of 6
Name: Provide a unique identifier for the clustered cache. For a cluster, the identifier has to be unique on all the nodes that are a part of it.
Step 2 of 6
Cluster Scheme: The Replicated scheme provides data replication on all the nodes, whereas the Partitioned scheme partitions the data across the cluster. Partitioned Replica scheme is the same as regular partitioned cache but allows you to have replicas for each partition. Mirrored cache is a cluster of two nodes (Active and passive), where all operations are performed on active node while the passive node is updated asynchronously. Passive node is promoted to active node as soon as the active node goes down.
Operation timeout (sec): The maximum time in seconds during which a clustered operation must be completed, otherwise the operation will fail.
Statistics replication interval (sec's.): The time interval in seconds after which a node sends its statistics to all the other nodes in the cluster.
Step 3 of 6
In step 3, you will need to select nodes that will participate in cluster.
Select nodes: Select nodes that participate in the cluster. You can specify a node name or select one from the list of available nodes.
Step 4 of 6
Cluster Port: TCP based communication between the cluster nodes requires a well known TCP server port for the establishment of the connection with peers. To avoid conflicts, it is preferable to have a unique port for every cluster. The default port is a proposed non-conflicting port for the cluster by NCache.
You can also change the cluster port manually. In case of port conflict, a warning message will be shown.
Step 5 of 6
Storage Type: Specifies the storage type for the primary cache.
Maximum Size: Specifies an upper limit on the size of the cache in MB. When specifying max cache size, take into consideration the operating system, platform and the topology. In 32-bit Systems the total memory that an operating system can consume is limited by 4GB. Out of this, the operating system withholds 2GB for its own use and the remaining 2GB for the running processes. It is best to keep the cache size under 1.6GB. For Windows 2003/2008 server with 3GB switch, you should keep cache size under 2.4 GB. On 64-bit Windows platform, you should leave 2.6 GB for the operating system to avoid “out of memory” exceptions
Step 6 of 6
Eviction Policy: Specifies the eviction policy to determine which items are to be removed from cache, if it is full, to accommodate new items.
Default Priority: Specifies default priority, that is associated with an item, if no priority is specified for that item.
Eviction Percentage: Specifies the percentage of items to be removed on each eviction.
Clean Interval (sec.): The periodic interval after which the expired items are removed from the cache. 
Start this cache on finish: If this check box is checked then this new cache will start automatically as you click the finish.
See Also

Copyright © 2012 Alachisoft. All rights reserved.