Hiiii,<br>One more question...<br>I managed make every things to work with Heartbeat-Pacemaker (2.99 - 1.0.5). I have a cluster ip, pingd, postgresql lsb and a lsb resource successfully configured for slony replication .. But when I restart network via<br>
<br><span style="font-family: courier new,monospace;"># /etc/init.d/networking restart </span><br><br>split-brain is happening.. I have increases my monitor intervels and even dampening in all resources and even in by <a href="http://ha.cf">ha.cf</a> file but still split brain is happening. Please advice me!!!<br>
As I have specified dampening as 90s, the resources are sticking in the master for 90s and the n gets started in slave. that is for 90s it is in tact and gets shifted .. What could be the reason??<br>Here stonith would not work because the resources (maybe pingd) are not supposed to do a failover if I do restart my network in my active machine..<br>
<br>Please advice...<br><br><a href="http://ha.cf">ha.cf</a><br><br><span style="font-family: courier new,monospace;">autojoin none</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">keepalive 2</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">deadtime 60</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">warntime 50</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">initdead 64</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">udpport 694</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">bcast eth1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">auto_failback off</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">node node1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">node node2</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">crm respawn</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> 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 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" 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" 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 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">www.jayakrishnan.bravehost.com</a><br><br>