On 06/20/2013 06:09 AM, Eamon Daly wrote:
> Thanks for the quick reply, Garrick, but unfortunately it looks like
> that doesn't work: the third (non-MySQL) node comes up as offline. I
> gave it a shot anyway, but sure enough, db2 immediately reset its slave
> status and tried to assume master. Is there something special that needs
> to happen so the cluster considers the third node online even when MySQL
> isn't running?
A node popping up in the Pacemaker cluster, but never going beyond the
OFFLINE status, is usually a symptom of Corosync starting and joining
the Totem ring, but the Pacemaker master control process (pacemakerd)
never getting fired up.
When your three nodes are running, do
corosync-objctl | grep member
to figure out whether you have 2 or 3 nodes joined. Assuming you are
seeing 3, but crm_mon keeps reporting the third node as OFFLINE, chances
are you never did "service pacemaker start" on that third node.
More on checking Corosync membership:
http://www.hastexo.com/resources/hints-and-kinks/checking-corosync-cluster-membership
Cheers,
Florian