Share

Maintenance mode

Warning:

Local installations of Flow Production Tracking are no longer offered. This documentation is intended only for those with existing instances of Flow Production Tracking Enterprise Docker. Click here for a list of our current offerings.

Application container

The Flow Production Tracking application container can be put in maintenance mode. The maintenance mode allows you to ensure no operation is done on the database while maintenance is performed on the container. It also allows you to inform your user that maintenance is under way.

To enter maintenance mode:

 docker-compose exec app sg_maintenance_page --enable <duration> "<details>" 

To get out of maintenance mode:

 docker-compose exec app sg_maintenance_page --disable 

The duration (in minute) and details will be displayed on the maintenance page.

Proxy container

The Flow Production Tracking application proxy container, if used, can be put into maintenance mode. The maintenance mode allows you to ensure no traffic is sent to the application container while maintenance is performed on the container. It also allows you to inform your user that maintenance is under way.

To enter maintenance mode:

 echo "disable server app_containers_http/app1" | docker exec -i production_proxy_1 socat /tmp/admin.sock stdio 

To get out of maintenance mode:

 echo "enable server app_containers_http/app1" | docker exec -i production_proxy_1 socat /tmp/admin.sock stdio 

Was this information helpful?