MySQL Fail Over Error When 1 DB is Down

Det Det det.explorer at yahoo.com
Mon Aug 29 08:05:10 CEST 2011


Hi there,

I can't get FreeRADIUS to ignore error and continue processing when 1 DB is down even when it can connect to the other DB. Below is my config.


# radiusd.conf
instantiate {

...

        redundant redundant_sql {
                sql1
                sql2
                handled
        }
}
modules {
...
        $INCLUDE sql1.conf
        $INCLUDE sql2.conf
}

# sql1.conf
sql sql1 {
        database = "mysql"
…
}

# sql2.conf
sql sql2 {
...
        database = "mysql"
}

# sites-enabled/default

authorize {
        redundant_sql
}
accounting {
      redundant_sql
}
session {
        redundant_sql
}
post-auth {
        redundant_sql
        Post-Auth-Type REJECT {
                redundant_sql
                attr_filter.access_reject
        }
}


bregards,
det
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20110828/5450e3a7/attachment.html>


More information about the Freeradius-Users mailing list