Hi, i left the redundant for a while and today i am trying again, and it fails <br><br>I have this on the radiusd.conf<br><br> detail {<br> fail = 1<br> }<br> redundant redundant_sql {<br> sql1<br>
sql2<br> handled<br> }<br><br> redundant redundant_sqlip {<br> sqlippool1<br> sqlippool1<br> #notfound = return<br> handled<br>
}<br><br>And on the sites-enable/default<br><br>authorize {<br> preprocess<br> chap<br> mschap<br> suffix<br> eap {<br> ok = return<br> }<br> redundant_sql<br>
pap<br> expiration<br> logintime<br> pap<br>}<br><br>authenticate {<br> Auth-Type PAP {<br> pap<br> }<br> Auth-Type CHAP {<br> chap<br> }<br>
Auth-Type MS-CHAP {<br> mschap<br> }<br> unix<br> eap<br>}<br><br>preacct {<br> preprocess<br> acct_unique<br> suffix<br>}<br><br>accounting {<br> detail<br>
redundant_sql<br> radutmp<br> redundant_sqlip<br>}<br><br><br>session {<br> radutmp<br> redundant_sql<br>}<br><br><br>post-auth {<br> redundant_sql<br> redundant_sqlip<br>
exec<br> Post-Auth-Type REJECT {<br> attr_filter.access_reject<br> }<br>}<br><br>pre-proxy {<br>}<br><br>post-proxy {<br> eap<br>}<br><br><br>And Sql stills fail when one of the database isn't available. Is this configuration right?<br>
<br><br><br><br><br><div class="gmail_quote">On Wed, Oct 27, 2010 at 4:36 PM, Rhommel Lamas <span dir="ltr"><<a href="mailto:roml@rhommell.com">roml@rhommell.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
ok i was getting crazy around here thought it was something about my configuration :) Good To know that<br>
Sql instances should have a variable that you can setup in case you are using a failover and it adjust some parameters like<br>
<br>
1.- readclients: Actually i had to set the variable readclients to NO on one of my sql instances, i think it would be helpfull to set that on the radiusd.conf something like readclients = sql_redundant.<br>
2.- sqlippool.conf: I think it wouldbe helpfull if sql-instance-name could be assigned from a redundant instance declared on the radiusd.conf<br>
<br>
<br>
Of course those are ideas i don't know you guys have more experience on this maybe mine are lame.<br>
<br>
<br>
Thanks for the Help.<br>
<font color="#888888"><br>
<br>
Rhommel Lamas.<br>
</font><div><div></div><div class="h5"><br>
<br>
<br>
<br>
On Oct 27, 2010, at 4:17 PM, Alan DeKok wrote:<br>
<br>
> Rhommel Lamas wrote:<br>
>> For example i have 2 Databases server, and 1 radius server, i need to configure it for failover.<br>
>> I already configured both Sql instances, and both sqlippool instances.<br>
><br>
> OK.<br>
><br>
>> When i start radius i see two scenarios:<br>
>> 1.- If both Databases are up and running Radius Works.<br>
><br>
> That's the intent.<br>
><br>
>> 2.- If one of my mysql is down radius won't start because it fails to connect to the database that is down.<br>
><br>
> That's also the intent.<br>
><br>
>> Is this the right way or i am failling on something?<br>
><br>
> It's the way it works now. We're looking into making it more flexible<br>
> in the future.<br>
><br>
> Alan DeKok.<br>
> -<br>
> List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best Regards,<div><br></div><div>Rhommel A. Lamas N. </div><div><br></div><div>Sent from my Blackberry 8900.</div><br>