WCS server to backend server connection setup
To enable metric values sending 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)
WCS interaction with backend server tuning
A metric values to send to backend server are written to ring buffer in memory. This buffer size is set in kilobytes with the following poarameter
wcsoam_buffer_size=20000
A data are sent to backend server in chunks, the chunk size is 64 kilobytes by default and can be changes with the following parameter
wcsoam_chunk_size=64
Backend server connection tries interval is set in milliseconds with the following parameter
wcsoam_reconnect_interval=5000