Power Down Procedure
Hi,
we are working on an application based on the AXC F 1152 that will be deployed as a docker container consisting of the application and a database.
We are worried about data loss and data corruption as we didn't find any information about how to properly shut down the device or what happens in case of a power loss.
There seems to be a UPS battery installed, does the device terminates running containers properly allowing them to flush files to the storage when the power disconnects?
we are working on an application based on the AXC F 1152 that will be deployed as a docker container consisting of the application and a database.
We are worried about data loss and data corruption as we didn't find any information about how to properly shut down the device or what happens in case of a power loss.
There seems to be a UPS battery installed, does the device terminates running containers properly allowing them to flush files to the storage when the power disconnects?
Comments
The expected behaviour of containers on the PLC during this event would be similar to the behaviour on a desktop PC running a Linux OS, when the power is removed.
If an orderly shutdown is required, it would be necessary to add your own UPS (Phoenix Contact does some nice ones ;-), and handle a signal from that UPS to do an orderly shutdown of your container(s) when input power to the UPS is lost.
Have You heard of issues with corrupt file systems using Docker so far? Our use case involves a AXC F 1152 inside a control cabinet of a machine that usually is just powered off without proper shut down.
Can a shut down of the AXC F 1152 been triggered from within the PLC?
If you were using an AXC F 3152, you might be able to pick up the same signal to do an orderly shutdown of your application(s).
Or, if you are using an external UPS, you can get a signal from the UPS to trigger a shutdown of your application(s).
It is also possible to use the standard Linux "shutdown" command, if you want. Since the device does not have an on/off power switch, it will automatically restart after the shutdown, which might not be what you want.