Adding the Leader to the cluster.conf
This commit is contained in:
parent
325e51b0cf
commit
9ad47896a5
@ -1,4 +1,6 @@
|
||||
%if %%getVar('active_redis','non') == 'oui' and %%getVar('redisRole','Node') == 'Leader'
|
||||
%for %%node in %%getvar('rdMemberIP',[])
|
||||
%if %%getVar('activer_redis','non') == 'oui' and %%getVar('redisRole','Node') == 'Leader'
|
||||
127.0.0.1:%%{redisPort}:master::
|
||||
%for %%node in %%getVar('rdClMemberIP',[])
|
||||
%%{node}:%%{node.rdClMemberPort}:%%{node.rdClMemberRole}:%%{node.rdClMemberMaster}
|
||||
%end for
|
||||
%end if
|
||||
|
Loading…
Reference in New Issue
Block a user