diff --git a/dicos/90_redis.xml b/dicos/90_redis.xml index 06808a3..c5f74e9 100644 --- a/dicos/90_redis.xml +++ b/dicos/90_redis.xml @@ -9,6 +9,7 @@ rdClIP + redisMasterIP @@ -36,7 +37,6 @@ - Leader @@ -44,10 +44,14 @@ + + + Autorisation d'accès au service Redis Grappe Redis + Serveurs membres de la grappe Redis @@ -73,6 +77,11 @@ redisMasterPort + + master + rdClMemberMaster + + rdClmask @@ -82,6 +91,9 @@ ['Local','Cluster'] + + ['master','slave'] + ['noeviction', 'allkeys-lru','volatile-lru','volatile-random', 'allkeys-random','volatile-ttl'] diff --git a/tmpl/redis.conf b/tmpl/redis.conf index 14bbc83..9cff55e 100644 --- a/tmpl/redis.conf +++ b/tmpl/redis.conf @@ -707,7 +707,7 @@ aof-load-truncated yes # Set it to 0 or a negative value for unlimited execution without warnings. lua-time-limit 5000 -%if %%getVar('redisMode','Local') == "Cluster" +%if %%getVar('redisMode','Local') == "Cluster" and %%getVar('redisRole','Node') == 'Leader' ################################ REDIS CLUSTER ############################### # # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++