[Pacemaker] "block drbd0: PingAck did not arrive in time."

Hoang Tuan Viet vietht at vccloud.vn
Tue Nov 20 04:15:21 EST 2012


Hi all,

I have a Postgres HA with DRBD, Corosync, Pacemaker.

It worked perfect when I disconnected network card of node 1, or standby 
node1, node2.

But when I shutdown node1, node2 did not bring the resources up. There 
was a message:

     "block drbd0: PingAck did not arrive in time."

Here is crm_mon log:

Online: [ node2 ]
OFFLINE: [ node1 ]

  Clone Set: fencing_pg [stonith_pg]
      Started: [ node2 ]
      Stopped: [ stonith_pg:1 ]
  Master/Slave Set: ms_drbd_pg [drbd_pg]
      Slaves: [ node2 ]
      Stopped: [ drbd_pg:0 ]
  Clone Set: cl_ping [ping]
      Started: [ node2 ]
      Stopped: [ ping:1 ]




Here is my configuration:

node node1 \
         attributes standby="off"
node node2 \
         attributes standby="off"
primitive drbd_pg ocf:linbit:drbd \
         params drbd_resource="r0" \
         op monitor interval="15" \
         op start interval="0" timeout="240" \
         op stop interval="0" timeout="120"
primitive pg_fs ocf:heartbeat:Filesystem \
         params device="/dev/drbd0" directory="/db/data" 
options="noatime,nodiratime" fstype="xfs" \
         op start interval="0" timeout="60" \
         op stop interval="0" timeout="120"
primitive pg_lsb lsb:postgresql \
         op monitor interval="30" timeout="60" \
         op start interval="0" timeout="60" \
         op stop interval="0" inter
primitive pg_vip ocf:heartbeat:IPaddr2 \
         params ip="192.168.25.222" iflabel="pgvip" \
         op monitor interval="5"
primitive ping ocf:pacemaker:ping \
         params dampen="1s" multiplier="1000" host_list="192.168.25.1" \
         op monitor interval="5s"
primitive stonith_pg stonith:external/ssh \
         params hostlist="node1 node2"
group PGServer pg_fs pg_lsb pg_vip
ms ms_drbd_pg drbd_pg \
         meta master-max="1" master-node-max="1" clone-max="2" 
clone-node-max="1" notify="true"
clone cl_ping ping
clone fencing_pg stonith_pg
location PG_likes_best_connectivity PGServer \
         rule $id="PG_likes_best_connectivity-rule" pingd: defined pingd
location PG_needs_connectivity PGServer \
         rule $id="PG_needs_connectivity-rule" -inf: not_defined pingd 
or pingd lte 0
colocation col_pg_drbd inf: PGServer ms_drbd_pg:Master
order ord_pg inf: ms_drbd_pg:promote PGServer:start
property $id="cib-bootstrap-options" \
dc-version="1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c" \
         cluster-infrastructure="openais" \
         expected-quorum-votes="2" \
         last-lrm-refresh="1352977137" \
         maintenance-mode="false" \
         no-quorum-policy="ignore" \
         maintenace-mode="None" \
         stonith-action="poweroff"


Could you please give me any suggestion?

Thanks,

-- 
Hoàng Tua^'n Vie^.t
System Administrator
VCCloud Division
Mobile: (+84) 0917 177 054

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20121120/d023609f/attachment-0002.html>


More information about the Pacemaker mailing list