[Pacemaker] mysql m/s failover: 'Could not find first log file name in binary log index file'

Raoul Bhatia [IPAX] r.bhatia at ipax.at
Tue Apr 19 17:53:41 UTC 2011


On 04/19/2011 10:38 AM, Marek Marczykowski wrote:
>> in your opintion, is it possible to fix this via the ocf ra or does it
>> have to be a separate cronjob?
> 
> I haven't idea how to do it in ra. There is no easy way to look what
> binlogs are on the other node. Maybe some tricks storing that info on
> monitor action, but this is ugly and makes ra depending on monitor
> action enabled...
> The easiest solutions are the best :)

what about submitting a "show master logs" query to the to-be master,
checking the available logs and refusing to start if the log-file
disappeared?

cheers,
raoul
-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          r.bhatia at ipax.at
Technischer Leiter

IPAX - Aloy Bhatia Hava OG          web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            office at ipax.at
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
____________________________________________________________________




More information about the Pacemaker mailing list