Metadata-Version: 1.1
Name: redis-clu
Version: 0.0.4
Summary: Redis Cluster Management Tool
Home-page: https://github.com/baranbartu/redis-clu
Author: Baran Bartu Demirci
Author-email: bbartu.demirci@gmail.com
License: MIT
Download-URL: https://github.com/baranbartu/redis-clu/tarball/0.0.4
Description: # redis-clu
        Redis Cluster Management Tool
        
        Create sharded+replicated redis cluster and manage it easily.
        
        
        ##### Create cluster
        
        ```bash
        # Sharded cluster (master-master)
        redis-clu create localhost:6376 localhost:6377 localhost:6378
        ```
        
        
        ##### Show status
        
        ```bash
        redis-clu status localhost:6376
        ```
        
        
        ##### Add masters
        
        ```bash
        # single node:
        redis-clu add localhost:6379
        (optional: --keyMigrationCount <count> ) pipelined command, default 1
        
        # multiple nodes:
        # recommended for dynamic scaling, it will be split cluster into subclusters
        # and each subcluster will be resharding simultaneously
        # <cluster> <masters>
        redis-clu add_multi localhost:6376 localhost:6381 localhost:6382 
        (optional: --keyMigrationCount <count> ) pipelined command, default 1
        ```
        
        
        ##### Add slaves
        
        ```bash
        # master-slave replication
        # To make redis cluster high available, all master should have at least one slave.
        # <master> <slave>
        redis-clu replicate localhost:6376 localhost:6385
        ```
        
        
        ##### Fix cluster
        
        ```bash
        redis-clu fix localhost:6376
        ```
        
        
        ##### Reshard cluster (Slot balancing)
        
        ```bash
        redis-clu reshard localhost:6376
        (optional: --keyMigrationCount <count> ) pipelined command, default 1
        ```
        
        
        ##### Remove node
        
        ```bash
        # <cluster> <node(master or slave)>
        redis-clu remove localhost:6376 localhost:6380
        (optional: --keyMigrationCount <count> ) pipelined command, default 1
        ```
        
        
        ##### Flush/Destroy cluster
        
        ```bash
        # flush cluster (initialize with 0 keys):
        redis-clu reset localhost:6376
        
        # destroy cluster:
        redis-clu reset localhost:6376 --hard 1
        ```
        
        
        # Monitoring
        
        Also you can make your own basic monitoring screen using 'watch'.
        
            brew install watch (For Mac OSx)
            redis-clu status <cluster_node>
            watch -d -n 1 'redis-clu status localhost:6376'
        
        Monitoring will help you to make an action.
        
        ![ScreenShot](https://raw.github.com/baranbartu/redis-clu/master/screenshot.png)
        
        
        
Keywords: redis cluster management replication master slave
Platform: UNKNOWN
