Hi, 
 
I would like to use pingd to check connectivity on my R2-style cluster. The
cluster configuration is very simple at this time: just 2 nodes and 1 IPaddr
resource.
Each node has eth0 interface used for production traffic and eth1
(cross-cable) for clustering. Pingd should check the eth0 gateway
connectivity, but nothing happens if the gateway can't response to one of
the nodes (no switchover take place). So i checked the network communication
by running a sniffer and i noticed that NO ICMP traffic was send by the
nodes!
 
ha.cf config:
^^^^^^^^^^^^^
logfacility     daemon
logfile         /var/log/ha.log
keepalive 1
deadtime 5
warntime 3
initdead 10
udpport 694
bcast eth1
auto_failback off
node    n01.alvarez.it
node    n02.alvarez.it
apiauth pingd gid=root uid=root
respawn root /usr/lib/heartbeat/pingd -a pingd -m 100 -d 5s -p
/var/run/pingd.pid -h 192.168.112.2
use_logd off
crm on
 
Cib configuration:
^^^^^^^^^^^^^^^^^^^^
   <configuration>
     <crm_config>
       <cluster_property_set id="cib-bootstrap-options">
         <attributes>
           <nvpair id="cib-bootstrap-options-dc-version" name="dc-version"
value="2.1.3-node: 552305612591183b1628baa5bc6e903e0f1e26a3"/>
         </attributes>
       </cluster_property_set>
     </crm_config>
     <nodes>
       <node id="d0536bc9-ab57-40c8-885f-3469226669be"
uname="n01.alvarez.it" type="normal"/>
       <node id="c5bc592f-e869-4eab-9763-0c6f164ef5f8"
uname="n02.alvarez.it" type="normal"/>
     </nodes>
     <resources>
       <primitive id="ip_resource" class="ocf" type="IPaddr"
provider="heartbeat">
         <instance_attributes id="ip_attributes">
           <attributes>
             <nvpair id="ip" name="ip" value="192.168.112.170"/>
           </attributes>
         </instance_attributes>
         <operations>
           <op id="ip_resource-ip-1" name="monitor" interval="6s"
timeout="8s"/>
         </operations>
       </primitive>
     </resources>
     <constraints>
       <rsc_location id="res1-net1-connected" rsc="ip_resource">
         <rule id="res1-net1-connected-rule" score_attribute="pingd">
           <expression id="res1-net1-connected-rule-1" attribute="pingd"
operation="defined"/>
         </rule>
       </rsc_location>
     </constraints>
   </configuration>
 
What's wrong? Is it a bug or just a missconfiguration?
 
Thanks a lot
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to