1
0
mirror of https://github.com/fluencelabs/redis synced 2025-04-05 09:11:03 +00:00

Merge pull request from concreted/patch-1

(fix) Update create-cluster README
This commit is contained in:
Salvatore Sanfilippo 2017-06-20 16:41:10 +02:00 committed by GitHub
commit a2146c7592

@ -2,7 +2,7 @@ Create-custer is a small script used to easily start a big number of Redis
instances configured to run in cluster mode. Its main goal is to allow manual instances configured to run in cluster mode. Its main goal is to allow manual
testing in a condition which is not easy to replicate with the Redis cluster testing in a condition which is not easy to replicate with the Redis cluster
unit tests, for example when a lot of instances are needed in order to trigger unit tests, for example when a lot of instances are needed in order to trigger
a give bug. a given bug.
The tool can also be used just to easily create a number of instances in a The tool can also be used just to easily create a number of instances in a
Redis Cluster in order to experiment a bit with the system. Redis Cluster in order to experiment a bit with the system.
@ -10,7 +10,7 @@ Redis Cluster in order to experiment a bit with the system.
USAGE USAGE
--- ---
To create a cluster, follow this steps: To create a cluster, follow these steps:
1. Edit create-cluster and change the start / end port, depending on the 1. Edit create-cluster and change the start / end port, depending on the
number of instances you want to create. number of instances you want to create.
@ -21,7 +21,7 @@ an actual Redis cluster will be created.
In order to stop a cluster: In order to stop a cluster:
1. 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. 1. Use "./create-cluster stop" to stop all the instances. After you stopped the instances you can use "./create-cluster start" to restart them if you change your mind.
2. Use "./create-cluster clean" to remove all the AOF / log files to restat with a clean environment. 2. Use "./create-cluster clean" to remove all the AOF / log files to restart with a clean environment.
Use the command "./create-cluster help" to get the full list of features. Use the command "./create-cluster help" to get the full list of features.