mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 13:55:55 +00:00
add consul-do to community tools
adding consul-do Do something based on leadership status https://github.com/zeroXten/consul-do From README.md Useful for running cronjobs in HA mode. Run something like this on two or more servers: * * * * * /usr/bin/consul-do JOB-1 $(/bin/hostname) && /path/to/job1 */10 * * * * /usr/bin/consul-do JOB-2 $(/bin/hostname) && /path/to/job2 Only one of the servers will be elected leader and will therefore run the job. Should the leader fail, a follower will take over.
This commit is contained in:
parent
26ce9d16be
commit
13b9ff6330
@ -96,6 +96,9 @@ description: |-
|
|||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/CiscoCloud/consul-cli">consul-cli</a> - Command line interface to Consul HTTP API
|
<a href="https://github.com/CiscoCloud/consul-cli">consul-cli</a> - Command line interface to Consul HTTP API
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="https://github.com/zeroXten/consul-do">consul-do</a> - Do something based on leadership status
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="http://xordataexchange.github.io/crypt/">crypt</a> - Store and retrieve encrypted configuration parameters from etcd or Consul
|
<a href="http://xordataexchange.github.io/crypt/">crypt</a> - Store and retrieve encrypted configuration parameters from etcd or Consul
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user