Man page - radsqlrelay(8)
Packages contains this manual
- rlm_attr_filter(5)
- radlast(1)
- radwho(1)
- radrelay.conf(5)
- rlm_detail(5)
- rlm_unix(5)
- rad_counter(1)
- radiusd.conf(5)
- rlm_always(5)
- unlang(5)
- radzap(1)
- radcrypt(8)
- rlm_mschap(5)
- rlm_files(5)
- rlm_digest(5)
- rlm_sql(5)
- clients.conf(5)
- dictionary(5)
- radeapclient(1)
- radsqlrelay(8)
- rlm_realm(5)
- raddebug(8)
- rlm_ippool_tool(8)
- radsniff(8)
- radrelay(8)
- rlm_unbound(5)
- radclient(1)
- rlm_chap(5)
- radmin(8)
- rlm_passwd(5)
- rlm_sqlippool_tool(8)
- smbencrypt(1)
- rlm_counter(5)
- rlm_expr(5)
- rlm_idn(5)
- users(5)
- rlm_pap(5)
- radtest(1)
- checkrad(5)
- freeradius(8)
apt-get install freeradius-common
Manual
RADSQLRELAY
NAMESYNOPSIS
DESCRIPTION
OPTIONS
NOTES
Oracle driver
AUTHOR
NAME
radsqlrelay - relay SQL queries to a central database server
SYNOPSIS
radsqlrelay [ -? ] [ -d sql_driver ] [ -b database ] [ -f file ] [ -h host ] [ -u user ] [ -P port ] [ -p password ] [ -1 ] [ -x ] file_path
DESCRIPTION
radsqlrelay tails a SQL logfile and forwards the queries to a database server. Used to replicate accounting records to one (central) database, even if the database has extended downtime.
The SQL logfile is created by the rlm_sql module with the rlm_sql_null driver logging to disk.. The module must be configured in the radiusd server before you can use radsqlrelay .
OPTIONS
|
-? |
Print usage help information. |
-d sql_driver
Driver to use: mysql, pg, oracle.
-b database
Name of the database to use.
-f file
Read password from file, instead of command line.
-h host
Connect to host.
-u user
User for login.
-P port
Port number to use for connection.
-p password
Password to use when connecting to server.
|
-1 |
One-shot mode: push the file to database and exit. |
|||
|
-x |
Turn on debugging. |
file_path
The pathname of the SQL logfile to use.
NOTES
Oracle driver
The command "radsqlrelay -d oracle -b db.domain.tld sql-relay" reads the database description stored in $TNS_ADMIN/tnsnames.ora:
db.domain.tld =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = db.domain.tld)(PORT =
1521))
)
(CONNECT_DATA =
(SERVICE_NAME = <DB SID>)
)
)
AUTHOR
Nicolas Baradakis <nicolas.baradakis@cegetel.net>