Background
- I have an application that is auto-started when a node is started (using .rel, .boot, etc.)
- I want the application to fail-over to alternate nodes if a first node goes down.
- I use Erlang's Distributed Application capability to handle fail-over and take-over.
Problem
The problem is that part of the Distributed Applications Negotiation is that when the nodes handshake to determine which node will stay-up and which will be quiesced, the application is started at all of the nodes. I need the application to NOT be up on multiple nodes if possible.
Question
- Is there a way to have nodes automatically start my application except when involved in the Distributed Applications start-up negotiation? Alternately,
- How do I achieve having my application start in an unattended way and fail-over without requiring my application to be up (even briefly) at multiple nodes