Hi Julien, Thank you so much for answer and helpfulness, appreciated.
I will test my scenario and let you know if I get trouble. Regards. On Mon, Feb 6, 2017 at 1:32 PM, Julien Le Cléach <julien.6387....@gmail.com> wrote: > Hi, > > Supvisors (https://github.com/julien6387/supvisors) is designed to that > purpose. > > In the rules file, you just need to configure your service so that it can > be started on any machine declared in the [supvisors] section of the > supervisord configuration file. > When starting the instances of supervisord (including Supvisors plugin) on > all machines, a single instance of your service will be started. > > If the autorestart option of the program is set, your service will be > automatically restarted on an active machine if the current machine is down > (or network is disconnected). > You could also get the crash/stop notification of the process through the > Supvisors Event Interface (ZeroMQ+JSON required). > > If you want to try Supvisors and if you have any trouble with > documentation, configuration or anything else, do not hesitate to email me. > > Regards, > Julien. > > > 2017-02-05 22:26 GMT+01:00 mahmut gundes <mgarg...@gmail.com>: > >> Hello, >> >> I have more than one machines and same service is intsalled to each >> machine but just one of them should run at the same time. I wander if it is >> possible to catch crashes/stops of service on a machine by other machines >> by using supervisord? >> >> I guess it would be possible with XML-RPC api, but I wanted to be sure >> before diving into API. >> >> Any answer or different suggestions will be appreciated. >> >> Thanks, regards. >> >> -- >> Mahmut >> >> _______________________________________________ >> Supervisor-users mailing list >> Supervisor-users@lists.supervisord.org >> https://lists.supervisord.org/mailman/listinfo/supervisor-users >> >> > -- Mahmut Gündeş
_______________________________________________ Supervisor-users mailing list Supervisor-users@lists.supervisord.org https://lists.supervisord.org/mailman/listinfo/supervisor-users