Hi guys,
Noob question here:
I have a process (heketi) that I want to run on one node and if that node fails start it on a secondary node.
I have done this with consul services(for other services that needs to talk with heketi); consul KV to dump and restore heketi db and with a cron script that checks the health of primary node
I would like to have these 2 nodes in nomad and define 1 service that always needs to be up (use the checks from consul), if primary goes down to start service on the secondary node and start to dump db from that node and also make sure will not start on primary without manual intervention
Thanks,