Failover fails in proxy.conf

Santiago Balaguer García santiagoawa at hotmail.com
Mon Jun 15 17:43:06 CEST 2009


Hi,

 

  I am using in my AAA servers the freeradius 2.1.3 version. 

I am configuring the failover for the myrealm.com in proxy.conf.

For myrealm.com realm I have two AAA servers: 1.2.3.4 and 1.2.3.5

############################################################

home_server primary_server {
        type = auth+acct
        ipaddr = 1.2.3.4
        port = 1812
        secret = mysecret
        require_message_authenticator = no
        response_window = 5
        zombie_period = 60
        revive_interval = 5
        status_check = status-server
        check_interval = 60

        num_answers_to_alive = 3
}
home_server secondary_server {
        type = auth+acct
        ipaddr = 1.2.3.5
        port = 1812
        secret = mysecret
        require_message_authenticator = no
        response_window = 5
        zombie_period = 60
        revive_interval = 5
        status_check = status-server
        check_interval = 60

        num_answers_to_alive = 3
}

 

home_server_pool roam_pool {
        type = fail-over
        home_server = primary_server

        home_server = secondary_server
}
realm myrealm.com {
        nostrip
        pool            = roam_pool
}

#################################################

With the primary server everything works fine, but my problem is when I force to switch to fallover server (I switch off IP 1.2.3.4 machine) my freeradius server does not change to request 1.2.3.5 server.

 

I try the fowoling configuration:

################################################3

home_server primary_server {

...

}

home_server secondary_server {

...

}

home_server_pool roam_pool {
        type = fail-over
        home_server = primary_server

}
realm myrealm.com {
        nostrip
        pool            = roam_pool
}

home_server_pool roam_pool2 {
        type = fail-over
        home_server = secondary_server
}
realm myrealm.com {
        nostrip
        pool            = roam_pool2
}

############################################3

With the same result --> does not work.

 

Any suggestion?

_________________________________________________________________
Nuevo Windows Live, un mundo lleno de posibilidades. Descúbrelo.
http://www.microsoft.com/windows/windowslive/default.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090615/2be115c0/attachment.html>


More information about the Freeradius-Users mailing list