We have 2 MS SQL Servers on Dual Pentium Pro's with 512 Megs ram with MS SQL
v6.5 at our NOC.
2 Radius Servers on Sparc 5's at our NOC that handles the pops in its area.
2 Remote Radius Servers on Sparc 5's at another location linked to the NOC
by a DS3
2 Remote Radius Servers on Sparc 5's at another location linked to the NOC
by multiple T-1's
We have approx. 20,000 dialup users spread throughout our coverage area.
Each NAS has a primary a secondary radius server set up for both auth and
accounting and we are using Platypus for our accounting system.
All of our radius.cfg files are as follows...
##### Start Of Configuration File #####
Foreground
LogDir /export/home/radius
LogFile %L/logfile
DbDir /usr/private/etc/plat
include /usr/private/etc/plat/clients
PidFile /usr/private/etc/plat/pid/radiusd.pid
Trace 3
<Realm monkeyspank.net>
PasswordLogFileName %L/password.monkeyspank.net
RewriteUsername s/^([^@]+).*/$1/
RewriteUsername tr/-A-Za-z0-9\.\@//cd
<AuthBy File>
</AuthBy>
</Realm>
<Realm kermantel.net>
PasswordLogFileName %L/password.kermantel
RewriteUsername s/^([^@]+).*/$1/
RewriteUsername tr/-A-Za-z0-9\.\@//cd
<AuthBy KERMANPLAT>
DBSource dbi:Sybase:somehost1
DBUsername someuser
DBAuth somepass
DBSource dbi:Sybase:somehost2
DBUsername someuser
DBAuth somepass
DefaultReply Service-Type=Framed-User,Framed-Protocol=PPP
</AuthBy>
</Realm>
<Realm lightspeed.net>
PasswordLogFileName %L/password.lightspeed
RewriteUsername s/^([^@]+).*/$1/
RewriteUsername tr/-A-Za-z0-9\.\@//cd
<AuthBy PLATTR>
DBSource dbi:Sybase:somehost1
DBUsername someuser
DBAuth somepass
DBSource dbi:Sybase:somehost2
DBUsername someuser
DBAuth somepass
DefaultReply Service-Type=Framed-User,Framed-Protocol=PPP
</AuthBy>
</Realm>
<Realm isdn.lightspeed.net>
PasswordLogFileName %L/password.lightspeed.isdn
RewriteUsername s/^([^@]+).*/$1/
RewriteUsername tr/-A-Za-z0-9\.\@//cd
<AuthBy PLATTR>
DBSource dbi:Sybase:somehost1
DBUsername someuser
DBAuth somepass
DBSource dbi:Sybase:somehost2
DBUsername someuser
DBAuth somepass
DefaultReply Service-Type=Framed-User,Framed-Protocol=PPP
</AuthBy>
</Realm>
<Realm test.lightspeed.net>
PasswordLogFileName %L/test
RewriteUsername s/^([^@]+).*/$1/
RewriteUsername tr/-A-Za-z0-9\.\@//cd
<AuthBy PLATTR>
DBSource dbi:ODBC:somehost1
DBUsername someuser
DBAuth somepass
DBSource dbi:ODBC:somehost2
DBUsername someuser
DBAuth somepass
DefaultReply Service-Type=Framed-User,Framed-Protocol=PPP
</AuthBy>
</Realm>
##### End Of Configuration File #####
The KERMANPLAT, PLATATTR are just minor modified versions of PLATYPUS.
The monkeyspank.net realm is in case the SQL system fails that we have a
users file that we can authenticate from. The final test.lightspeed.net
realm is to test the OpenLink Multi Tiered ODBC drivers. Which I must say
fail miserably under these conditions under any type of load. We are trying
these in hopes that we can upgrade to MS SQL 7.0 as the Sybase CTLib no
longer works for MS SQL 7.0.
The problem is this...
Sometimes during peak hours where there is heavy usage we get some failed
authentication on the user end where Radiator shows successful in the
logfiles. The only thing that I can come up with is that there is some sort
of problem between the SQL servers and Radius. It happens to people at all
locations no matter which radius servers they are in proximity to.
Here is part of a logfile which records the only error's we normally receive
during these periods...
##### Beginning Log Entry #####
Sun Feb 7 08:16:31 1999: ERR: do failed for 'insert into radiusdat
(username, callstart, callend, sessid, userip)
values ('', 'Feb 7, 99 8:16', 'Feb 7, 99 8:16', '267987926',
'')': Server message number=2627 severity=14 state=2 line=1
server=IZANAGI text=Violation of UNIQUE KEY constraint 'UNC_rad_term':
Attempt to insert duplicate key in object 'radiusdat'.Server
message number=3621 severity=0 state=0 line=1 server=IZANAGI text=Command
has been aborted.
Sun Feb 7 08:16:34 1999: ERR: do failed for 'insert into radiusdat
(username, callstart, callend, sessid, userip)
values ('hywood', 'Feb 7, 99 7:22', 'Feb 7, 99 8:16',
'283527688', '209.165.53.56')': Server message number=2627 severit
y=14 state=2 line=1 server=IZANAGI text=Violation of UNIQUE KEY constraint
'UNC_rad_term': Attempt to insert duplicate key in object
'radiusdat'.Server message number=3621 severity=0 state=0 line=1
server=IZANAGI text=Command has been aborted.
##### End Log Entry #####
These happen all of the time. I am not real sure why it happens. It
appears that Radiator try's to enter accounting data multiple times to the
SQL database and it fails due to the unique key constraint. Does this look
like the NAS are impatient and are reporting to both Radius servers do to
slowness in response? What does this mean exactly maybe it will help to
solve why the auth problems take place. These happen way more often during
busy periods.
This message is just to see if anyone has any suggestions that might help.
We are totally open to suggestions at this time. We would really like to
move to SQL 7.0 so if anyone has had luck with heavy usage and OpenLinks
drivers I would like to hear your success stories. We also looked at
Intersolv's SequeLink solution but it is way expensive with this
configuration some where around 28,000.00 dollars to license 6 clients. I
am going to test the drivers to check the speed but from what I have heard
the products are pretty much equal in performance.
Does anyone know if running Intel boxes with NT running Radiator would be a
performance increase? Our System Administrator would not like this solution
as he is way pro Sparc but if it would work that is all that matters at this
point.
Thanks for any and all comments/advise,
Robert Mann
Lightspeed Net
===
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.