On Tue, Nov 24, 2015 at 5:19 PM, Waldemar Brodkorb <m...@waldemar-brodkorb.de> wrote: > Hi, > > we are using a derivate of the Tomcat OCF script. > Our web application needs to be promoted (via a wget call). > But our application is not able to demote in a clean way, so > we need to stop and then start the tomcat applicationserver > to get into slave mode. > > What is the best way to handle this? >
Not sure I understand the question. If your application has to be restarted on demote, you restart it on demote in your RA. Or do I misunderstand your question? _______________________________________________ Users mailing list: Users@clusterlabs.org http://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