[Pacemaker] 2 Node Clustering, when primary server goes down(shutdown) the secondary server restarts

kamal kishi kamal.kishi at gmail.com
Tue Oct 28 01:39:09 EDT 2014


Hi all,

      Facing a strange issue which I'm not able to resolve as I'm not sure
where what is going wrong as the logs is not giving away much to my
knowledge.

Issue -
Have configured 2 Node Clustering, have attached the configuration file(New
CRM conf of BIC.txt).

If Server2 which is primary is shutdown(forcefully by turning off the
switch), Server1 restarts within few seconds and starts the resources. Even
though the Server1 restarts and starts the resources the time taken to
recover is too long to convince the clients and the current working is
erroneous is what I feel.

Have attached the syslog with this mail.(syslog)

Do go through the same and let know a solution to resolve the same as the
setup is in clients place.

-- 
Regards,
Kamal Kishore B V
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20141028/c401ffe4/attachment-0002.html>
-------------- next part --------------
crm configure
property no-quorum-policy=ignore
property stonith-enabled=false
property default-resource-stickiness=1000
commit
bye

crm configure
primitive resDRBDr1 ocf:linbit:drbd \
params drbd_resource="r0" \
op start interval="0" timeout="240s" \
op stop interval="0" timeout="100s" \
op monitor interval="20s" role="Master" timeout="240s" \
op monitor interval="30s" role="Slave" timeout="240s" \
meta migration-threshold="3" failure-timeout="58s"
primitive resOCFS2r1 ocf:heartbeat:Filesystem \
params device="/dev/drbd/by-res/r0" directory="/cluster" fstype="ocfs2" \
op monitor interval="10s" timeout="60s" \
op start interval="0" timeout="120s" \
op stop interval="0" timeout="60s" \
meta migration-threshold="3" failure-timeout="60s"
primitive resXen1 ocf:heartbeat:Xen \
params xmfile="/home/cluster/xen/win7.cfg" name="xenwin7" \
op monitor interval="20s" timeout="62s" \
op start interval="0" timeout="120s" \
op stop interval="0" timeout="60s" \
op migrate_from interval="0" timeout="90s" \
op migrate_to interval="0" timeout="90s" \
meta allow-migrate="true" target-role="started"

ms msDRBDr1 resDRBDr1 \
meta notify="true" master-max="2" interleave="true" target-role="Started"
clone cloOCFS2r1 resOCFS2r1 \
meta interleave="true" ordered="true" target-role="Started"

colocation colOCFS12-with-DRBDrMaster inf: cloOCFS2r1 msDRBDr1:Master
colocation colXen-with-OCFSr1 inf: resXen1 cloOCFS2r1
order ordDRBD-before-OCFSr1 inf: msDRBDr1:promote cloOCFS2r1:start
order ordOCFS2r1-before-Xen1 inf: cloOCFS2r1:start resXen1:start

commit
bye
-------------- next part --------------
A non-text attachment was scrubbed...
Name: syslog
Type: application/octet-stream
Size: 190508 bytes
Desc: not available
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20141028/c401ffe4/attachment-0002.obj>


More information about the Pacemaker mailing list