Previously we have worked with the ClusterHQ team to create demos of database migration.  These demos uses flocker for data volume replication and weave to maintain network integrity as the application changes eg during a failover event.

Recently Kai Davenport from ClusterHQ, and author of powerstrip-weave, went one step further and introduced docker swarm into the mix.  What swarm is doing here is scheduling the database migration by scheduling the containers.

Please read his blog post as it provides detailed step by step instructions on how to set up this new example.