Thanks Thomas, that's great I will move to doing this as well.
Kind regards,
Matt
On Mon, Feb 03, 2020 at 04:04:59PM +0000, thomas.leibov...@cea.fr wrote:
Hello Matt,
Yes we do that on CEA sites.
1 daemon for changelogs (possibly, 1 per MDT), and 1 for policy runs, with
distinct systemd services.
We noticed significant performance improvements with such split (it seems the
memory allocator is less in demand for each instance).
Additionally you can split the policy runs eg.
RBH_OPT "--run=cleanup"
RBH_OPT "--run=other_policy"
...
This way you can stop/start policies independently.
'MAINTENANCE SCHEDULING' is not about that.
It makes it possible to "compress" policy delays progressively until a due date
(e.g. if you need a particular action to be completed at a due date.)
Regards,
Thomas
-----Message d'origine-----
De : Matt Rásó-Barnett [mailto:m...@rasobarnett.com]
Envoyé : lundi 3 février 2020 16:17
À : robinhood-support@lists.sourceforge.net
Objet : [robinhood-support] Pause policy runs
Hi all,
Is there a simple way in robinhood v3 to pause all policy runs while
leaving other functionality (such as changelog processing) unaffected?
I usually run a single instance of robinhood per filesystem with:
RBH_OPT="--readlog --run=all"
so the daemon is doing both tasks. Usually if I want to stop policy runs
for a while (eg: some maintenance on the HSM system), I just stop the
daemon, but this then means I am building up a changelog backlog to
process later.
I was thinking about splitting out the various functions into separate
instances of the 'robinhood' daemon, so create a systemd unit for the
equivalent of:
'robinhood --readlog'
'robinhood --run=all'
so I can stop the two functions independently of the other.
Does anyone else do anything like this, or is there a simpler way to
just enable/disable policy runs within an active daemon?
I saw the 'MAINTENANCE SCHEDULING' section of the rbh-report man page,
but I can't find much information on what this does?
Thanks,
Matt Rásó-Barnett
_______________________________________________
robinhood-support mailing list
robinhood-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/robinhood-support
--
Matt Rásó-Barnett
_______________________________________________
robinhood-support mailing list
robinhood-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/robinhood-support