manifoldcf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wright <daddy...@gmail.com>
Subject Re: Zookeeper configured MCF not working in production mode
Date Tue, 16 Sep 2014 10:29:28 GMT
The processID=A is important mainly because that's needed to distinguish
information that needs to be cleaned up between instances of the agents
processes.  So if you have only one agents process, this is OK.

Karl


On Tue, Sep 16, 2014 at 5:06 AM, Erlend GarĂ¥sen <e.f.garasen@usit.uio.no>
wrote:

> On 16.09.14 10:53, lalit jangra wrote:
>
>> Hi Erlend,
>>
>> Can you please elaborate on how you have configured zookeeper based
>> synchronization, is it in stand alone mode or clustered mode? How many
>> zookeeper nodes are you running for each of node and how many agents are
>> you running?
>>
>
> I'm not very familiar with Zookeeper, so I have just followed the examples
> inside the multiprocess-zk-example folder, i.e.:
> $MCF_HOME/../runzookeeper.sh > /dev/null 2>&1 &
>         # Reading global properties:
>         $MCF_HOME/../setglobalproperties.sh > /dev/null 2>&1 &
>         # Starting Agent process:
>         $MCF_HOME/processes/executecommand.sh
> org.apache.manifoldcf.agents.AgentRun \
>         1>>$LOGDIR/mcf_agent.stdout.log 2>>$LOGDIR/mcf_agent.stderr.log &
> pid=$!
>
> The above lines are from my startup script. I see now that I haven't
> specified "-Dorg.apache.manifoldcf.processid=A", I'm not sure this is
> important, but I can of course try to include that into my script and
> restart everything.
>
> So to the question about how many zookeeper nodes I'm using, the answer is
> one. The same applies to the number of running agents.
>
> Erlend
>

Mime
View raw message