Hi Sudharma,

Electing one master that is able to deploy is the right approach. Since the
metadata of a deployment is written to the database and the database is
shared among all nodes, sending notifications is not necessary. This is all
under the assumption that all nodes share the same deployment folder, e.g.
using SMB or NFS.

HTH,
  Tammo

On Thu, May 14, 2015 at 11:59 AM, sudharma subasinghe <suba...@cse.mrt.ac.lk
> wrote:

> Hi,
>
> In the cluster, every node shares the database and deployment directory. To
> avoid race condition I am going to introduce master and slave
> configuration. Here master node will deploy the process and write the
> version number to the database. Until master node finishes its process all
> the salve nodes will wait. After finishing the master node's task it will
> send a custom message to slave nodes through the cluster. Then they can get
> the version number from database and will read the deployed process to
> deploy it in salve nodes. Please give me ideas on this.
>
> Thanks,
> Sudharma
>



-- 
Tammo van Lessen - http://www.taval.de

Reply via email to