Re: [ClusterLabs] Antw: Re: Antw: Re: ocf:heartbeat:apache does not start

2017-01-11 Thread Stefan Schloesser
have created these directories. While a "sleep 3" seems safe, you always loose 3 seconds. It might be advisable to use a loop checking for the pid file instead. (It would be even better if the starting application creates the pid file before returning). Ulrich >>> Stefan Sch

Re: [ClusterLabs] Antw: Re: ocf:heartbeat:apache does not start

2017-01-11 Thread Stefan Schloesser
could try to hack the RA until it works. Then report your insights. Maybe you want to stop your apache and try "ocf-tester (if available) to test the RA (also good when hacking it). Ulrich >>> Stefan Schloesser schrieb am 18.11.2016 um >>> 12:02 in Nachricht : > Hi, &g

[ClusterLabs] Pacemaker kill does not cause node fault ???

2017-01-10 Thread Stefan Schloesser
Hi, I am currently testing a 2 node cluster under Ubuntu 16.04. The setup seems to be working ok including the STONITH. For test purposes I issued a "pkill -f pace" killing all pacemaker processes on one node. Result: The node is marked as "pending", all resources stay on it. If I manually kill

Re: [ClusterLabs] ocf:heartbeat:apache does not start

2016-11-18 Thread Stefan Schloesser
Hi, any progress on this issue ? I seem to have the same problem the ra does not start due to a missing /var/run/apache2 dir. I found an old bug and a matching fix https://bugs.launchpad.net/ubuntu/+source/cluster-agents/+bug/980180 Which changed a line on startup. Copying this to validate_all