[Pacemaker] crond on both nodes (active/passive) but some jobs on active only

andreas graeper agraeper at googlemail.com
Fri Jul 5 14:52:35 UTC 2013


when i wrote a script handled by ocf:heartbeat:anything i.e. that is
signalling the cron-daemon to reload crontabs
when crontab file is enabled by symlink:start and disabled by symlink:stop

how can i achieve that the script runs after symlink :start and :stop ?
when i define order-constraint R1 then R2 this implizit means R1:start ,
R2:start and R2:stop, R1:stop ?

thanks in advance
andreas


2013/7/5 andreas graeper <agraeper at googlemail.com>

> hi,
> two nodes active/passive and fetchmail as cronjob shall run on active only.
>
> i use ocf:heartbeat:symlink to move / rename
>
> /etc/cron.d/jobs <> /etc/cron.d/jobs.disable
>
> i read anywhere crond ignores files with dot.
>
> but new experience: crond needs to restarted or signalled.
>
> how this is done best within pacemaker ?
> is clone for me ?
>
>
> thanks in advance
> andreas
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130705/efa7de78/attachment.htm>


More information about the Pacemaker mailing list