README.md in redis_failover-0.8.3 vs README.md in redis_failover-0.8.4
- old
+ new
@@ -65,10 +65,11 @@
-z, --zkservers SERVERS Comma-separated ZooKeeper host:port pairs
-p, --password PASSWORD Redis password
--znode-path PATH Znode path override for storing redis server list
--max-failures COUNT Max failures before manager marks node unavailable
-C, --config PATH Path to YAML configuration file
+ -E, --environment ENV Config environment to use
-h, --help Display all options
To start the daemon for a simple master/slave configuration, use the following:
redis_node_manager -n localhost:6379,localhost:6380 -z localhost:2181,localhost:2182,localhost:2183
@@ -90,9 +91,12 @@
:password: foobar
You would then simpy start the Node Manager via the following:
redis_node_manager -C config.yml
+
+You can also scope the configuration to a particular environment (e.g., staging/development). See the examples
+directory for configuration file samples.
The Node Manager will automatically discover the master/slaves upon startup. Note that it is
a good idea to run more than one instance of the Node Manager daemon in your environment. At
any moment, a single Node Manager process will be designated to monitor the redis servers. If
this Node Manager process dies or becomes partitioned from the network, another Node Manager