I’m an Erlang developer. Erlang has a batteries-included distributed transactional database called mnesia. Through configuration, mnesia can be placed in any directory. It can be replicated across hardware nodes on the same network given a shared port number and secret.
I’d like to experiment with distributed Erlang in LXC containers. But, among other things, I don’t understand what happens to data stored in a directory when an LXC container is migrated to another node.
– Does all the data in an LXC directory go along for the ride?
– If not, what must be done to move the data to the new node?