lrmd (heartbeat) is continuously pinging the default gateway

Discussion in 'Technical' started by jnsc, Mar 11, 2010.

  1. jnsc

    jnsc rotaredoM Moderator

    Hi,

    I have a 2 node heartbeat cluster. The network admin told me that gets 20 ping request per second on the gateway from the active node. By looking on the node it's seems like lrmd is pinging the gateway. Both nodes are in the same network, so the gateway should not be used by heartbeat.

    The ping function in hs.cf is not enabled. Does everyone know where it can come from? I don't even understand why 20 times per second, as the keepalive is set to 1 second.

    I'm a little bit lost, as I don't really know what's happening, So any help is appreciated.

    Thanks
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Can you post your heartbeat configuration?
     
  3. jnsc

    jnsc rotaredoM Moderator

    thanks for your reply falko, I should have posted it directlly

    here is the grep -v '^#' /etc/ha.d/ha.cf | grep -v '^$' version of the config file:

    Code:
    logfacility     local0
    keepalive 1
    deadtime 60
    warntime 30
    initdead 120
    udpport 694
    bcast   eth2 eth4       # Linux
    auto_failback off
    node node01.mydomain.net
    node node02.mydomain.net
    use_logd yes
    crm yes
    Thanks
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Hm... Can you see in the
    Code:
    ps aux
    output what process is pinging your gateway?
     
  5. jnsc

    jnsc rotaredoM Moderator

    I do not have access to the machine right now, but the command was something like ping -c1 -q -n MY_GATEWAY_IP, the PPID was lrmd.

    Thanks falko
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Hm... I'm afraid I can't tell where this is coming from... :(
     
  7. jnsc

    jnsc rotaredoM Moderator

    And if you don't know, nodody will :mad:, but thanks again. I will buy and read the german Oreilly book about heartbeat.
     

Share This Page