Retry_join on configuration files

Hello everyone,

I am confuse about “retry_join” arguments, I have 3 Consul servers (A,B,C) and 3 Consul clients (D,E,F).

  1. When I config retry_join on Consul server do I need to include Consul client? like “retry_join=[A,B,C,D,E,F]” or just Consul server “retry_join=[A,B,C]”
  2. When I config retry_join on Consul client do I need to include Consul client? like “retry_join=[A,B,C,D,E,F]” or just Consul server “retry_join=[A,B,C]”

-retry-join - Similar to -join but allows retrying a join until it is successful. Once it joins successfully to a member in a list of members it will never attempt to join again. Agents will then solely maintain their membership via gossip. This is useful for cases where you know the address will eventually be available. This option can be specified multiple times to specify multiple agents to join.

So no matter on server or client, configurate both IP in retry_join, then Consul can solely maintain it self via gossip.
Many thanks.