Configuration [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:dpi:dpi_components:mediaserver:cache_config:start [2020/02/06 14:22] edrudichgmailcomen:dpi:dpi_components:mediaserver:cache_config:start [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== 3 Configuration ====== 
-{{indexmenu_n>3}} 
-The Clickstream((Clickstream - detailed information on browsing internet resources by the user)) information must 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: 
-<code bash> 
-cache_server=192.168.0.1 
-ipfix_dev=eth2 
-ipfix_udp_collectors=172.31.155.95:1500 
-ipfix_observation=127 
-dbg_log_mask=0x80 
-</code> 
-Here  
-  * cache_server is the address or the name of media server that sends a content to subscribers 
-  * ipfix_dev is the name of network interface that supports Clickstream data transmission in ipfix format 
-  * 172.31.155.95:1500 is the address and the port of ipfix collector on media server. 
- 
-Data uploading and cache control are handled by ccu (Cache Control Utility). 
- 
-The command description for this utility is available via its 'help' command: 
- 
-<code> 
-ccu help 
-</code> 
- 
-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 auto uploading service to file storage on media server: 
-<code>   
-ccu online --conf /var/cache/nginx/cs/.cs/cs.conf  --daemon 
-</code> 
- 
-To stop auto uploading service: 
-<code>   
-ccu stop --conf /var/cache/nginx/cs/.cs/cs.conf 
-</code> 
- 
-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 stat statitics service: 
-<code>   
-ccu monitor --conf /var/cache/nginx/cs/.cs/cs.conf  --daemon 
-</code> 
- 
-To stop statistics service: 
-<code>   
-ccu monitor --conf /var/cache/nginx/cs/.cs/cs.conf  --stop 
-</code> 
- 
-To restart file distribution service after upgrade: 
-<code> 
-service nginx restart 
-</code> 
- 
-Execution of most of commands is logged into log files located in /var/cache/nginx/cs/.cs/logs. /var/cache/nginx/cs/.cs/logs. 
- 
-Media server's log files are stored in /var/log/nginx.