<br><br><div class="gmail_quote">On Mon, Mar 1, 2010 at 4:04 PM, Andrew Beekhof <span dir="ltr"><<a href="mailto:andrew@beekhof.net">andrew@beekhof.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div class="im">On Thu, Feb 25, 2010 at 7:32 PM, Jayakrishnan <<a href="mailto:jayakrishnanlll@gmail.com">jayakrishnanlll@gmail.com</a>> wrote:<br>
> Hiiii,<br>
> One more question...<br>
> I managed make every things to work with Heartbeat-Pacemaker (2.99 - 1.0.5).<br>
> I have a cluster ip, pingd, postgresql lsb and a lsb resource successfully<br>
> configured for slony replication .. But when I restart network via<br>
><br>
> # /etc/init.d/networking restart<br>
><br>
> split-brain is happening.. I have increases my monitor intervels and even<br>
> dampening in all resources and even in by <a href="http://ha.cf" target="_blank">ha.cf</a> file but still split brain<br>
> is happening. Please advice me!!!<br>
<br>
</div>I guess its permanently affecting Heartbeat's communication or<br>
membership mechanisms.<br></blockquote><div><br>Thanks for your reply Andrew....<br>Yea it should be ,,, My heartbeat link is via a cross over cables directly connected... How about increasing the 'keepalive' time or 'deadtime' again....  <br>

<br>IN my ha.cf.deadtime' is 60sec, warntime is 50sec... <br>In my pingd resource i have given dampen as 60sec, monitor interval as 65sec, ie, greater than dead time in ha.cf... ohhh.... did i missed it... My dead time in <a href="http://ha.cf">ha.cf</a> is same as dampen in pingd... Could it be the issue... However it is not supposed to give a failover when I restart my network,, naaa?<br>

<br><br>With lots of thanks and regards,<br>Jayakrishnan. L<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5"><br>
> As I have specified dampening as 90s, the resources are sticking in the<br>
> master for 90s and the n gets started in slave. that is for 90s it is in<br>
> tact and gets shifted .. What could be the reason??<br>
> Here stonith would not work because the resources (maybe pingd) are not<br>
> supposed to do a failover if I do restart my network in my active machine..<br>
><br>
> Please advice...<br>
><a href="http://ha.cf" target="_blank">ha.cf</a><br>
><br>
> <span style="background-color: rgb(255, 255, 153);">autojoin none</span><br style="background-color: rgb(255, 255, 153);"><span style="background-color: rgb(255, 255, 153);">
> keepalive 2</span><br style="background-color: rgb(255, 255, 153);"><span style="background-color: rgb(255, 255, 153);">
> deadtime 60</span><br style="background-color: rgb(255, 255, 153);"><span style="background-color: rgb(255, 255, 153);">
> warntime 50</span><br style="background-color: rgb(255, 255, 153);"><span style="background-color: rgb(255, 255, 153);">
> initdead 64</span><br style="background-color: rgb(255, 255, 153);"><span style="background-color: rgb(255, 255, 153);">
> udpport    694</span><br style="background-color: rgb(255, 255, 153);"><span style="background-color: rgb(255, 255, 153);">
> bcast eth1</span><br style="background-color: rgb(255, 255, 153);"><span style="background-color: rgb(255, 255, 153);">
> auto_failback off</span><br style="background-color: rgb(255, 255, 153);"><span style="background-color: rgb(255, 255, 153);">
> node node1</span><br style="background-color: rgb(255, 255, 153);"><span style="background-color: rgb(255, 255, 153);">
> node node2</span><br style="background-color: rgb(255, 255, 153);"><span style="background-color: rgb(255, 255, 153);">
> crm respawn</span><br style="background-color: rgb(255, 255, 153);"><span style="background-color: rgb(255, 255, 153);">
>  use_logd yes</span><br>
> -----------------------------------<br>
><br>
> My crm-cli<br>
><br>
> node $id="3952b93e-786c-47d4-8c2f-a882e3d3d105" node2 \<br>
>     attributes standby="off"<br>
> node $id="ac87f697-5b44-4720-a8af-12a6f2295930" node1 \<br>
>     attributes standby="off"<br>
> primitive pgsql lsb:postgresql-8.4 \<br>
>     meta target-role="Started" \<br>
>     op monitor interval="120s" timeout="60s"<br>
> primitive pingd ocf:heartbeat:pingd \<br>
>     params name="pingd" dampen="90" multiplier="100" host_list="192.168.10.1<br>
> 192.168.10.69" \<br>
>     op monitor interval="65s" timeout="20s"<br>
> primitive slony-fail lsb:slony_failover \<br>
>     meta target-role="Started"<br>
> primitive vir-ip ocf:heartbeat:IPaddr2 \<br>
>     params ip="192.168.10.10" nic="eth0" cidr_netmask="24"<br>
> broadcast="192.168.10.255" \<br>
>     op monitor interval="65s" timeout="20s" \<br>
>     meta target-role="Started"<br>
> clone pgclone pgsql \<br>
>     meta notify="true" globally-unique="false" interleave="true"<br>
> target-role="Started"<br>
> clone pingclone pingd \<br>
>     meta globally-unique="false"<br>
> location ip-on-pingd vir-ip \<br>
>     rule $id="ip-on-pingd-rule" -inf: not_defined pingd or pingd number:lte<br>
> 0<br>
> colocation slony-with-ip inf: slony-fail vir-ip<br>
> order ip-b4-slony inf: vir-ip slony-fail<br>
> property $id="cib-bootstrap-options" \<br>
>     no-quorum-policy="ignore" \<br>
>     stonith-enabled="false" \<br>
>     dc-version="1.0.5-3840e6b5a305ccb803d29b468556739e75532d56" \<br>
>     cluster-infrastructure="Heartbeat" \<br>
>     last-lrm-refresh="1267090743"<br>
> rsc_defaults $id="rsc-options" \<br>
>     resource-stickiness="1000"<br>
> ==========================================<br>
> --<br>
> Thanks & Regards,<br>
><br>
> Jayakrishnan. L<br>
><br>
> Visit: <a href="http://www.jayakrishnan.bravehost.com" target="_blank">www.jayakrishnan.bravehost.com</a><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Pacemaker mailing list<br>
> <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
> <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
><br>
><br>
<br>
_______________________________________________<br>
Pacemaker mailing list<br>
<a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Jayakrishnan. L<br><br>Visit: <a href="http://www.jayakrishnan.bravehost.com">www.jayakrishnan.bravehost.com</a><br><a href="http://www.foralllinux.blogspot.com">www.foralllinux.blogspot.com</a><br>

<br>