Hello,

        I configured FreeRADIUS (20010909 CVS) with MySQL. I would like to
configre fail-over for MySQL accounting. I tryed:
accounting {
        acct_unique
        detail
        group {
            sql_primary {
                fail     = 1
                notfound = 2
                noop     = return
                ok       = return
                updated  = return
                reject   = return
                userlock = return
                invalid  = return
                handled  = return
            }
            sql_secondary {
                fail     = 1
                notfound = 2
                noop     = return
                ok       = return
                updated  = return
                reject   = return
                userlock = return
                invalid  = return
                handled  = return
            }
        }
        unix
        radutmp
        sradutmp
}

If I turned off the primary server, I didn't get data to secondary. I
started RADIUS in debug mode (-xx), and I found, that primary returned
"ok" while primary DB was down. Probably for this reason the secondary DB
didn't get anything from radius server. It is OK to return ok message when
the db is down? I think it is not right...

Any idea?

        Thanks,
                Thomas


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to