This document provides instructions on how to serve a GlusterFS volume across multiple Minio instances. There are no special configuration changes required to enable this feature. Access to files stored on GlusterFS volume are locked and synchronized by default.
Visit here to download binary for your operating system.
Assuming you have GlusterFS servers running and configured proceed to mount GlusterFS volume at your preferred <mount_point>
mount -t glusterfs <glusterfs_server>:<glusterfs_volume> <mount_point>
Run the following commands on all the servers where GlusterFS volume is mounted and accessible. By explicitly passing access and secret keys through the environment variable you make sure that all the minio servers share the same access credentials.
export MINIO_ACCESS_KEY=my-username
export MINIO_SECRET_KEY=my-password
minio gateway nas /mnt/glusterfs
To run multiple Minio servers on the same node on shared GlusterFS volume.
export MINIO_ACCESS_KEY=my-username
export MINIO_SECRET_KEY=my-password
minio gateway nas --address ":9001" /mnt/glusterfs
export MINIO_ACCESS_KEY=my-username
export MINIO_SECRET_KEY=my-password
minio gateway nas --address ":9002" /mnt/glusterfs
@go-udy I'm using three glusterfs nodes and two standalone minio server with docker + nginx as reverse proxy, everything works fine until now. Did you have any problem after this comment?