Module: kamailio
Branch: master
Commit: 73ae92bc900472eb6afee12da6265798a59a8cef
URL: https://github.com/kamailio/kamailio/commit/73ae92bc900472eb6afee12da626579…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2017-04-24T14:31:32+02:00
modules: readme files regenerated - ndb_redis ... [skip ci]
---
Modified: src/modules/ndb_redis/README
---
Diff: https://github.com/kamailio/kamailio/commit/73ae92bc900472eb6afee12da626579…
Patch: https://github.com/kamailio/kamailio/commit/73ae92bc900472eb6afee12da626579…
---
diff --git a/src/modules/ndb_redis/README b/src/modules/ndb_redis/README
index 3613f57..54c6ad7 100644
--- a/src/modules/ndb_redis/README
+++ b/src/modules/ndb_redis/README
@@ -187,10 +187,22 @@ modparam("ndb_redis", "cmd_timeout", 500)
If set to 1, the module will connect to servers indicated in the
"MOVED" reply.
+ The module needs to know all existing REDIS-Nodes at startup. The nodes
+ are searched by the name "ip:port", e.g. if REDIS replies with "MOVED
+ 127.0.0.1:4711", ndb_redis needs to know the databases
+ "127.0.0.1:4711".
+
Default value is “0” (disabled).
Example 1.5. Set cluster parameter
...
+modparam("ndb_redis", "server", "name=127.0.0.1:26001;addr=127.0.0.1;port=26001"
+)
+modparam("ndb_redis", "server", "name=127.0.0.1:26004;addr=127.0.0.1;port=26004"
+)
+modparam("ndb_redis", "server", "name=127.0.0.1:26008;addr=127.0.0.1;port=26008"
+)
+...
modparam("ndb_redis", "cluster", 1)
...