Problem with. How To Set Up A Loadbalanced High-Availability Apache Cluster

Discussion in 'HOWTO-Related Questions' started by Torsson, Jun 25, 2009.

  1. Torsson

    Torsson New Member

    Hi i got a problem with the guide

    How To Set Up A Loadbalanced High-Availability Apache Cluster

    it dosent redirect to the virtual ip address and ipvsadm -L -n gives me this


    My configuration

    /etc/ha.d/ha.cf
    logfacility local0
    bcast eth0 # Linux
    mcast eth0 225.0.1.1 694 1 0
    auto_failback off
    node wendecoserver1
    node wendecoserver2
    respawn hacluster /usr/lib/heartbeat/ipfail
    apiauth ipfail gid=haclient uid=hacluster


    /etc/ha.d/haresources
    wendecoserver1 \
    ldirectord::ldirectord.cf \
    LVSSyncDaemonSwap::master \
    IPaddr2::192.168.1.106/24/eth0/192.168.1.255

    /etc/ha.d/ldirectord.cf
    checktimeout=10
    checkinterval=2
    autoreload=no
    logfile="local0"
    quiescent=yes

    virtual=192.168.1.106:80
    real=192.168.1.38:80 gate
    real=192.168.1.35:80 gate
    fallback=127.0.0.1:80 gate
    service=http
    request="ldirector.php"
    receive="Connected to MySQL"
    scheduler=rr
    protocol=tcp
    checktype=negotiate


    Can anybody help me. need the servers to be redy and functional in a few days and fly them to stockholm to the server center :$
     
  2. Torsson

    Torsson New Member

    Problem solved

    I found the problem. i had wrong name of the php file to check
     

Share This Page