-
Notifications
You must be signed in to change notification settings - Fork 82
Support volfile generation for Thin Arbiter volume type #655
Comments
Sent patch to support this feature in Volfile. #673 Assumptions:
To test the Volfile generation,
Generated Client Volfile will have Thin arbiter details in it. Let us know if any changes required in the behavior. |
*cc @aspandey |
Noticed that patch does handle one thing more than what is described:
It handles other comment is about name. I vote for 'tie-breaker' as the name of client protocol. |
@aravindavk I have used thin-arbiter as a string option in https://review.gluster.org/#/c/19835/7/xlators/cluster/afr/src/afr.c@1120 I saw that running |
Any errors? Glusterd2 loads all the list of options to validate from *.so files. Is the above mentioned xlator option available in the installed glusterfs? |
@aravindavk It will be good to have a single command to create the thin arbiter volume instead of the 2 step process of {creating replica 2 + doing a volume set }. So something like |
In Glusterd2, Option can be set during Volume Create itself.
Above format adds confusion if we have more than one sub volume. I suggest the following format
|
I see two |
For all afr options, we don't use either. The way it works currently is |
Volfile support and CLI support is available. |
More on what is thin arbiter @ gluster/glusterfs#352
What support is needed by glusterd2
Support in volume set
User would give the details of tie-breaker for the whole cluster (this is current MVP), there may be an RFE for per volume tie-breaker. That is future.
glustercli volume set all global.tie-breaker <IP>:<port>://<brick> (or similar).
support in volfile generation
glustercli volume create dr-ta-vol replica 2 <brick0> <brick1> <brick2> <brick3> --type thin-arbiter
This would generate the volfile of just 4 bricks, and a client volfile which looks like below
For the initial version the requirement is this. This issue would be enhanced if there are more requirements.
@aspandey @itisravi @karthik-us @pranithk
The text was updated successfully, but these errors were encountered: