
mikehale at gmail
Sep 4, 2009, 8:30 PM
Post #1 of 1
(377 views)
Permalink
|
Hi I'm attempting to build a redundant load balanced router using heartbeat and clusterip. I've read the documentation and the code ad got as far as I could but I'm unable to get auto failover working when I unplug the network cable from vm-ubuntu-1. I would expect that while pinging my shared ip 172.16.209.200 I and then unplugging the network cable I should notice a small pause while heartbeat figures out that vm-ubuntu-2 should now respond to all requests, but instead the ping hangs and heartbeat does nothing. Any ideas? Here is my ha.cf: logfacility daemon node vm-ubuntu-1 node vm-ubuntu-2 keepalive 1 deadtime 3 bcast eth0 ping 172.16.209.2 crm yes autojoin any And here is my resources.xml (loaded via cibadmin -R --obj_type resources --xml-file resources.xml): <resources> <clone id="router"> <meta_attributes id="router_attributes"> <attributes> <nvpair id="router_globally_unique" name="globally_unique" value="true"/> <nvpair id="router_target_role" name="target_role" value="started"/> <nvpair id="router_resource_stickiness" name="resource-stickiness" value="1"/> </attributes> </meta_attributes> <primitive id="clusterip" class="ocf" type="IPaddr2" provider="heartbeat"> <operations> <op id="clusterip_monitor" name="monitor" interval="3s"/> </operations> <instance_attributes id="clusterip_attributes"> <attributes> <nvpair id="clusterip_ip" name="ip" value="172.16.209.200"/> <nvpair id="clusterip_hash_mode" name="clusterip_hash" value="sourceip-sourceport"/> <nvpair id="cluster_nic" name="nic" value="eth0"/> <nvpair id="cluster_mac" name="mac" value="01:00:5e:10:D1:C8"/> </attributes> </instance_attributes> </primitive> </clone> </resources> _______________________________________________ Linux-HA mailing list Linux-HA [at] lists http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
|