On Wed, 2017-11-01 at 11:32 +0000, lejeczek wrote:
> hi everyone
> 
> question - can a resource(systemd) be configured so 
> whenever(enable,move) cluster starts such a resource it does 
> not care/check for it's status and always starts it?
> 
> I have a service that will remain after exit and is of 
> oneshot type, I'd like cluster to start it even if cluster 
> thinks the service is already up.
> 
> many thanks

Pacemaker cannot model one-shot commands well.

Probably the best option is to take the Dummy resource agent and modify
it so that "start" does your one-shot command. Then Pacemaker can start
and stop it as normal.
-- 
Ken Gaillot <kgail...@redhat.com>

_______________________________________________
Users mailing list: Users@clusterlabs.org
http://lists.clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to