Re: [ClusterLabs] master/slave resource agent without demote

2015-11-30 Thread Ken Gaillot
On 11/25/2015 10:57 PM, Waldemar Brodkorb wrote: > Hi, > Andrei Borzenkov wrote, > >> On Tue, Nov 24, 2015 at 5:19 PM, Waldemar Brodkorb >> wrote: >>> Hi, >>> >>> we are using a derivate of the Tomcat OCF script. >>> Our web application needs to be promoted (via a wget

Re: [ClusterLabs] master/slave resource agent without demote

2015-11-24 Thread Andrei Borzenkov
On Tue, Nov 24, 2015 at 5:19 PM, Waldemar Brodkorb 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

[ClusterLabs] master/slave resource agent without demote

2015-11-24 Thread Waldemar Brodkorb
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?