Florian Haas wrote:
> On 2010-05-03 09:24, Andrew Beekhof wrote:
>   
>> On Thu, Apr 29, 2010 at 7:37 PM, mike <[email protected]> wrote:
>>     
>>> Hello all,
>>>
>>> We had a simple 2 node MySQL cluster - nothing special. One instance
>>> that worked perfectly. We recently added 3 instances and now we're
>>> having some issues. The problem is that Heartbeat issues a MySQL Status
>>> immediately after the MySQL Start .. and of course the MySQL Status will
>>> fail given that the instances are still coming up .
>>>       
>> The start operation should not return until MySQL is fully up.
>> Is this an LSB or OCF script?
>>     
>
> I would almost certainly assume LSB. Or even some home-grown script. The
> OCF RA loops on status during start, so start doesn't return until MySQL
> is definitely up.
>
> Mike, please use the ocf:heartbeat:mysql RA bundled with the
> resource-agents package.
>
> Cheers,
> Florian
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
You're right, it is LSB. We actually have it working now with some 
script tweaks. I guess next time I use mysql in HA I'll try the OCF RA.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to