WCS server to backend server connection setup
To enable sending of metric values to backend server, the following parameter in flashphoner.propetries file should be set
stats=true
To configure WCS to backend server connection, the following parameters in flashphoner.propetries file should be set
wcsoam_ip=192.168.1.5 wcsoam_port=7777 wcsoam_sha_salt=123456789
Where
- wcsoam_ip - backend server address
- wcsoam_port - backend server port (7777 by default)
- wcsoam_sha_salt - authentication key (should be the same as in backend server settings)
Tuning of WCS interaction with backend server
Metric values to send to backend server are written to ring buffer in memory. This buffer size is set in kilobytes with the following parameter
wcsoam_buffer_size=20000
Data are sent to backend server in chunks; the chunk size is 64 kilobytes by default and can be changed with the following parameter
wcsoam_chunk_size=64
Backend server connection attempts interval is set in milliseconds with the following parameter
wcsoam_reconnect_interval=5000