Руководство Администратора для Cisco Cisco Packet Data Gateway (PDG)
HDD Storage
▀ How HDD Works
▄ Cisco ASR 5x00 GTPP Interface Administration and Reference
398
CDR Streaming via GTPP
HDD is used to store CDRs when CGF fails and then CDRs are streamed to the CGF when CGF is up. Streaming can be
done in a First-In-First-Out (FIFO). In FIFO mode, newly generated CDRs are routed to CGF via HDD.
done in a First-In-First-Out (FIFO). In FIFO mode, newly generated CDRs are routed to CGF via HDD.
With streaming mode enabled, CDRs are written to HDD when the OCG connectivity is down. Once the OCG
connectivity is up, the HDD contents are sent in a FIFO order. New records should be written to disk as long as all
contents from disk are not fully flushed. If the disk is completely flushed, the records can be sent to OCG directly.
connectivity is up, the HDD contents are sent in a FIFO order. New records should be written to disk as long as all
contents from disk are not fully flushed. If the disk is completely flushed, the records can be sent to OCG directly.
In the current implementation, during streaming, GTPP requests are read from HDD and sent to CGF server, till
configured max outstanding is reached.
configured max outstanding is reached.
CDR Streaming Workflow
This section describes the streaming behavior in Streaming (FIFO) and Parallel mode.
CGF is reachable, No files in HDD:
FIFO: newly generated CDRs will be sent to CGF server.
Parallel: newly generated CDRs will be sent to CGF server.
CGF server is not reachable:
FIFO: newly generated CDRs will be stored to HDD.
Parallel: newly generated CDRs will be stored to HDD
CGF is not reachable, HDD has less than 3 files, Now CGF becomes active:
FIFO: AAAMgr is blocked from sending new CDRs. GTPP requests in HDD are first streamed out to CGF
server. After all requests in HDD are flushed, start sending new CDRs to CGF.
server. After all requests in HDD are flushed, start sending new CDRs to CGF.
Parallel: Same behavior as in FIFO mode.
CGF is not reachable, HDD has 3 or more CDR files, Now CGF becomes active:
FIFO: GTPP requests in HDD are streamed to CGF server. Newly generated CDRs will be stored in HDD and
then sent to CGF
then sent to CGF
Parallel: GTPP requests in HDD are streamed to CGF server at a slower pace. Newly generated CDRs will be
sent directly to CGF server.
sent directly to CGF server.
Assumptions / Limitations
The rate of streaming from HDD would be slower in parallel mode.
Billing domain should be capable of handling Out-Of-Order CDRs in parallel streaming mode.