Running Visionect Software Suite in production

Log aggregation

The Visionect Software Suite supports log redirection. To enable this feature, three additional parameters are required when running the Visionect Software Suite container.

Check out quick start before running command.

The example below uses fluentd for log aggregation.

# run docker container with logging redirection
docker run --privileged --cap-add=MKNOD --cap-add SYS_ADMIN -v /dev/shm:/dev/shm --device /dev/fuse -d --restart=always -p 8081:8081 -p 11112:11112 -p 11113:11113 --link vserver_postgres:db2_1 --log-driver=fluentd --log-opt fluentd-address={IP of a log driver}:24224 -e "VISIONECT_SERVER_LOGS_TO_STDOUT=1" --volumes-from vdata --name vserver visionect/visionect-server-v3

Additional parameters explanation:

# sets fluentd as log driver
# sets fluentd address where logs are forwarded
--log-opt fluentd-address={IP of a log driver}:24224
# flag to enable log aggregation