ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sudharma subasinghe <suba...@cse.mrt.ac.lk>
Subject Re: Deploying process in the cluster
Date Wed, 20 May 2015 08:13:21 GMT
Hi Tammo,

The master node writes meta data. But runtime information must be available
in all nodes.Since the folder is shared, all nodes will see the
availability of a new process. My idea is for master node to write the meta
data and other nodes to just read the meta data and load process.So we need
a small delay between master node deployment and other nodes deployment.

Is there anyway to set the delay between master node and slaves until
master node finish the deployment?

Thank you
Sudharma


On 20 May 2015 at 13:01, Tammo van Lessen <tvanlessen@gmail.com> wrote:

> Hi Sathwik,
>
> On Wed, May 20, 2015 at 6:40 AM, Sathwik B P <sathwik.bp@gmail.com> wrote:
>
> > Sudharma/Tammo,
> >
> > 1) How do we plan to decide which is the master node in the cluster?
> >
>
> I think the easiest approach is to always elect the oldest node in the
> cluster to be the master. AFAIK Hazelcast can easily asked for this
> information.
>
>
>
> > 2) Don't we need to stall the Deployment Pollers in the slave nodes?
> >
> >
> Absolutely.
>
> Suggestion:
> > I am not sure whether do we need Master-SLaves. Why not give every node
> in
> > the cluster the same status (Active-Active).
> >
> > When a new deployment is made, the load balancer can push it to any of
> the
> > available nodes. That node will probably acquire a distributed lock on
> the
> > deployment unit and acts as master for that deployment. This ensures
> > optimum usage of the cluster nodes. Probably no static configuration of
> > Master-Slave in the load balancer nor in the hazelcast.
> >
>
> But this would not allow to have the hotdeployment via filesystem still
> enabled, right?
>
> Best,
>   Tammo
>
>
> --
> Tammo van Lessen - http://www.taval.de
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message