-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GlusterFS Server Volume Plugin #4
Comments
Conceptually the plugin would be configured to run on a host and have access to the whole Configuration wise it would just be a list of physical XFS formatted logical volumes (aka bricks) available on the node on it's The "seed node" of the pool will have an extra configuration to indicate that it is a seed node. The seed node will will be responsible for creating the gluster volume and manage the bricks. There can be only one seed node in the swarm which poses a single point of failure, so the responsibility should be limited. The seed node is it will monitor system events specifically for any node create/update/remove event. For any new node it will inspect the node and check if it has the glusterfs server volume plugin enabled. If so it will add it to the pool using the IP address in Remove events will remove the bricks from the volumes and remove it from the pool.
|
If there are multiple seed nodes detected then pool and brick registrations are stopped. |
Since Docker only allow updates to Config labels, the labels will contain the actual configuration data keyed against the value of |
The plugin would need to access the |
Great Plugin! I've been looking forward to a glusterfs plugin for docker for some time now 😄 . Is the plugin supported for swarm? I've setup a replicated storage pool over 3 nodes on glusterfs. Then installing/running the plugin on all 3 nodes:
But then when I create the volume, It seems like it does not replicate to the other nodes / or other nodes are aware of the volume?
Or perhaps I'm doing something wrong? |
It works in a swarm but you need to install the plugin on every node. That's a limitation of Docker at the moment. |
Thanks a lot @trajano for the feedback. I'm not sure why I expected the volume should be on every node. (from volume ls) Tried it again, and notice as soon as the task with the configuration spawns up on a node the volume is visible from that node and everything works 100% Absolutely awesome! I thank you for developing this! :D |
The glusterfs-volume-plugin wraps a GlusterFS-Fuse client to connect to a GlusterFS server cluster. Instead of having the managed plugin just be a client use it as the actual GlusterFS server.
This is to track down the concept and high level architecture to see the feasibility of such an endeavor.
The objective of the plugin is to abstract away the brick and volume management while inside the swarm. so there will be limitations to simplify the usage:
host
networking exposing the GlusterFS ports to the rest of the networkThe text was updated successfully, but these errors were encountered: