LB1 Not Taking Over Shared IP Using Heartbeat 2.1.3 On FC10 64Bit

Discussion in 'Installation/Configuration' started by asyadiqin, Jan 22, 2009.

  1. asyadiqin

    asyadiqin New Member

    I have a freshly installed FC10 64Bit server on which I installed HAProxy & Heartbeat using the howto tutorial in this site.

    Setting Up A High-Availability Load Balancer (With Failover and Session Support) With HAProxy/Heartbeat On Fedora 8

    There was no error when installing the packages using yum. I started Heartbeat on the server, ie. lb1.
    As per section 3.4.4, I run the following command
    Instead of the output specified in the howto, this is the output I get
    As you can see above, the LB1 is not binding to the shared IP at all. I stopped Heartbeat and run the following command
    Below is the output
    Below is the part of the content of the log file in /tmp/linux-ha.testlog
    Anyone have any idea what I did wrong? FYI, LB1 is running Fedora Core 10 64Bit. Any help or assistance is appreciated.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Is SELinux disabled?
    Are there any other errors in syslog?
     
  3. asyadiqin

    asyadiqin New Member

    I had disabled both the firewall and Selinux during installation as I don't actually need it as I have a dedicated firewall server.

    As for other errors in syslog, which log file should I be looking at? Should it be in /var/log? I did enabled debugging in heartbeat and its writing to /var/log/ha-debug. Is this what you are referring to?
     
  4. falko

    falko Super Moderator Howtoforge Staff

    I'd check out all logs in the /var/log directory.
     
  5. adam0x54

    adam0x54 New Member

    check your bcast configuration in ha.cf in heartbeat. try commenting out bcast eth0 and mcast and leave ucast eth0 ip-of-other-machine and do the same for the other node. Go to linux-ha.org and try to figure out hearbeat v2. Its a pita to set it up, i am working on it.

    -Adam
     
  6. asyadiqin

    asyadiqin New Member

    FIXED! All that I needed was to add the CIDR in haresource.

    to
    Anyway, its working fine as it is now. Thanks for everyone help.
     

Share This Page