Name Date Size #Lines LOC

..27-Nov-2024-

.gitignoreH A D27-Nov-202435 65

READMEH A D27-Nov-20241.3 KiB2820

create-clusterH A D27-Nov-20242.2 KiB9678

README

1Create-custer is a small script used to easily start a big number of Redis
2instances configured to run in cluster mode. Its main goal is to allow manual
3testing in a condition which is not easy to replicate with the Redis cluster
4unit tests, for example when a lot of instances are needed in order to trigger
5a give bug.
6
7The tool can also be used just to easily create a number of instances in a
8Redis Cluster in order to experiment a bit with the system.
9
10USAGE
11---
12
13To create a cluster, follow this steps:
14
151. Edit create-cluster and change the start / end port, depending on the
16number of instances you want to create.
172. Use "./create-cluster start" in order to run the instances.
183. Use "./create-cluster create" in order to execute redis-trib create, so that
19an actual Redis cluster will be created.
204. Now you are ready to play with the cluster. AOF files and logs for each instances are created in the current directory.
21
22In order to stop a cluster:
23
241. Use "./craete-cluster stop" to stop all the instances. After you stopped the instances you can use "./create-cluster start" to restart them if you change ideas.
252. Use "./create-cluster clean" to remove all the AOF / log files to restat with a clean environment.
26
27Use the command "./create-cluster help" to get the full list of features.
28