Skip to content

Getting Started

timiblossom edited this page Oct 31, 2014 · 28 revisions

In this setup, we will use Redis with Dynomite. For Memcached, it is very similar replacing Redis installation step with Memcached installation step. We will also show you the configurations to simulate a one-node Dynomite cluster and a two-node Dynomite cluster.

###1. Install Redis Please follow the instructions on this website to download and install Redis: http://redis.io/

###2. Build Dynomite Please follow our README.md to compile and build Dynomite from source. Note that we only test Dynomite on Linux environments so we recommend you to compile and build Dynomite on a Linux system

###3. Configuration ####a. One node cluster: dynomite.yml

    dyn_o_mite:
      listen: 127.0.0.1:9102
      env: network
      datacenter: localdc
      rack: localrack
      dyn_listen: 127.0.0.1:9101
      tokens: '3101134286'
      servers:
      - 127.0.0.1:6379:1
      redis: true

####b. Two nodes cluster dynomite1.yml

   dyn_o_mite:
     listen: 127.0.0.1:9102
     env: network
     datacenter: localdc
     rack: localrack
     dyn_listen: 127.0.0.1:9101
     tokens: '3101134286'
     dyn_seeds:
     - 127.0.0.2:8101:localrack:localdc:437425602
     servers:
     - 127.0.0.1:6379:1
     redis: true

dynomite1.yml dyn_o_mite: listen: 127.0.0.1:8102 env: network datacenter: localdc rack: localrack dyn_listen: 127.0.0.1:8101 tokens: '3101134286' dyn_seeds: - 127.0.0.2:8101:localrack:localdc:437425602 servers: - 127.0.0.1:22122:1 redis: true