<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi all,<br>
    <br>
    I have a Postgres HA with DRBD, Corosync, Pacemaker.<br>
    <br>
    It worked perfect when I disconnected network card of node 1, or
    standby node1, node2.<br>
    <br>
    But when I shutdown node1, node2 did not bring the resources up.
    There was a message:<br>
    <br>
        "block drbd0: PingAck did not arrive in time."<br>
    <br>
    Here is crm_mon log:<br>
    <br>
    <table width="100%" border="1" cellpadding="2" cellspacing="2">
      <tbody>
        <tr>
          <td valign="top">Online: [ node2 ]<br>
            OFFLINE: [ node1 ]<br>
            <br>
             Clone Set: fencing_pg [stonith_pg]<br>
                 Started: [ node2 ]<br>
                 Stopped: [ stonith_pg:1 ]<br>
             Master/Slave Set: ms_drbd_pg [drbd_pg]<br>
                 Slaves: [ node2 ]<br>
                 Stopped: [ drbd_pg:0 ]<br>
             Clone Set: cl_ping [ping]<br>
                 Started: [ node2 ]<br>
                 Stopped: [ ping:1 ]<br>
            <br>
            <br>
          </td>
        </tr>
      </tbody>
    </table>
    <br>
    <br>
    Here is my configuration:<br>
    <br>
    <table width="100%" border="1" cellpadding="2" cellspacing="2">
      <tbody>
        <tr>
          <td valign="top">node node1 \<br>
                    attributes standby="off"<br>
            node node2 \<br>
                    attributes standby="off"<br>
            primitive drbd_pg ocf:linbit:drbd \<br>
                    params drbd_resource="r0" \<br>
                    op monitor interval="15" \<br>
                    op start interval="0" timeout="240" \<br>
                    op stop interval="0" timeout="120"<br>
            primitive pg_fs ocf:heartbeat:Filesystem \<br>
                    params device="/dev/drbd0" directory="/db/data"
            options="noatime,nodiratime" fstype="xfs" \<br>
                    op start interval="0" timeout="60" \<br>
                    op stop interval="0" timeout="120"<br>
            primitive pg_lsb lsb:postgresql \<br>
                    op monitor interval="30" timeout="60" \<br>
                    op start interval="0" timeout="60" \<br>
                    op stop interval="0" inter<br>
            primitive pg_vip ocf:heartbeat:IPaddr2 \<br>
                    params ip="192.168.25.222" iflabel="pgvip" \<br>
                    op monitor interval="5"<br>
            primitive ping ocf:pacemaker:ping \<br>
                    params dampen="1s" multiplier="1000"
            host_list="192.168.25.1" \<br>
                    op monitor interval="5s"<br>
            primitive stonith_pg stonith:external/ssh \<br>
                    params hostlist="node1 node2"<br>
            group PGServer pg_fs pg_lsb pg_vip<br>
            ms ms_drbd_pg drbd_pg \<br>
                    meta master-max="1" master-node-max="1"
            clone-max="2" clone-node-max="1" notify="true"<br>
            clone cl_ping ping<br>
            clone fencing_pg stonith_pg<br>
            location PG_likes_best_connectivity PGServer \<br>
                    rule $id="PG_likes_best_connectivity-rule" pingd:
            defined pingd<br>
            location PG_needs_connectivity PGServer \<br>
                    rule $id="PG_needs_connectivity-rule" -inf:
            not_defined pingd or pingd lte 0<br>
            colocation col_pg_drbd inf: PGServer ms_drbd_pg:Master<br>
            order ord_pg inf: ms_drbd_pg:promote PGServer:start<br>
            property $id="cib-bootstrap-options" \<br>
                   
            dc-version="1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c"
            \<br>
                    cluster-infrastructure="openais" \<br>
                    expected-quorum-votes="2" \<br>
                    last-lrm-refresh="1352977137" \<br>
                    maintenance-mode="false" \<br>
                    no-quorum-policy="ignore" \<br>
                    maintenace-mode="None" \<br>
                    stonith-action="poweroff"<br>
          </td>
        </tr>
      </tbody>
    </table>
    <br>
    Could you please give me any suggestion?<br>
    <br>
    Thanks,<br>
    <pre class="moz-signature" cols="72">-- 
Hoàng Tuấn Việt
System Administrator
VCCloud Division
Mobile: (+84) 0917 177 054</pre>
  </body>
</html>