On Fri, Jan 8, 2010 at 12:15 PM, Jason Lee <[email protected]> wrote: > hi,all: > > What does the ocf:heartbeat:pingd use for?
Well presumably you created a pingd resource for a reason.... http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/ch09s03s03.html "Setting up the cluster to move resources when external connectivity is lost, is a two-step process." Looks like you only completed step 1, now go and read about step 2: http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/ch09s03s03s02.html > > I add the resource to my cluster: > > crm(live)configure# primitive ping-test ocf:heartbeat:pingd params > host_list=172.16.2.1 op monitor > interval=10s > crm(live)configure# commit > > > But if i set iptables to drop all icmp packages on 172.16.2.1: > iptables -A OUTPUT -o vb1 -p icmp -j DROP > > nothing changed. > > #crm_mon > ============ > Last updated: Fri Jan 8 19:12:04 2010 > Stack: Heartbeat > Current DC: vm3 (952cbf63-ec62-4371-942a-626022c113ba) - partition with quorum > Version: 1.0.6-cebe2b6ff49b36b29a3bd7ada1c4701c7470febe > 3 Nodes configured, unknown expected votes > 2 Resources configured. > ============ > > Online: [ vm1 vm2 vm3 ] > > ping-test (ocf::heartbeat:pingd): Started vm1 > > > What does the ocf:heartbeat:pingd use for? > > > > > > _______________________________________________ > 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
