dogvscat icon indicating copy to clipboard operation
dogvscat copied to clipboard

Make Ghost HA with GlusterFS "shared nothing" option rather then shared storage limitation

Open BretFisher opened this issue 5 years ago • 4 comments

Right now, since Ghost Blog is designed to run on a single-host (a current design limitation) then caching and MTTR are the best ways to keep downtime to a minimum.

For storing content/images and content/data volumes on persistent storage, we're currently using digitalocean block storage with rexray, but a more inclusive option would be shared-nothing storage that's replicated between nodes using the default local volume driver.

I've not yet set this up with GlusterFS but it would be cool to have that running in a global service if possible, replicating a named volume (local driver) between 3 nodes, while the ghost service uses the same named volume on whatever node the task is running on.

BretFisher avatar Aug 31 '18 20:08 BretFisher

For research:

GlusterFS client as docker plugin: https://hub.docker.com/r/trajano/glusterfs-volume-plugin/ server container: https://github.com/gluster/gluster-containers

other blogs: http://embaby.com/blog/using-glusterfs-docker-swarm-cluster/

BretFisher avatar Aug 31 '18 20:08 BretFisher

At the moment I use Resilio over 3 services (one per nodes). I'll be glad to share if you need it.

I'm very curious to experiment with GlusterFS as well.

pascalandy avatar Mar 07 '19 19:03 pascalandy

Share away!

BretFisher avatar Mar 08 '19 20:03 BretFisher

There you have it! https://firepress.org/en/container-as-an-external-hard-drive/

pascalandy avatar Mar 09 '19 15:03 pascalandy