hi list,

i'm trying to do configurable fail-over on the accounting section using
sql:

modules {
        sql cdr1 {
                server = x.x.x.x
                radiusdb = cdr
                blah blah
        }
        sql cdr2 {
                server = y.y.y.y
                radiusdb = cdr
                blah blah
        }
}

accounting {
        group {
                cdr1 {
                        fail = 1
                        ok = return
                }
                cdr2 {
                        fail = 1
                        ok = return
                }
        }
}

parallel table schema are in effect on two db servers.

is there a way to force a module to fail within specific period by
setting a timeout param? say, if the module doesn't send a return value
in X seconds, fail code will be in effect?

the goal is to send the request to the next module (cdr2).

the current setup seems to work if the ff are true:
1. db server is down
2. no more sockets could be setup between radius and db

any comments?

tia,

roy


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

Reply via email to