On 2011-11-11 09:22, Junko IKEDA wrote: > Hi, > > I am running MySQL replication setting with 2 nodes Master/Slave > configuration. > If Slave status(secs_behind) is lager than Master's parameter(max_slave_lag), > Slave data is outdated, right? > check_slave() in mysql RA would run "crm_master -v 0" in this > situation to mark Slave as "outdated", > but if Master is shut down in this status, > Slave will be able to promote instead of its old data. > (is this correct?) > It seems that "crm_master -v -INFINITY" is effectual to prevent Slave > promotion.
forwarding this to marek and fghaas as i'm not familiar with multi-state handling inside resource agents. cheers, raoul -- ____________________________________________________________________ DI (FH) Raoul Bhatia M.Sc. email. [email protected] Technischer Leiter IPAX - Aloy Bhatia Hava OG web. http://www.ipax.at Barawitzkagasse 10/2/2/11 email. [email protected] 1190 Wien tel. +43 1 3670030 FN 277995t HG Wien fax. +43 1 3670030 15 ____________________________________________________________________ _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
