Configuration

The Clickstream1) information has to be made available on DPI for media server for its correct operation. Please add the following settings to DPI configuration file /etc/dpi/fastdpi.conf:

cache_server=192.168.0.1
ipfix_dev=eth2
ipfix_udp_collectors=172.31.155.95:1500
ipfix_observation=127
dbg_log_mask=0x80

Here

Data uploading and cache control are handled by ccu (Cache Control Utility).

The command description for this utility is available via its 'help' command:

ccu help

Uploading of video files to media server's storage is performed automatically, based on settings in configuration file /var/cache/nginx/cs/.cs/cs.conf and Clickstream information received from DPI.

To start automatic uploading service to file storage on the media server:

service ccuo start

To stop automatic uploading service:

service ccuo stop

The WEB interface on http://cache_server:8000/cs.html allows to check cache statistics. Here cache_server is ip address or the name of media server.

To start statitics service:

service ccum start

To stop statitics service:

service ccum stop

To restart file distribution service after upgrade:

service nginx restart

Execution of most of commands is logged into log files located in /var/log/ccu.

Media server's log files are stored in /var/log/nginx.

1)
Clickstream - detailed information on browsing internet resources by the user