We are currently using wesher (https://github.com/costela/wesher) for our overlay network. Wesher does not allow you to set which IP is set to a specific host when it gets added to the cluster. Currently if we have 10 servers with IP’s
then on every sever running keydb we have
replicaof 172.16.50.2 etc.
on the hosts own box we remove it’s IP so it does not try to connect to it’s self. As mentioned above as each box comes and goes the IP is dynamically set. Is there any harm in a keydb instance having it’s own IP as part of the list as a replicaof? If now the only “hackery” I can think of is for a bash script to auto generate the keydb config file and remove it’s own IP from the list of IP’s.