----- Original Message ----- > From: "Peto Michalak" <[email protected]> > To: [email protected] > Sent: Monday, December 9, 2013 1:14:23 PM > Subject: [Linux-HA] pacemaker restarts services (on the same node) when > failed node returns > > Hello, > > I really searched for the answer before posting : ). > > I have a pacemaker setup + corosync + drbd in Active/Passive mode running > in 2 node cluster on Ubuntu 12.04.3. > > Everything works fine and on node failure the services are taken care of by > the other node (THANKS guys!), well the problem is that I've noticed, that > once the failed node comes back alive, the pacemaker restarts the > postgresql and virtual IP and that takes around 4-7 seconds (but keeps it > on the same node as I wanted, what's the point? :) ). Is this really > necessary, or I've messed up something in the configuration?
any chance you could provide us with a crm_report during the time frame of this unwanted restart? -- Vossel > My pacemaker config: > > node drpg-01 attributes standby="off" > node drpg-02 attributes standby="off" > primitive drbd_pg ocf:linbit:drbd \ > params drbd_resource="drpg" \ > 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/drbd/by-res/drpg" directory="/db/pgdata" > 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" timeout="60" > primitive pg_vip ocf:heartbeat:IPaddr2 \ > params ip="10.34.2.60" iflabel="pgvip" \ > op monitor interval="5" > 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" > 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" \ > no-quorum-policy="ignore" \ > pe-warn-series-max="1000" \ > pe-input-series-max="1000" \ > pe-error-series-max="1000" \ > default-resource-stickiness=1000 \ > cluster-recheck-interval="5min" \ > stonith-enabled="false" \ > last-lrm-refresh="1385646505" > > Thank you. > > Best Regards, > -Peter > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
