User's Guide
Get Adobe Reader |
The following sections describe how to export charging data:
Charging data can be manually exported from the database to a file, or export can be handled automatically through running a scheduled script, or through different levels of integration with billing systems. For more information about billing system integration, see Product Description - BEA WebLogic Network Gatekeeper.
The following instructions describe how export charging data manually or by using a script.
Follow the instruction below to export charging data to a file. When exporting the data from the database, you will also remove the data from the database. The task also includes checking the available disk space. A charging data table with 1.000.000 rows needs approximately 120 MB of free disk space.
bin
directory.mysql
selec
t count(*) from ic_slee_charging;
exit
df -k
The available disk space (in kB) is displayed.
Note: You have to verify that there is enough disk space available on the server before exporting the charging data. A charging data table with 1.000.000 rows needs approximately 120 MB of free disk space.
When using the script, automatic exports of charging data can be triggered through a standard system tool such as cron.
Note: The script must not execute simultaneously on two servers. If executed simultaneously, charging data may be lost.
If the size of the charging data file is very large, a CORBA time-out error may occur in the script. The charging data will be exported to file even if this error occurs.
Before scheduling the script, it must be verified that there will be enough disk space available on the server. A charging data table with 1.000.000 rows needs approximately 120 MB of free disk space.
The script is named db_exportCharging.sh
and located in
/usr/local/slee/bin/.
The script takes the following arguments:
If there already is a file with the given name, the script will terminate without exporting the charging data.
db_exportCharging.sh myUsername myPassword /tmp/chargingdata.txt
db_exportCharging.bat myUsername myPassword c:\tmp\
chargingdata.txt