I'd suggest an approach like Florian's from the Virtualdomain RA. Here's a quote, guess you get the idea.
shutdown_timeout=$((($OCF_RESKEY_CRM_meta_timeout/1000)-5)) Regards Dominik Dejan Muhamedagic wrote: > Hi Hideo-san, > > On Mon, Nov 30, 2009 at 11:00:05AM +0900, renayama19661...@ybb.ne.jp wrote: >> Hi, >> >> We discovered a problem in an test of mysql. >> >> It is the problem that mysql cannot stop. >> This problem seems to occur at the time of diskfull and high CPU load. >> >> We included an escalation stop like pgsql. >> >> The problem is broken off by this revision, and a stop succeeds. >> >> Please commit this patch in a development version. > > Many thanks for the patch. I'm just not sure about the default > escalate time. You set it to 30 seconds, perhaps it should be set > to something longer. Otherwise some cluster configurations where > the stop operation takes longer may have problems. I have no idea > which value should we use, but I would tend to make it longer rather > than shorter. _______________________________________________________ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/