[ClusterLabs] Corosync+Pacemaker error during failover
priyanka
priyanka at cse.iitb.ac.in
Fri Jan 15 11:14:51 UTC 2016
On 2015-10-08 20:52, emmanuel segura wrote:
> please check if you drbd is configured to call fence-handler
> https://drbd.linbit.com/users-guide/s-pacemaker-fencing.html
yes.
>
> 2015-10-08 17:16 GMT+02:00 priyanka <priyanka at cse.iitb.ac.in>:
>> Hi,
>>
>> We are trying to build a HA setup for our servers using DRBD +
>> Corosync +
>> pacemaker stack.
>>
>> Attached is the configuration file for corosync/pacemaker and drbd.
>>
>> We are getting errors while testing this setup.
>> 1. When we stop corosync on Master machine say server1(lock), it is
>> Stonith'ed. In this case slave-server2(sher) is promoted to master.
>> But when server1(lock) reboots res_exportfs_export1 is started on
>> both
>> the servers and that resource goes into failed state followed by
>> servers
>> going into unclean state.
>> Then server1(lock) reboots and server2(sher) is master but in
>> unclean
>> state. After server1(lock) comes up, server2(sher) is stonith'ed and
>> server1(lock) is slave(the only online node).
>> When server2(sher) comes up, both the servers are slaves and
>> resource
>> group(rg_export) is stopped. Then server2(sher) becomes Master and
>> server1(lock) is slave and resource group is started.
>> At this point configuration becomes stable.
>>
>>
>> PFA logs(syslog) of server2(sher) after it is promoted to master
>> till it is
>> first rebooted when resource exportfs goes into failed state.
>>
>> Please let us know if the configuration is appropriate. From the
>> logs we
>> could not figure out exact reason of resource failure.
>> Your comment on this scenario will be very helpful.
>>
>> Thanks,
>> Priyanka
>>
>>
>> _______________________________________________
>> Users mailing list: Users at clusterlabs.org
>> http://clusterlabs.org/mailman/listinfo/users
>>
>> Project Home: http://www.clusterlabs.org
>> Getting started:
>> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>> Bugs: http://bugs.clusterlabs.org
>>
--
Regards,
Priyanka
MTech3 Sysad
IIT Powai
More information about the Users
mailing list