On 14.11.2011 09:55, Raoul Bhatia [IPAX] wrote:
> 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.

Did you set "evict_outdated_slaves"?

-- 
Pozdrawiam / Best Regards,
Marek Marczykowski          |   gg:2873965      | RLU #390519
marmarek at staszic waw pl  | xmpp:marmarek at staszic waw pl

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to