# CacheStore-deploy-cluster **Repository Path**: liwen_test_sync_group/CacheStore-deploy-cluster ## Basic Information - **Project Name**: CacheStore-deploy-cluster - **Description**: A ready to use deployment of CacheStore Cluster. Includes CacheStore, cluster start up scripts, and cluster configurations. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-12-03 - **Last Updated**: 2025-11-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README CacheStore Deploy Cluster = What is CacheStore? == CacheStore is a largely scalable and high performance storage plugin for Project Voldemort distributed system that includes user plugins to determine block size, concurrent compaction and backup without downtime, and user plugins to purge data without downtime. Key features include stored procedures, triggers, queries, scans, and multiple gets and puts. Download == CacheStore Cluster Repository: https://github.com/viant/CacheStore-deploy-cluster CacheStore Cluster .zip: http://viant.github.io/CacheStore/downloads/cachestore-deploy-cluster-1.1.0.zip CacheStore Cluster .tar.gz: http://viant.github.io/CacheStore/downloads/cachestore-deploy-cluster-1.1.0.tar.gz CacheStore Cluster .rpm: http://viant.github.io/CacheStore/downloads/cachestore-deploy-cluster-1.1.0-1.noarch.rpm Prerequisites == - Operating Systems: - Linux - Mac - Windows *Not Fully Tested* - Java (1.7.0_09-icedtea): https://java.com/en/download/ Quickstart Guides == For this guide, we will assume that CacheStore is installed into the /opt folder. Local 2 Node Cluster ------------------------------- In terminal: - cd /opt/cachestore-deploy-cluster/ - sudo sh bin/StartCacheCluster.sh -configPath "config/node_examples/localNode1" In a second terminal: - cd /opt/cachestore-deploy-cluster/ - sudo sh bin/StartCacheCluster.sh -configPath "config/node_examples/localNode2" In a third terminal: - cd /opt/cachestore-deploy-cluster/ - sudo sh bin/CachestoreShell.sh - c1 = openCluster("localhost:6172", "test") ===> com.sm.store.client.ClusterClient@xxxxxxxx - c2 = openCluster("localhost:6182", "test") ===> com.sm.store.client.ClusterClient@xxxxxxxx - getv(c1, 1) ===> this - getv(c2, 2) ===> is - getv(c1, 3) ===> a - getv(c2, 4) ===> test - put(c1, 5, "working") ===> null - getv(c2, 5) ===> working - :exit *Note* These commands are used based on the provided test store.xml and test data files. 2 Node Cluster on Separate Servers ------------------------------- - Deploy CacheStore-deploy-cluster on two different devices - Configure clusters.xml and node.properties in config/node_examples/node1 and config/node_examples/node2 In terminal 1: - cd /opt/cachestore-deploy-cluster/ - sudo sh bin/StartCacheCluster.sh -configPath "config/node_examples/node1" In terminal 2: - cd /opt/cachestore-deploy-cluster/ - sudo sh bin/StartCacheCluster.sh -configPath "config/node_examples/node2" In a third terminal: - cd /opt/cachestore-deploy-cluster/ - sudo sh bin/CachestoreShell.sh - c1 = openCluster("server1:port1", "test") ===> com.sm.store.client.ClusterClient@xxxxxxxx - c2 = openCluster("server2:port2", "test") ===> com.sm.store.client.ClusterClient@xxxxxxxx The two nodes and CacheStore Shell should now be set up. *Note* These commands are used based on the provided test store.xml and test0.* data files. Documentation == Additional information and documentation can be found at: http://viant.github.io/CacheStore/ Latest Version == The latest version 1.1.0 can be found at: https://github.com/viant/CacheStore Known Bugs & Issues == - Scripts may not run as expected in Windows - Stopping a multinode cluster that is running on the same device with StopCachestore.sh may not work as expected