Create and initd or systemd service that can handle your app, then create it as pacemaker resource.
Victor Acosta RHCE - RHCSA - VCA-DCV 2015-11-24 11:19 GMT-03:00 Waldemar Brodkorb <m...@waldemar-brodkorb.de>: > 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? > > Have anyone an idea? > > best regards > Waldemar > > > _______________________________________________ > 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 >
_______________________________________________ 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