Hi Shazni, AFAIK, the taskServerCount value specifies the number of nodes in the cluster, which basically represents the number of server instances that will share the task scheduling. Task scheduling will only begin after the given number of servers are activated. Task framework ensures to execute any given task only in a single node in the cluster.
Since EI doesn't have worker/manager deployment, The value for the *taskServerCount *on two node EI cluster should be 2. I think we require documentation update here. Thanks, Vijitha. On Mon, Sep 10, 2018 at 11:57 AM Shazni Nazeer <[email protected]> wrote: > Hi, > > I would like to know the recommendation on taskServerCount in the > task-config.xml as outlined in the document [1]. In a two-node EI, for a > scheduled task to not duplicate we need axis2 (hazelcast) clustering > enabled right? > > And what's the recommended value on this scenario for the taskServerCount? > Does keeping it 1 cause the teaks to duplicate? > > [1] > https://docs.wso2.com/display/ADMIN44x/Configuring+the+Task+Scheduling+Component > > -- > Shazni Nazeer > > Mob : +94 777737331 > LinkedIn : http://lk.linkedin.com/in/shazninazeer > > Blogs : > > https://medium.com/@mshazninazeer > http://shazninazeer.blogspot.com > > <http://wso2.com/signature> > -- Vijitha Ekanayake Senior Software Engineer*, *WSO2, Inc.; http://wso2.com/ Mobile : +94 777 24 73 39 | +94 718 74 44 08 lean.enterprise.middleware
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
