On startup, if there are other nodes in the cluster the mnesia storage will replicate from the other nodes.
Multiple nodes will then have all records synced between them.
Testing:
Create directories for two mnesia storage locations for example: one and two
Makes mnesia replicate all data between nodes.
On startup, if there are other nodes in the cluster the mnesia storage will replicate from the other nodes.
Multiple nodes will then have all records synced between them.
Testing:
Run the first node:
Run the second node:
Test that both nodes respond with the first node zones.