NCache 4.6 - Online Documentation

Creating a New Cache Cluster

 
Clustered Cache can be created in the following two ways:
 
Using NCache Manager
 
  • Select File ->New ->Clustered Cache option.
 
 
  • New Clustered Cache Wizard will open, specify the name of the cache, select Data Format and click Next.
 
 
  • In the Select caching topology dialog box, select the required cache topology. You can also change the Operation timeout (sec.), Statistic replication interval (sec.) and Isolation Level under the Advanced cluster options.
 
  • Specify the desired information and click Next.
 
 
  • If you select the Partitioned Replica topology, you will have to specify the replication strategy by selecting from amongst the Asynchronous and Synchronous strategy types for back up of data.
  1. Asynchronous replication: In Asynchronous replication data operations are replicated asynchronously to the backup node.
  2. Synchronous replication: In Synchronous replication data operations are replicated synchronously to the backup node.
 
  • Click Next.
 
 
  • Specify the node IP address in the text box or select from the Network Neighborhood and click on the ‘>’ button to add the node to the Selected Nodes list.
 
  • Click Next once all the required nodes are added.
 
 
  • Change the Cluster Port if required. Click Next.
 
 
  • In the next dialog, you can change the cache size if required.
 
  • Click Next.
 
 
  • In the Advanced options dialog box you can configure the following settings:
  •     You can change the Eviction policy (or eviction strategy). The Eviction policy will be configured and can be turned on.
  •     You can also change the Eviction Percentage; items will be evicted from the cache using this percentage value if eviction is enabled.
  •     You can change the Clean interval value. Default is 15 seconds.
  •     This cache can be started automatically upon the completion of this process if you have checked the Start this cache on Finish checkbox on this dialog.
  •       You can make the cache to start automatically after service restart by checking the checkbox Auto start this cache on service startup.
 
 
  • Click Finish. Created cache will appear in Cache Explorer under Clustered Caches section.
 
 
Using Command Line Tool
 
  • Open command prompt.
 
  • Go to the NCache tools directory: cd %NCHOME%/bin/tools
 
  • Use createcache.exe, provide the required information: 
      createcache.exe ClusteredCache /s 20.200.21.95 /S 1024 /t replicated /C 7802
 
  • Press ENTER, it will create ClusteredCache of replicated topology on server  20.200.21.51 with size 1024MB on port 7802.
 
 
See Also