Cisco Cisco Packet Data Gateway (PDG) Documentation Roadmaps

Seite von 1034
GTPP Storage Server Overview   
▀  How the GSS Works 
 
▄  Cisco ASR 5000 Series Product Overview 
OL-22937-01   
How the GSS Works 
The GSS and the GSS FileGen utility need to be configured to archive incoming records and export them to CDR files. 
The GSS generates the CDR files with a customer specific format. These generated CDR files can then be pulled (via 
FTP or SFTP) and used by the carrier‘s billing system. 
The following describes how the GSS interoperates with a GSN: 
1.  Once the CDRs are generated, the GSN creates a transid (transaction ID, a unique 4 Byte running counter 
between GSN and GSS), and sends the set of the generated CDRs along with this transid and a STORE request 
to the GSS through AAA Proxy (GSN) on a proprietary interface (based on UDP).
2.  On receipt of the set of CDRs and the transid, the GSS stores them in the Postgres database and sends ACK 
response to the GSN.
3.  The GSS FileGen utility retrieves records from the database and generates CDR files. As explained in 
  section, these CDR files have vendor specific extensions and formatting for the 
billing system to use.
To generate a CDR file, the FileGen utility performs the following tasks:
 
It starts writing a raw file in /<GSS_install_dir>/data directory with name tmp. 
 
Based on the CDR counts per file or the file life expiry, it saves the target file with .u extension using 
the specified file naming format. 
Once the files are generated, then the files with .u extensions in the /<GSS_install_dir>/data directory can be 
pulled by a billing system for the processing of the charging details.
Depending upon the billing system, after processing the files pulled by the billing system can be stored with .p 
extension. The processed files with .p extensions can then be removed by the Clean-up script based on the 
Maximum Storage Period for generated/processed data files.
4.  All records written to the CDR file are deleted immediately from the database, without consideration of the 
configured archive period on the GSS.
5.  If CDRs are not written to CDR files using the GSS FileGen, then all CDRs in the database are kept for a pre-
defined period of time (typically not more than 7 days). After the period expires, the GSS Clean-up utility 
(cleanup.sh) deletes them.