Docs - add verbage to anti-entropy page.
This commit is contained in:
parent
7c85d588d5
commit
7d6f30da1c
|
@ -90,7 +90,8 @@ the same service their `enableTagOverride` configuration and all other service
|
||||||
configuration items are independant of one another. Updating the tags for
|
configuration items are independant of one another. Updating the tags for
|
||||||
the service registered on one node is independant of the same service (by name)
|
the service registered on one node is independant of the same service (by name)
|
||||||
registered on another node. If `enableTagOverride` is not specified the default
|
registered on another node. If `enableTagOverride` is not specified the default
|
||||||
value is false.
|
value is false. See [anti-entropy syncs](/docs/internals/anti-entropy.html)
|
||||||
|
for more info.
|
||||||
|
|
||||||
To configure a service, either provide it as a `-config-file` option to the
|
To configure a service, either provide it as a `-config-file` option to the
|
||||||
agent or place it inside the `-config-dir` of the agent. The file must
|
agent or place it inside the `-config-dir` of the agent. The file must
|
||||||
|
|
|
@ -135,3 +135,17 @@ fashion.
|
||||||
If an error is encountered during an anti-entropy run, the error is logged and
|
If an error is encountered during an anti-entropy run, the error is logged and
|
||||||
the agent continues to run. The anti-entropy mechanism is run periodically to
|
the agent continues to run. The anti-entropy mechanism is run periodically to
|
||||||
automatically recover from these types of transient failures.
|
automatically recover from these types of transient failures.
|
||||||
|
|
||||||
|
### EnableTagOverride
|
||||||
|
|
||||||
|
Synchronization of service registration can be partially modified to allow
|
||||||
|
external agents change the tag value of a service. This can be useful in
|
||||||
|
situations where an external monitoring service needs to be the source of
|
||||||
|
truth for tag information. For instance: Redis DB and its monitoring service
|
||||||
|
Redis Sentinel have this kind of relationship. Redis instances are responsible
|
||||||
|
for much of their configuration, but Sentinels determine whether the Redis
|
||||||
|
instance is a master or a slave. Using the Consul service configuration item
|
||||||
|
[EnableTagOverride](/docs/agent/services.html) you can instruct the Consul
|
||||||
|
agent on which the Redis DB is running to NOT update the tags during anti-entropy
|
||||||
|
synchronization. For more information see [Services](/docs/agent/services.html)
|
||||||
|
page.
|
||||||
|
|
Loading…
Reference in New Issue