<div dir="ltr">Suggestion noted!<br><br>As I said we tried our way and got our way! But then things always work during testing right!<br><br>If at some point we do see that the radius disagrees with us , we will create a redundant set up for part2 as well.<br>
<br>Thanks again!<br><br><br><div class="gmail_quote">On Tue, Dec 13, 2011 at 1:19 PM, Fajar A. Nugraha <span dir="ltr"><<a href="mailto:list@fajar.net">list@fajar.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Tue, Dec 13, 2011 at 3:57 PM, Shweta Khadse <<a href="mailto:shwetgk@gmail.com">shwetgk@gmail.com</a>> wrote:<br>
> Fajar<br>
><br>
> Appreciate the time you are taking to help out!<br>
><br>
> Its like this. We have two parts right<br>
><br>
> Part 1 -<br>
><br>
> Redundant module having sql1 and sql2<br>
> This is a critical module ,so if sql1 fails it tries sql2. So far so good!<br>
><br>
> Part 2 -<br>
><br>
> sql_update_xxxx , sql_update_yyyy<br>
><br>
> The above two update a different schema with some additional information.<br>
> This action is not very critical and does NOT have a redundant set up. What<br>
> we want is that the outcome of part2 should not affect the overall<br>
> accounting response.<br>
><br>
> So if Part 2 fails , the result of Part 1 should override it (whatever the<br>
> result of Part 1 maybe).<br>
<br>
</div>There's no such thing as "override" in accounting section. At least<br>
not that I know of :)<br>
<br>
This section might best suit your needs:<br>
<br>
accounting {<br>
  redundant-load-balance {<br>
    sql1<br>
    sql2<br>
  }<br>
  redundant {<br>
    sql_update_xxxx<br>
    ok<br>
  }<br>
  redundant {<br>
    sql_update_yyyy<br>
    ok<br>
  }<br>
}<br>
<br>
that section translates to:<br>
- for every accounting request, it will choose randomly between sql1<br>
and sql2. If both works, they will have equal load. If only one of<br>
them works, accounting can still continue. If both fail, accounting<br>
will fail<br>
- for every accounting request, it will TRY to run sql_update_xxxx and<br>
sql_update_yyyy. Even when both of them fail, accounting will still<br>
work as long as either sql1 or sql2 works.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Fajar<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>
</div></div></blockquote></div><br></div>